chcole48
chcole48
87 / 12
8th Aug 2014
4th Apr 2015
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

  • MikeBest
    MikeBest
    14th Aug 2014
    Nothing new, but entertaining nevertheless. The AI is quite primitive, though. +1
  • iamdumb
    iamdumb
    14th Aug 2014
    chcole, I'm not sure your vertical AI is working, I just won by piling pieces in the centre, the AI ignored it.
  • SmiteZero
    SmiteZero
    14th Aug 2014
    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.
  • kyledudey
    kyledudey
    14th Aug 2014
    wut does AI stand for no interwebzzz here
  • JDLENL
    JDLENL
    13th Aug 2014
    it doesn't register diagonals
  • Dorito_tRF
    Dorito_tRF
    13th Aug 2014
    half the board ended up destroyed, but i still won
  • Enthalpy
    Enthalpy
    12th Aug 2014
    I win! But it just did nothing. No victory? You just, win, thats it? BORING.
  • iamdumb
    iamdumb
    12th Aug 2014
    @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.
  • iamdumb
    iamdumb
    12th Aug 2014
    @blackantimatter, be normal and don't spark random things.
  • blackantimatter
    blackantimatter
    12th Aug 2014
    why are there so many bugs 1602696