Share your repls and programming experiences

← Back to all posts
Tic-Tac-Toe Game With AI
CyanCoding

Heyo! This is a Tic-Tac-Toe game with AI that I've already posted before but I figured I'd submit into the challenge just because. Feel free to check it out and play a game or two!

Voters
tigranbabayannn
hellothere98765
jefsion
KaleTheiss
SeanStentiford
ElliotEsposito
AlexusTithphit
DYLANANDERSON1
CyanCoding
NathanHousley
Comments
hotnewtop
kaiserb1

I did it :-)

Brandaboss

I did it :)
https://storage.googleapis.com/replit/images/1548480998945_d7a6d0ebdb4b6a79439f2b92b1e3243a.pn

JohnnyWobble

How did you manage to make this with 2639 line of code in C++, C++ is supposed to be one of the most powerful langauges out there. Just for reference I made one with python and it is like 190 lines. But I guess you going for a round-a-bout way?

Night_Shadow

Woot

Night_Shadow

https://storage.googleapis.com/replit/images/1550939704959_de8242d4b99860caacc338ebd2ef03f4.pn

kaiserb1

https://storage.googleapis.com/replit/images/1548935355425_a336915991bba69aada77f9c88a54946.pn

NathanHousley

every time i am first, the sequence 1978 works

theangryepicbanana

Excuse me wat. How did you do this in c++?

CyanCoding

@theangryepicbanana It wasn't that hard. I just used C++ because that was the language I was using at the time of its creation (May 2017). But this AI wasn't super complex and language-specific so I'm sure you could make it in any OOP language.

theangryepicbanana

@CyanCoding Ah, ok. Btw it's nice to see you here again

CyanCoding

@theangryepicbanana Thanks :D it's nice to check in on the community that jumpstarted my passion