Commit Graph

4 Commits

Author SHA1 Message Date
Pradana AUMARS 20a2065f47 Revert "Revert "Added posX constants of ball and racket to pong struct""
This reverts commit 40a904e100.
2021-06-28 16:02:55 +02:00
Pradana AUMARS 40a904e100 Revert "Added posX constants of ball and racket to pong struct"
This reverts commit 0462b187b4.
2021-06-28 16:02:26 +02:00
Pradana AUMARS 0462b187b4 Added posX constants of ball and racket to pong struct 2021-06-28 15:13:57 +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