Game Design and Development as Mathematical Activities: Proposing a Framework