/TicTacToe-minimax

Tic-Tac-Toe with minimax algorithm using graphics.h

Primary LanguageC++The UnlicenseUnlicense

Tic-Tac-Toe Minimax using graphics.h

Can you beat my tic-tac-toe? I bet you can't

How-to

Just run the main.exe or compile main.cpp by yourself.
You can change the first player by changing the currentPlayer variable between ai and human.

Requirement

If you want to re-compile, you need this:

$ WinBGIm

Referrence

Geeks For Geeks: Minimax Algorithm