Tic Tac Toe The Return is a simple graphic game written in Java. It is a port of mptris to the Java platform. mptris is a text-mode tic-tac-toe game written in C language. I wrote both to get some confidence with the programming languages. In the Download section (Files) you can also find the sources of the Windows Phone 8 port and of the ancient console mode versions.
For more informations see: http://mptris.sourceforge.net