Show HN: My Weekend Project - Multiplayer TicTacToe
10 comments
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/
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...
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...
Random Matchup mode would be fantastic.. no one is online right now that I'd like to play with.
(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/
Looks cool. I definitely think it needs a random match-up feature.
I wonder if this will help my game :) http://xkcd.com/832/
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.
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.
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.
Clickable: http://xoxo.cm
Cool, who wants to play :)
http://xoxo.cm/7fe54
http://xoxo.cm/7fe54
Thanks for the game. :)
I WON! Against you! High five!
24-28 so far :(
2 Games!
Thanks!
This is a good take on an old game
This application looks like it would make a very nice introductory example for asynchronous web programming. Is the source code available?
Not currently
[deleted]
for making this game I'm not doing so great in tictactoe against fellow HNers :(
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.