News for hackers. Stuff that matters.

Show HN: My Weekend Project - Multiplayer TicTacToe

Link: http://xoxo.cm

The idea here was to build a multiplayer game with the lowest possible barrier to entry to get started. That is, no registration, no game setup, as few steps as possible to actually start playing.

There's not much substance here right now and there's still a few bugs that need to be hammered out. I'm also thinking of expanding on the idea with some other simple games down the road. Any feedback or suggestions on the concept in general would be much appreciated.

( 23 comments | 20 points | on HN )
Re:Show HN: My Weekend Project - Multiplayer TicTacToe by daakus on Sunday January 09, 2011 @01:47AM (#2085033)
Unnecessary plug: I wrote a ridiculously simple version using node and socket.io to get a feel for this too: https://github.com/nshah/tictactoe -- it only has random matchup mode. It's running here: http://tictactoe.daaku.org:9999/
Re:Show HN: My Weekend Project - Multiplayer TicTacToe by ericlavigne on Sunday January 09, 2011 @11:00AM (#2085634)
Nice work.

After waiting 10 minutes for an opponent, I opened a second tab and played against myself. Until your application becomes immensely popular, and this issue goes away, it would be nice to have an estimate of wait time.

Just keep track of recent "new opponent" events (keeping times of the most recent 10 events is sufficient) such as new visitor arriving, game ending, or server starting up (the last one just handles the edge case when you are the first player to load the application). Time elapsed since the earliest event (including only the 10 most recent events) divided by the number of events (again, this is at most 10) yields a reasonable estimate of wait time.

Alternatively, you could pair someone with a computer player if they've been waiting for more than a minute. https://github.com/ericlavigne/tic-tac-toe/blob/master/src/t...

Re:Show HN: My Weekend Project - Multiplayer TicTacToe by tlack on Saturday January 08, 2011 @11:41PM (#2084829)
Random Matchup mode would be fantastic.. no one is online right now that I'd like to play with.
Re:Show HN: My Weekend Project - Multiplayer TicTacToe by idigit on Saturday January 08, 2011 @11:42PM (#2084834)
whats your share link?
Re:Show HN: My Weekend Project - Multiplayer TicTacToe by tlack on Saturday January 08, 2011 @11:45PM (#2084839)
Re:Show HN: My Weekend Project - Multiplayer TicTacToe by vyrotek on Sunday January 09, 2011 @12:21AM (#2084880)
(edit - ok site is back up)

Looks cool. I definitely think it needs a random match-up feature.

I wonder if this will help my game :) http://xkcd.com/832/

Re:Show HN: My Weekend Project - Multiplayer TicTacToe by idigit on Sunday January 09, 2011 @12:22AM (#2084882)
Yeah, it's being sort of intense on my server. Trying to fix it. Let us know your share URL when you can get through.
Re:Show HN: My Weekend Project - Multiplayer TicTacToe by vyrotek on Sunday January 09, 2011 @12:23AM (#2084884)
http://xoxo.cm/ed5e5 Got it!

edit - Ok maybe it doesn't quite need a random match-up feature. The fact that I'm playing 4 games at once is pretty fun... and crazy.

Re:Show HN: My Weekend Project - Multiplayer TicTacToe by idigit on Saturday January 08, 2011 @11:35PM (#2084821)
Clickable: http://xoxo.cm
Re:Show HN: My Weekend Project - Multiplayer TicTacToe by jaydz on Saturday January 08, 2011 @11:42PM (#2084832)
Cool, who wants to play :)

http://xoxo.cm/7fe54

Re:Show HN: My Weekend Project - Multiplayer TicTacToe by biot on Saturday January 08, 2011 @11:47PM (#2084841)
Thanks for the game. :)
Re:Show HN: My Weekend Project - Multiplayer TicTacToe by iphoneedbot on Sunday January 09, 2011 @12:42AM (#2084919)
I WON! Against you! High five!
Re:Show HN: My Weekend Project - Multiplayer TicTacToe by jaydz on Sunday January 09, 2011 @12:57AM (#2084949)
24-28 so far :(
Re:Show HN: My Weekend Project - Multiplayer TicTacToe by iphoneedbot on Sunday January 09, 2011 @12:53AM (#2084938)
2 Games! Thanks! This is a good take on an old game
Re:Show HN: My Weekend Project - Multiplayer TicTacToe by ericlavigne on Saturday January 08, 2011 @11:56PM (#2084852)
This application looks like it would make a very nice introductory example for asynchronous web programming. Is the source code available?
Re:Show HN: My Weekend Project - Multiplayer TicTacToe by idigit on Sunday January 09, 2011 @03:16PM (#2086284)
Not currently
Re:Show HN: My Weekend Project - Multiplayer TicTacToe by kunday on Sunday January 09, 2011 @12:39AM (#2084912)
Is the domain down? It is not getting resolved.
Re:Show HN: My Weekend Project - Multiplayer TicTacToe by idigit on Sunday January 09, 2011 @12:40AM (#2084916)
The servers getting hit a fair bit - working on it.
Re:Show HN: My Weekend Project - Multiplayer TicTacToe by idigit on Sunday January 09, 2011 @12:35AM (#2084904)
for making this game I'm not doing so great in tictactoe against fellow HNers :(
Re:Show HN: My Weekend Project - Multiplayer TicTacToe by vyrotek on Sunday January 09, 2011 @12:37AM (#2084907)
Do other players get notified if I quit in the middle of a match? I had multiple games going on (very cool) but I hope quitting didn't leave them hanging.
Re:Show HN: My Weekend Project - Multiplayer TicTacToe by idigit on Sunday January 09, 2011 @12:38AM (#2084910)
At its current state, your box will just get removed from their game, so they should be aware.
Re:Show HN: My Weekend Project - Multiplayer TicTacToe by rick_2047 on Sunday January 09, 2011 @01:27AM (#2085009)
I think the site has been HNed (or whatever is the HN equivalent of slashdoted).
Re:Show HN: My Weekend Project - Multiplayer TicTacToe by idigit on Sunday January 09, 2011 @01:30AM (#2085011)
I'm adding another node - just rebuilding the disc. It will be back momentarily. Sorry!

Edit: Site's back - should be all good now.