typescript version of the game