csavas
csavas
131 / 20
21st Aug 2020
23rd Aug 2020
This is a perfectly playing Tic-tac-toe AI which uses a look-up table. Just click in the 3x3 grid with SPRK to play. After a game ended it automatically restarts in 3 seconds. Source code is available at: https://github.com/csavas03/R2_TicTacToe_AI
unbeatable subframe r216 game tictactoe r216k4a

Comments

  • csavas
    csavas
    21st Aug 2020
    --- FIXED THE 3-6-9 BUG ---
  • Vlad_Forelli
    Vlad_Forelli
    21st Aug 2020
    unbelievable! it's unbelievable! 10/10
  • Merlin1846
    Merlin1846
    21st Aug 2020
    sry I mean the player doesnt have a win counter, but the ai does win when it clearly lost. I think its becuse it takes a move right after you do a move the makes you win the game.
  • Merlin1846
    Merlin1846
    21st Aug 2020
    6 draws in a row :), though the ai doesnt have a win counter, +1
  • peterCZ
    peterCZ
    21st Aug 2020
    wtf? there was no 3x row or collumn or 3x diagonal yet it won??????? bugged... and also it overwrites your plays so it cheats too
  • david617
    david617
    21st Aug 2020
    Uhh the AI cheats lmao. It over writes the players piece and sometimes goes twice.
  • TopFool
    TopFool
    21st Aug 2020
    if you click bottom right, it choses top left, then you pick bottom left it will go top right then you finish in the bottom middle then it does top middle and it wins somehow????
  • Plasmey_401k
    Plasmey_401k
    21st Aug 2020
    Awesome work! I'd love to see the computer play itself.
  • JozeffTech
    JozeffTech
    21st Aug 2020
    7addva: I meant that.
  • moonheart08
    moonheart08
    21st Aug 2020
    Seems the AI has a bug. Give Csavas a minute to fix it.