Try to connect four of your pieces together vertically, horizontally, or diagonally to win. Play against another person or an AI. Feel free to comment any suggestions. Enjoy!
connectfour
game
Comments
-
Nothing new, but entertaining nevertheless. The AI is quite primitive, though. +1
-
chcole, I'm not sure your vertical AI is working, I just won by piling pieces in the centre, the AI ignored it.
-
I don't think it detects a win condition and ends the game - at least it didn't for me, but that doesn't matter. You have too much time on your hands.
-
wut does AI stand for no interwebzzz here
-
it doesn't register diagonals
-
half the board ended up destroyed, but i still won
-
I win! But it just did nothing. No victory? You just, win, thats it? BORING.
-
@chcole Perhaps you could program a set of 'good' connect 4 moves to run in the beginning, and then rely on the AI and maybe a randomiser for the rest of it.
-
@blackantimatter, be normal and don't spark random things.
-
why are there so many bugs 1602696