TraffiCode is a PC game designed to give players a chance to practice the basic concepts of driving in a smaller, simpler and safer environment, and provide relevant feedback about their performance.
Some of the things TraffiCode aims to do for you:
- Give you a new, less intimidating, top-down perspective about what urban driving looks like ๐
- Help you get better at dividing your attention between the inside of your car and the outside world ๐
- Encourage you to master safely merging into traffic with random cars and crossing pedestrians getting in your way ๐ ๐ซ
- Challenge you with 10 different levels of increasing difficulty to keep you in driving shape ๐ช ๐
- Allow you to give up on rules entirely and just smash into things whenever you feel like it!
(Because traffic jams are exhausting and driving GTA-style is definitely more fun and less paperwork when it's all virtual, so why the heck not?) ๐ - But hopefully, drive you to be a better, safer (smarter!) driver and follow more traffic codes! ๐ โค๏ธ
- Player is the red car, some of the buttons were clicked using the keyboard shortcuts
demo.vid.1.mp4
-
"Really nice game... I loved that you named the streets, it makes it feel more real... It's nice that you can see your score while you play... It highlights some of the things you have to be careful of when out on the road... very impressive."
-
"Very fun to play even though it was hard."
-
"Cute, light... good job with all the new features and fixes! I liked the houses and the back story."
-
"...A great version... You built an interesting, cute and fun game."
-
"Well done, so much effort! I loved how the game felt intuitive... The sound effects you added really added to the driving experience, and the pedestrians and crossing cars felt very real. Great practice!"
- Download the code from this repository to your computer as a ZIP folder here
- Extract the files
- Double click on
main.exe- and the game should open, simple as that, no installations needed.
Since my machine runs Windows, I was not able to generate a one-click, plug-and-play version for you guys. I apologize but in order for you to play, you will have to take the scenic route reserved for those with more technological know-how:
- Make sure you have Python and Pygame installed (
pip install โฆ) - Clone this repository
- Run main.py
๐ฉ For any questions, check out How to Play and Known Issues.
For more details about how to play and the process of developing the game,
check out the game's Wiki ๐๐.
The first players who have finished the game and provided me with my own relevant feedback shall forever be rewarded with my gratitude,
as well as eternal digital glory in the TraffiCode Hall of Fame! ๐๐
I am grateful to everyone who drove me to become a better driver myself, as well as a better software engineer.
HUGE thank you to the amazing #TechWithTim for the insightful videos introducing and un-complicating Pygame, and for being such an inspiration! ๐กโญ