TicTacToe 0.5 is now out! weepeeeeeeeeee!!
Woot! after so long I sat again and continued to work on TicTacToe. This time I wanted to give it more polish on the single player side! I’m not sure if I have talked about it before, but TicTacToe has now a single player mode (which is unfortunately a little bit inefficient on cpu, but works well). So, I was 4-1 behind from computer, and it kept winning.
Here is the source package, download it and enjoy!
http://code.google.com/p/onlinetictactoe/downloads/list
and well, the latest changes are always in SVN repo:
http://code.google.com/p/onlinetictactoe/source/checkout
Tic-Tac-Toe 0.2 released
right after I released the 0.1 version, I discovered some (major?) bugs in networking. So here’s the fix pushed into a new version. The 0.2 revision uses a different way of connecting to the host computer.
And the download link:
http://code.google.com/p/onlinetictactoe
(the link itself is on the right pane, the green section)
P.S. just to keep records: 1778 lines of code in 15 files
Tic-Tac-Toe 0.1 released
Last night I squashed some little bugs here and there (including the one I mentioned in the previous post) and just an hour ago I added a player checking feature, that is when you are playing online with someone else, and if you are player X, you can’t put O on the board, BUT you have to wait till the other person finishes his/her move.
Other than that, I added some files and organized the folder a little bit putting sources in a src folder and added some files, COPYING, which contains the license (GPLv3), INSTALL, the compilation instructions and a Changelog.
That’s all for now, and here’s the project link. For some name conflicts with another project I had to change the project name to onlinetictactoe rather than the simple tictactoe.
http://code.google.com/p/onlinetictactoe/
And as always, report bugs
you can report bugs directly from the project website (above link) in the issue section!
happy Tic-Tac-Toe-ing!
Online Tic-Tac-Toe game
I’ve been very silent for a week or two now. But I have a good reason for it
I’ve been working on a Tic-Tac-Toe game. At first, it was supposed to be a I-learn-something-with-it type of program, now, it’s much more than that. Please note that the idea of making it multiplayer rather than single player came from one of my friends and was not my own idea!! But, as a matter of fact he’s on last-off-days vacation.
Anyway, no news is complete without screenshots
this is the main window.
This is how you would join a game. You should know the IP address of the server and what port it is using to create the game.
And this is how you make a server (and then others join
). Quite simple, just specify a port, and if you don’t know anything about ports, just put a 0, it will find an appropriate port for you! When you create a server, the port you’re using is shown on the status bar and remains there until someone joins your game. You can give that port to the other person (he needs it to join your game).
And that was mostly what I was up to! The funny thing is, only 9 months ago, writing something like this was just a distant dream!
And I didn’t forget to tell you where the source is, I didn’t yet upload it. Why? because it has some VERY visible bugs I should fix before releasing it. One of the most annoying ones being that when starting a new game (pressing the ‘new game’ button on tool bar), both players have to start a new game for it to work. Anyway, I don’t really know where the problem is (or do I?) but I will try to fix it hopefully by tomorrow and by tomorrow night (canada eastern time) I will have the sources uploaded somewhere, most probably google code.
And it’s worth to note that this will run on all platforms that support Qt (Mac, Windows, Linux, Solaris, BSD, etc.)
P.S. the whole thing is 1628 lines of code including headers distributed in 15 files. It’s released under GPLv3, so if you want the source now, leave a comment!
P.P.S. to download it, go to http://code.google.com/p/onlinetictactoe/ and download tictactoe-o.1.tar.gz


