Skip to content

SanjanaSunil/ultimate-tic-tac-toe-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Ultimate Tic Tac Toe Bot

AI bot for an extended version of ultimate tic tac toe. It was implemented using heuristic minimax search with alpha-beta pruning.

Rules

This bot plays an extended version of ultimate tic tac toe. The basic rules can be found here. This version also has a few additional rules:

  • Bonus move: If the player wins a small board, the player gets a bonus move. This bonus move is limited to 2 small board wins.

  • Time limit: There is a time limit of 24s per move.

  • Scoring: Winning the game gives the winner 86 points and the opponent 0 points. Winning the corner small boards give 4 points, center gives 3 points and remaining gives 6 points.

Running the game

  • To see the various options: python2 simulator.py
  • To play a game: python2 simulator.py <option>

About

AI bot for ultimate tic-tac-toe

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages