News for hackers. Stuff that matters.
Re:Show HN: Playable Ultimate Tic Tac Toe by spicyj on Tuesday June 18, 2013 @09:13PM (#5903136)
matchu posted an implementation earlier today (with an AI!) using the Khan Academy CS environment:

https://news.ycombinator.com/item?id=5901365

Re:Show HN: Playable Ultimate Tic Tac Toe by KennyCason on Tuesday June 18, 2013 @09:19PM (#5903164)
Nice. I guess I definitely have to build AI now haha
Re:Show HN: Playable Ultimate Tic Tac Toe by sigkill on Wednesday June 19, 2013 @06:49AM (#5904783)
Fwiw I found this one better and it has a rudimentary AI too.

(not mine)

http://joeyrobert.org/projects/ultimatetictactoe/

Re:Show HN: Playable Ultimate Tic Tac Toe by joeyrobert on Wednesday June 19, 2013 @09:37AM (#5905430)
Thanks for the plug. I too hacked it out in a couple of hours after reading the article.
Re:Show HN: Playable Ultimate Tic Tac Toe by KennyCason on Wednesday June 19, 2013 @04:17PM (#5907903)
Nice. Good job!:)
Re:Show HN: Playable Ultimate Tic Tac Toe by KennyCason on Wednesday June 19, 2013 @07:01AM (#5904811)
Cool. I'll add AI mine to mine later. It was a quick two hour hack. Thanks for the link to another one. I'll see what they did for AI. Though I'll probably employ a simple alpha-beta pruning alg
Re:Show HN: Playable Ultimate Tic Tac Toe by KennyCason on Tuesday June 18, 2013 @08:30PM (#5902937)
Inspired by the recent Hacker News post (https://news.ycombinator.com/item?id=5898506) and my desire to tinker with HTML5 a bit :) I was trying to make a nice "color pencil" effect, but still have some work to do.
Re:Show HN: Playable Ultimate Tic Tac Toe by Kiro on Wednesday June 19, 2013 @02:51AM (#5904067)
It's fun to see that whenever a game concept reaches the front page there are at least 10 different implementations done within hours. Good job.
Re:Show HN: Playable Ultimate Tic Tac Toe by KennyCason on Wednesday June 19, 2013 @02:56AM (#5904084)
Thanks, I woke up around lunch and saw the post and was like, well, I guess I know what I'm doing today. Honestly I only originally planned on working on my "color pencil" line drawing. haha
Re:Show HN: Playable Ultimate Tic Tac Toe by Falling3 on Tuesday June 18, 2013 @09:01PM (#5903060)
Nice... it'd be really cool to get an AI to play against as well.
Re:Show HN: Playable Ultimate Tic Tac Toe by mbillie1 on Tuesday June 18, 2013 @09:44PM (#5903271)
Doing the AI would be fun... it seems like one of those cases where Haskell/Clojure could provide a very elegant solution.
Re:Show HN: Playable Ultimate Tic Tac Toe by KennyCason on Tuesday June 18, 2013 @10:01PM (#5903335)
Love me some haskell. been playing with it for the past month as well. Have a mostly functioning BEP NN on my github. though for a problem like this AI would be simple :)
Re:Show HN: Playable Ultimate Tic Tac Toe by mbillie1 on Tuesday June 18, 2013 @10:04PM (#5903350)
It'd be one of those things that's 40 lines of Java, 15 lines of Ruby, 2 lines of Haskell... :) if you do it, post it! I'll hack on it tomorrow with my Haskell guru/mentor (I am not strong in functional languages yet)
Re:Show HN: Playable Ultimate Tic Tac Toe by KennyCason on Tuesday June 18, 2013 @10:07PM (#5903361)
Haha it would be a fun haskell algorithm to write:)
Re:Show HN: Playable Ultimate Tic Tac Toe by KennyCason on Tuesday June 18, 2013 @09:04PM (#5903075)
I only had about 2-3 hours to work on it. :) But I agree it would be fun to add. I'll repost if I add AI in the future.
Re:Show HN: Playable Ultimate Tic Tac Toe by Falling3 on Tuesday June 18, 2013 @09:05PM (#5903083)
Oh yea, definitely not complaining.
Re:Show HN: Playable Ultimate Tic Tac Toe by rschmitty on Wednesday June 19, 2013 @09:02AM (#5905244)
Hah, that was the first thing I thought about when I read the article yesterday. Then I checked out ultimatetictactoe.com and found it was registered the same day and I got sad :(
Re:Show HN: Playable Ultimate Tic Tac Toe by KennyCason on Wednesday June 19, 2013 @09:07AM (#5905273)
Very sad :/
Re:Show HN: Playable Ultimate Tic Tac Toe by KennyCason on Wednesday June 19, 2013 @02:01AM (#5903950)
Fixed random mouse offset bug & whenever all tile become playable, they are all highlighted. With the exception of the start state (As I think it looks better white)
Re:Show HN: Playable Ultimate Tic Tac Toe by KennyCason on Wednesday June 19, 2013 @02:44AM (#5904046)
Also added fork on github link
Re:Show HN: Playable Ultimate Tic Tac Toe by atjoslin on Tuesday June 18, 2013 @09:34PM (#5903229)
Now to make a multiplayer version... I would use Firebase and Angular probably. Unfortunately I don't feel like staying up all night on a project tonight :-p
Re:Show HN: Playable Ultimate Tic Tac Toe by KennyCason on Tuesday June 18, 2013 @09:35PM (#5903233)
V2.0 coming to a browser near you!
Re:Show HN: Playable Ultimate Tic Tac Toe by DanBC on Wednesday June 19, 2013 @09:49AM (#5905481)
I'd love to see an HN competition of AIs learning and playing UltimateTicTacToe.
Re:Show HN: Playable Ultimate Tic Tac Toe by KennyCason on Wednesday June 19, 2013 @10:04AM (#5905555)
I'm inclined to say there are already a few simple AIs that play perfectly, so it would likel not be that exciting :/
Re:Show HN: Playable Ultimate Tic Tac Toe by ramki on Wednesday June 19, 2013 @01:48AM (#5903911)
http://i.imgur.com/QuPvQyF.png this is the bug i found with this game, how x can win, when I(in blue) scored 4 before x reaches 3
Re:Show HN: Playable Ultimate Tic Tac Toe by redthrowaway on Wednesday June 19, 2013 @01:55AM (#5903931)
The goal is not to win the most boards, but to complete 3 in a row on the large board by winning the small boards. If you're aware of that, I'm not sure what you're claiming the bug is. Could you clarify?
Re:Show HN: Playable Ultimate Tic Tac Toe by bdirgo on Wednesday June 19, 2013 @02:06AM (#5903962)
X got three in a row
Re:Show HN: Playable Ultimate Tic Tac Toe by gus_massa on Tuesday June 18, 2013 @09:00PM (#5903056)
I like it. The green highlighting of the active subboard is too subtle and sometimes I miss it. Another option is to flash the active subboard when the players try to use another subboard.
Re:Show HN: Playable Ultimate Tic Tac Toe by KennyCason on Tuesday June 18, 2013 @09:03PM (#5903072)
Yeah, I uploaded originally without the highlighting, but I kept getting lost as well haha
Re:Show HN: Playable Ultimate Tic Tac Toe by dreen on Tuesday June 18, 2013 @10:16PM (#5903375)
thats pretty cool

edit: oops, stuck http://i.imgur.com/nTOJq1F.png

Re:Show HN: Playable Ultimate Tic Tac Toe by KennyCason on Tuesday June 18, 2013 @10:18PM (#5903384)
All software is accepted as is.. Etc etc haha jk thanks! I'll check what happened!
Re:Show HN: Playable Ultimate Tic Tac Toe by millzlane on Tuesday June 18, 2013 @10:19PM (#5903389)
I just played out this scenario, at this point player O must select any empty space.
Re:Show HN: Playable Ultimate Tic Tac Toe by KennyCason on Tuesday June 18, 2013 @10:21PM (#5903394)
Thanks. I thought that was supposed to happen. Perhaps it was confusing because I didn't highlight all the squares:)
Re:Show HN: Playable Ultimate Tic Tac Toe by dreen on Tuesday June 18, 2013 @10:59PM (#5903503)
This can happen in various scenarios, basically giving the player a choice of any empty space on the scree. I consider that a fair rule.
Re:Show HN: Playable Ultimate Tic Tac Toe by mbillie1 on Tuesday June 18, 2013 @09:43PM (#5903263)
I was messing with this the last few hours... beat me to it :) well done! What'd you use?
Re:Show HN: Playable Ultimate Tic Tac Toe by KennyCason on Tuesday June 18, 2013 @09:45PM (#5903281)
Cool:) just used JQuery and canvas. I built all the draw functions myself just to get more familiar with HTML5
Re:Show HN: Playable Ultimate Tic Tac Toe by Sami_Lehtinen on Wednesday June 19, 2013 @12:20AM (#5903729)
If I would be unemployed, I would create ultimate 3D tic tac toe for hardcore players.
Re:Show HN: Playable Ultimate Tic Tac Toe by KennyCason on Wednesday June 19, 2013 @12:41AM (#5903775)
Step 1: quit job Step 2: create ultimate 3d tic tac toe
Re:Show HN: Playable Ultimate Tic Tac Toe by gklitt on Wednesday June 19, 2013 @02:53AM (#5904073)
Nice job Kenny! We should play sometime.
Re:Show HN: Playable Ultimate Tic Tac Toe by KennyCason on Wednesday June 19, 2013 @02:55AM (#5904079)
Sure! let me get the multi-player and AI-Complete version done, or we could bust out the marker board/paper :)
Re:Show HN: Playable Ultimate Tic Tac Toe by christiangenco on Wednesday June 19, 2013 @03:49AM (#5904233)
Ahh damn, that was going to be what my fork of your project was going to do.

I'll just leave you to it, then :p

Re:Show HN: Playable Ultimate Tic Tac Toe by KennyCason on Wednesday June 19, 2013 @03:53AM (#5904249)
Well, if you want, do the multi-player part, i'm more interested in the AI, doing a quck min-max AI solution
Re:Show HN: Playable Ultimate Tic Tac Toe by KennyCason on Wednesday June 19, 2013 @05:15AM (#5904544)
almost done....
Re:Show HN: Playable Ultimate Tic Tac Toe by deletes on Wednesday June 19, 2013 @06:03AM (#5904675)
Too bad the first player always wins.
Re:Show HN: Playable Ultimate Tic Tac Toe by sold on Wednesday June 19, 2013 @02:46AM (#5904051)
First turn should belong to X not O.
Re:Show HN: Playable Ultimate Tic Tac Toe by KennyCason on Wednesday June 19, 2013 @02:54AM (#5904077)
fortunately that is very easy to fix, done.
Re:Show HN: Playable Ultimate Tic Tac Toe by jrpt on Wednesday June 19, 2013 @08:22PM (#5909385)
This is cool.
Re:Show HN: Playable Ultimate Tic Tac Toe by ellisonleao on Tuesday June 18, 2013 @09:06PM (#5903090)
nice work man
Re:Show HN: Playable Ultimate Tic Tac Toe by KennyCason on Tuesday June 18, 2013 @09:11PM (#5903119)
Thanks!
Re:Show HN: Playable Ultimate Tic Tac Toe by af3 on Tuesday June 18, 2013 @10:24PM (#5903402)
don't have time to play, contributing to LLVM...