Einar Egilsson

Idiot cardgame for Facebook

Posted: Last updated:

A couple of years ago I created a simple javascript version of the cardgame Idiot. It was very simple, no animation, tracking of scores or anything like that. Still, it got a few users, and there was some activity on it every day. A few months ago I wanted to learn some new technologies. I wanted to try Google App Engine, learn more about jQuery and try creating a Facebook app. So, I decided to use Idiot as a test project and create a better version of the game.

I worked on it on and off for months. No pressure to finish since it was just a hobby project. And finally, on November 18th I launched the new version at https://cardgames.io/idiot/ and at http://apps.facebook.com/idiot-cardgame/ to play it within Facebook itself.

UPDATE 24.05.2011: Because the game is better known under the name Shithead I bought a new domain for that, shithead-cardgame.com. Unfortunately both Facebook and Google App Engine were unhappy with a domain with profanity in the title so I forked the code and made a simple anonymous version that's not a Facebook app. Go there to play shithead card game online.

The new game has animated playing of cards, shows your avatars and tracks statistics. You can also choose cardbacks and cardfronts, animation speed and some other options, and there is a High scores page which shows the 10 best players.

Now, 6 weeks after launch it has about 250 registered Facebook users plus a lot of anonymous users. I wanted to allow anonymous play as well instead of forcing everyone to give their Facebook credentials. However, tracking of statistics and saving preferences requires Facebook registration. There are around 6-700 games played every day and the computer player wins around 45-50% of them.

All in all I'm happy with the game. I've been adding a few small features and fixing bugs since launch. The next major feature I'm planning is the ability to play against your friends. The newest App Engine SDK includes support for Comet style connections which would make this a lot easier than it was a few months ago.

Finally, some lessons learned:


If you read this far you should probably follow me on Twitter or check out my other blog posts. I no longer have comments on this blog, but you can send me an email if you have some comments about this page.