add point, end game and game generator working