Memory Game

This is a little project I did during the Easter vacation and the first few days of Easter term 2007. My DoS had, jokingly, told us "write me a little strategy game" in Java as an exercise for the vacation. So off I went - I decided to implement the game of Pairs/Memory in Java, which I thought would be quite easy. It turned out to be a bit more complex than I thought, but it also proved to be a lot of fun and a source of endless distraction.
The implementation is quite straightforward and aims to make good use of object orientation, inheritance, generics and other central Java features. There certainly is room for improvement, but this is only a quick little project to teach myself Java, so don't be too harsh.

Anyone interested is welcome to take the code and mess around with it, let me know if you manage to spectacularly improve it (for example, the computer AI is way too strong at the moment).

You can download the code as a ZIP archive (including class files) or a runnable JAR file.

Last modified on 28.07.2007, 15:16 by Malte. So far, this page has received 726 hits (since 26/12/2006).
Valid XHTML Valid CSS
All content © 2006-2013 by Malte Schwarzkopf