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
HowTo: diff and patch!
For so long I was wondering what is this ‘patch’ and ‘diff’ people talk about. So with asking on IRC (freenode, and credit goes to MathStuf on #fedora-kde) and a little research over internet, I figured it out. It’s very simple, just type these in Konsole/Terminal:
$ diff foo bar > baz.patch
$ patch < baz.patch
the first command ‘diff’s two files (finds the differences) and the second command applies the diff!! the > and < marks are redirecting output. For example the output of `diff foo bar` goes to file `baz.patch` in the same directory!!
There are, of course, other GUI utilities for diff/patch but I prefer this simple method over them! You can find the GUI solutions all around the web!
More updates to come on this issue as I still don’t understand it fully!
backed-up 0.2?
yes, I uploaded it right now (http://code.google.com/p/backed-up/). I added a new feature to it, which is that now you can log in to remote computer with another username, which was not possible with the previous version. You can do it very simple with –user [USERNAME] option. For example:
$ backedup –user me
you can download the new version from the link above!
the truth about Georgia
it’s quite sad to watch such a thing, and watch that the interviewer doesn’t even give the woman the time to talk. I’m quite surprised how the let them talk in a live broadcast!
backed-up 0.1 released
Backed-up…first time I’m hearing this name!!! It’s because I just made it up. Yes, I released the backup script I’ve been using for months now. At first, it was just for personal use, specifically made to work with my desktop and laptop. So I thought it would do good to some other people like me, as it helped me a lot and saved me a lot of time!! So, here it is, called backed-up and this is the project URL hosted by google code:
http://code.google.com/p/backed-up/
hope you enjoy it
and of course, comments and suggestions and most definitely patches, are very welocme!!
Ps. and because this is the first software I’ve release in my life (yayy milestone!) I would really appreciate it if someone out there would explain to me how I can create and apply patches!
fedora 10 release name
I know it’s old news now, but just in case you haven’t found it anywhere else…these are the results of the naming vote:
1. Cambridge 1547
===
2. Nile 1503
3. Farnsworth 1435
4. Water 1408
5. Nitrate 1295
6. Whiskey Run 1281
7. Mississippi 1145
8. Saltpetre 1076
9. Terror 953
I in fact like the chosen name very well, and it was supposed to be the release name of RedHat Linux 10. If I could vote, I would vote this way:
1 Cambridge
2 Nile
3 Water
4 Nitrate
5 Mississippi
6 Terror
7 Farnsworth
8 Whiskey run
9 Saltpetre
well, it’s a range voting!!


