Skip to content

kxnoun/adam-CheckersAI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

adam-checkersAI

this repo contains a python program designed to solve checkers endgame puzzles using minimax and alpha-beta pruning. the objective is to ensure the red player wins in the fewest moves possible while the black player attempts to prolong the game.

here, checkers is two-player played on an 8x8 grid (we use english draughts rules).

key features

  • alpha-beta pruning: to reduce number of nodes explored
  • depth-limited search: to balance performance and computation time (greater the depth, the more states we search, but takes longer)
  • -node ordering: ordered my successors by eval function to try and speed up alpha-beta pruning.
  • evaluation function: estimates utility of non-terminal states.

running

use command line inputs like the following:

python3 checkers.py --inputfile <input file> --outputfile <output file>

under Scripts/, there are two scripts, use checkers.py.
there are two examples under Examples/, you can make your own examples too!

that's 

About

checkers solver using minimax+alpha-beta pruning

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages