adding game code