neoicon Posted December 26, 2020 Posted December 26, 2020 Hi, I have created a two player board game url deleted - rule 2.7 Thes problem is that AI is easily beatable. I used heuristics to find best move for the AI. The rules of game are as follows 1) 9 by 9 grid is divided into 9 grids of smaller 3 x 3 Tic Tac Toe boards. 2) Opponents move determines where the player has to make a move. 3) For each smaller 3 x 3 grid rules of nomal Tic Tac Toe apply 4) If the smaller grid is won then no move can be made in that grid 5) If the player is sent to such a grid then player can make move in any of the free 3 x 3 grids . My approach is not correct as I check difference between number of x's and 0's in a grid and some other parameters to find best move. If somebody can tell me how should I go about it, it would be nice. Thanks for your time
Ghideon Posted December 26, 2020 Posted December 26, 2020 1 hour ago, neoicon said: If somebody can tell me how should I go about it, it would be nice. Hello! Please explain the rules in more detail. What moves are allowed. How does a player win the game? What happens if there is a draw in a smaller board? Etc.
Sensei Posted December 27, 2020 Posted December 27, 2020 7 hours ago, Ghideon said: Hello! Please explain the rules in more detail. What moves are allowed. How does a player win the game? What happens if there is a draw in a smaller board? Etc. Sounds like modified Ultimate Tic Tac Toe. https://en.m.wikipedia.org/wiki/Ultimate_tic-tac-toe
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now