Okay so it's nothing special, it's just my experiments with game A.I. (Connect 4) put onto the internet.
Play it here: http://www.yoyogames.com/games/show/86734Then tell me how you fare against the A.I.
Okay so it's nothing special, it's just my experiments with game A.I. (Connect 4) put onto the internet.
Play it here: http://www.yoyogames.com/games/show/86734Then tell me how you fare against the A.I.
Luvly.
AI seems good, however I found a bug. With my last piece I got 4 reds in a row, however the game said that it was a draw:
Ah thanks marbs, that's a rare occurrence I never came across, I might fix it eventually.
Provided hours of entertainment :D
Cool. Is the AI designed to make mistakes or will it always take the best possible move statistically?
I got to an interesting situation here:
Marbs, your reasoning is basically correct. Highlights a problem in my evaluation function really.
nodata10101, not exactly. It only plays one move ahead, and forgiving the bugs (like the above), it should be flawless in simple play - the only way to win is to force a win (two or more possible wins at once).The yellow is nauseating. But I guess that's not the point of the game.
The AI was not too easy..
But prevent the player from getting 3 in a row like this:OOOOOOOOOOOOOOOOOOOOOOOOOOOOYOOOOOOYYORRROActually its meant to do that, but I don't know if it works properlly