Use python3 game.py
-
There are 2 players in the game
-
There are two kinds of obstacles, moving and fixed.
-
Keys for Player1:
- up_arrowkey -> up
- down_arrowkey -> down
- left_arrowkey -> left
- right_arrowkey -> right
-
Keys for Player2:
- w-key -> up
- s-key -> down
- a-key -> left
- d-key -> right
-
As player crosses moving obstacle successfully, accrues 10 points and for crossing fixed obstacles 5 points.
-
Press key_x to see the score and check who won.