Publish check : game completion 60%
DESCRIPTION The game: Squash Rally, is a 2-player game intended to be developed as a two-dimensional version of the racket-sport Squash.
- There is one racket on the screen that can be controlled by the joystick on the Gamepad - movement is restricted to the what would be the serving area on an actual squash court. The racket can move in all directions as dictated by the joystick.
- This is a "Rally" version of the game, so every hit on the ball by a racket is counted as one point to the player in play. The first player to score is always numbered as player 1 - the score will not start counting unless a point is scored by hitting the ball and increase in the player 1's score.
- Missing the ball (letting the ball go behind the serving wall) will not cause a penalty to the player score, but will cause a switch over to the opponent.
- This way, the first player to reach 11 points (rallies) will be the winner.
GAMEPLAY
- Press Start on the initial screen.
- Move the racket with the joystick and try to prevent the ball from hitting the right side of the screen (which translates to the out-of-bounds area in the game and defines "missing" a shot).
- Notice that every hit (rally) increases the player's score.
- If a player misses, the opponent player switches in.
- Once a player reaches 11 points in the game, an ending screen declares the winner.
- Press reset to play the game again repeat the entire sequence.
Revisions of SquashLogic.h
Revision | Date | Message | Actions |
---|---|---|---|
0:0172de3db301 | 2020-05-18 | main game construction halfway complete; | File Diff Annotate |