Commit Graph

6 Commits

Author SHA1 Message Date
Pradana AUMARS 54ecb1f828 'Press any key' message functionality is moved to pong struct.
NOTE: Last commit was sent by mistake, it is part of this one
2021-06-29 16:24:06 +02:00
Pradana AUMARS 4ac1d84ef6 Introduce TTF library 2021-06-28 21:34:48 +02:00
Pradana AUMARS ebdcba9afb Continue main loop only if p is non-null 2021-06-28 16:13:48 +02:00
Pradana AUMARS c56480a33b Initialise variable 'start' at the beginning 2021-06-28 13:43:41 +02:00
Pradana AUMARS 4efe0c2365 Add 'Press any key to start...' introductory message 2021-06-27 17:19:17 +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