Skip to content

A two-player game with multiple levels with the objective of making your player cross the river without hitting any obstacles.

Notifications You must be signed in to change notification settings

Kira49/RiverCrossing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ABOUT: Playing arena consists of a river with some partitions in it. There are 2 players in the game, one at Top and another at Bottom (2 sides of the river bank). A player is safe when it is standing on a partition/slab. There are two kinds of obstacles, moving and fixed. The player starts from the ‘START’ partition and must reach the ‘END’ position for player 1 and the ‘END’ becomes ‘START’, ‘START’ becomes ‘END’ for Player 2. The moving obstacles move from left to right. The player can move up, down, left and right. Player dies once he/she touches any obstacle. As player crosses moving obstacle successfully, accrues 10 points and for crossing fixed obstacles 5 points. Only one player is playing at a given point of time. Your aim is to make players reach the other end of the river. The player wins the game based on (a) Time taken to cross (b) Points accrued while crossing obstacles

INSTRUCTIONS: start the game as player 1 from the bottom. each arrow key (left,right,up,down) moves player 1 step in the direction for each get_pressed avoid all obstacles (stones and boats) if player1 reaches the other side or hits an obstacle, start as player 2 from top player with higest score wins if scores are tied, player who took less time wins

About

A two-player game with multiple levels with the objective of making your player cross the river without hitting any obstacles.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages