Commit Graph

6 Commits

Author SHA1 Message Date
Pradana AUMARS c8bd082866 All const members are now static const in their header files 2021-06-29 01:25:08 +02:00
Pradana AUMARS 5b18911111 Added ANGLE_MIN_OFFSET and ANGLE_MAX_OFFSET 2021-06-28 16:04:41 +02:00
Pradana AUMARS 5ced7d7ade Revert "Added ANGLE_MIN_OFFSET and ANGLE_MAX_OFFSET"
This reverts commit 30fc668684.
2021-06-28 16:03:17 +02:00
Pradana AUMARS 30fc668684 Added ANGLE_MIN_OFFSET and ANGLE_MAX_OFFSET 2021-06-28 16:01:49 +02:00
Pradana AUMARS c5e8473d79 Set ball starting position next to the rackets 2021-06-28 15:09:39 +02:00
Pradana AUMARS e10599f19a First implementation of Pong
* Movement of ball and rackets are correct
* Score is recorded and displayed on terminal, not on the window
* Ball is represented as a square and not a disc
* Window is fixed and not scalable
* Player controls are E-D (up-down) for Left, I-K (up-down) for Right
* Ball reset parameters are fixed (except for direction)
2021-06-27 16:41:52 +02:00