Cero: Play Cards from your Terminal

Untitled

Anyone who remembers how to play a certain family card game named the Spanish word for “one” will enjoy my hacky version that I posted a few years ago to GitHub.

The goal of Cero is for player one (you) to discard as many cards as you can, while player two (the computer) uses a set of algorithms to do the same. More often than not you’ll win. But every now and then the computer will dominate — and it taunts.

WOW — ARE YOU THE BEST HUMANITY COULD COME UP WITH?

DOES YOUR MOMMY KNOW YOU’RE PLAYING WITH HER COMPUTER?

YOU SUCK HARDER THAN THE VACUUM TUBES OF MY PREDECESSORS.

…and so on.

Installation instructions are on the project’s README, all the way down to how to install Java on a Mac or Windows machine.

(BTW this is the perfect game to play at work if you’re stuck in a long meeting and want to look busy.)

Enjoy!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s