Skip to content

abdulrahmank/tic_tac_toe_solver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tic Tac Toe Solver

This is a tic tac toe solver backend in Golang. It doesn't use Minimax algorithm or any backtracking algorithm for solving. It just uses the count of the characters in the board and decide which moves to take.

Note:

  1. Player is always considered as "X" and CPU as "O".
  2. Game status sent as a part of response reflects the status from the CPU point of view.
  3. This works out of the box only for 3 X 3 board, changes have to be done to make it work for bigger boards.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages