game.ts edited