Re:Show HN: A Tic Tac Toe “AI” Built with Only HTML and CSS
by ajurna on Monday August 20, 2018 @10:09AM
(#17799977)
there's a bug where it claims i lost when i didn't.
bottom left, top right, bottom right, middle right.
it will then say green wins.
[ Parent
| on HN ]
Re:Show HN: A Tic Tac Toe “AI” Built with Only HTML and CSS
by lbatchelor on Monday August 20, 2018 @05:35PM
(#17804197)
Hiya, I pushed a fix last night when someone reported something similar.
I tried your sequence and it looks like it loses now so I think that might be fixed.
Re:Show HN: A Tic Tac Toe “AI” Built with Only HTML and CSS
by Nadya on Monday August 20, 2018 @07:31PM
(#17805145)
Still bugged for me - the green and red turns take place on the same "turn" so I end up with green and red winning and it staying green wins - even though red went first.
This is what it looks like: https://vgy.me/wXP18k.gif
Re:Show HN: A Tic Tac Toe “AI” Built with Only HTML and CSS
by lbatchelor on Monday August 20, 2018 @08:00PM
(#17805411)
Oh! Apologies. You are completely right. No idea how I missed that.
Pushed a fix. Thanks for reporting!
Re:Show HN: A Tic Tac Toe “AI” Built with Only HTML and CSS
by jansan on Monday August 20, 2018 @11:04AM
(#17800526)
I see the same behavior, but since it's AI based, I consider it not a bug but cheating.
Re:Show HN: A Tic Tac Toe “AI” Built with Only HTML and CSS
by chris__butters on Monday August 20, 2018 @10:18AM
(#17800065)
I get this glitch too. Nice concept though