Pygame Racing Car is a beginner-friendly open source project on GitHub aimed at improving the Pygame-based racing car game. This repository welcomes contributions from anyone interested in enhancing the game's features and functionality.
I refactored a lot of the code, put the code into a Game class for better readability, removed some unnecessary comments, improved the reading and writing of scores system, added a clock to have a constant FPS, improved some colors of texts, made a variable called game_state for transitioning from game states (like main game, game over...), etc.
I refactored a lot of the code, put the code into a Game class for better readability, removed some unnecessary comments, improved the reading and writing of scores system, added a clock to have a constant FPS, improved some colors of texts, made a variable called game_state for transitioning from game states (like main game, game over...), etc.