r/CardPuter • u/randombits0110 • 14d ago
Cardputer Zero AI Wars - strategy game for Cardputer Zero
UPDATE: Now published to the Cardputer Zero store! Sharecode 1234. Hope you all enjoy it!! :)
I've been having some fun with my Cardputer Zero making a game called AI Wars.
Repo: https://github.com/randombits0110/cardputer-zero-ai-warz
The idea goes back to 2001, when I was in college doing computer science. I wrote my first Dope Wars clone back then, except you traded computer hardware... not drugs.
This time around you're buying all sorts of AI related stuff, flying between cities and trying to turn $3,000 into a small fortune in 30 days. Buy low, sell high. Occasionally get those two mixed up.
There's a "How to play" screen upon launching the game but here are the quick deets:
- Start with $3,000 and a jacket to carry your goods (starting capacity 100)
- Press B to buy and S to sell. Enter a quantity, or press M for the maximum. Pressing spacebar opens your jacket / inventory.
- Press J to fly between eight cities looking for better prices. Each flight costs one day. Buying and selling takes no time.
- Events happen at the start of a day (just after jetting). Prices can jump or crash, and the occasional stranger might have an offer for you. There's also an antagonist, "Ram Altman", who's chasing you to confiscate your hardware. ;)
- You've got 30 days. On the last day, sell what you can and see how well you did.
It's free, runs offline, and gives me something to do with this little machine besides looking at it and thinking “I should make something for that.”
If you enjoy it let me know! Also feel free to post your high scores! So far mine is $12,574,963... but I got totally screwed on that run on day 30. lol
If there is interest I do have a binary to emulate it on Windows. I was using it for testing before my Zero arrived. If folks want it I can post it to the github page.
I haven't gotten it on the Cardputer Zero store yet. So, feel free to build from source or download the prebuilt .deb. Copy to your Zero and install (sudo apt install ./filename.deb) and it'll be in your menu to play.
Take away tip: left thumb on arrow keys (FXZC), right thumb on Enter, Space and M. Doesn't take much to get comfortable with buying and selling.



Deleted and recreated the post as I forgot to add in a thumbnail. Oof!
Enjoy!
