use W,S to move player 1, arrow keys to move player 2, first to 10 points wins click green flag twice or scores will not reset type AI to play vs computer and 2 players for 2 players.
a little help from @CodingWithChris rest of the coding is by me