Share your repls and programming experiences

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

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!

JohnnyWobble (50)

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?

NathanHousley (2)

every time i am first, the sequence 1978 works

theangryepicbanana (1598)

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

CyanCoding (1536)

@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 (1598)

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

CyanCoding (1536)

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