Commit Graph

7 Commits

Author SHA1 Message Date
Pradana AUMARS f893c57598 Compartementalised text rendering of score struct 2021-06-29 16:20:40 +02:00
Pradana AUMARS 9a069cfa84 Pong now uses installed fonts using fontconfig 2021-06-29 15:07:19 +02:00
Pradana AUMARS 45df3ec812 Score is now displayed on the window
* Added Score structure
* Added Liberation Mono Bold font in src/assets/
* Racket structure has Score member
* General cleanup and improvements
* BUG: font_path string is dependent on where the binary is run
2021-06-28 21:37:34 +02:00
Pradana AUMARS 4ac1d84ef6 Introduce TTF library 2021-06-28 21:34:48 +02:00
Pradana AUMARS a70d61ca52 Add random ball velocity vector direction in a given angle 2021-06-28 14:00:57 +02:00
Pradana AUMARS d96d7485e5 Add header files to Automake instructions 2021-06-27 16:56:02 +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