GoCart
Friday, April 25th, 2008 | Programs
For more including Author's Notes download the eBook pages with this program's code listing.
On your mark, get set, GO! Zoom around the track as you try to beat your best time.
Use the following keys to control your car:
Arrow Keys … Move
] … Speed Up
[ … Slow Down
If you crash not only will you lose control of your car and lose valuable time, your acceleration will drop.
Make sure you have added the curses library to your compiler before trying this program.

2 Comments to GoCart
Now, I’ve recently been very interested in how to create real-time ASCII games. Not having played this (yet), is this one?
September 7, 2008
Yes it is.
Just to be sure, because I somehow think it’s missed sometimes, but there is a executable you can play precompiled for Windows. Just click on the .EXE button or the text that reads “click here to play GoCart.”
Alleytris is also a real time ASCII game, however Alleytris, unlike this one, needs be potentially quicker on the draw so it creates a input loop that is less desirable since it eats up 100% CPU. This one, on the other hand, only processes input after the pause that generates the animation. Give it a try. I think you’ll like it.
Leave a comment
Subscribe
Support Cymon's Games
Recent Comments
- Bill on Numbrix
- Joe on Should I do tutorials?
- Alan Monroe on Should I do tutorials?
- Alan Monroe on Should I do tutorials?
- Peter on StarTrek
- Joe on Others Teaching Programming
- Devin Watson on Others Teaching Programming
- Joe on Programming Math
















September 7, 2008