Tuck Tick Tuk Game

Another student project, this one is a game based on simple game logic. When it’s time comes up it checks all available places to put a X, and selects the place that does the most damage to the user, for example if the user has 2 Os in a row, the other place free in the same row gets the highest score and because of that it selects that point and makes the user’s plans futile. Even though I didn’t intend to specially code up an AI for it supporting double chances and all, it does use double chances an awful lot. And the only way a user is going to win this game is by through a double chance, that’s it other than that he/she’ll only get a draw at best. It’s not that the game is ignorant, it’s just that we don’t score every possible decision and select the best one in our heads, it does that well.

The interface is done in wxPython 2.8 so you might need to install it.
Download Windows binary package
Download the python source

If an error comes up saying you need to reinstall the program or something similar, download and install this.
http://www.microsoft.com/downloads/en/details.aspx?familyid=9B2DA534-3E03-4391-8A4D-074B9F2BC1BF&displaylang=en

Advertisements

Iterative search for Quodlibet

Before

After

I’ve been working on some Quodlibet code recently, and here’s the patch. And for people who don’t know how to patch, here’s my version(patched) of search.py; you should put it in quodlibet/browsers (you should replace the existing one). I’m not going to explain it more since the above images speak for themselves. This will be much useful for those who have Portable MP3 Players, who need to copy some number of GBs of their favorite songs at the moment. QL’s already existing impressive search only lacked an iterative list, and I implemented it! Feels good!

PS: I developed a Pidgin IM status updater for Quodlibet too(most of the credit should go to the Pidgin Wiki contributors). Add this file to your /home/username/.quodlibet/plugins directory