Skip to content

aderhall/checkers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 

Repository files navigation

Checkers

A work-in-progress checkers opponent I'm making for my computer science class. Effectively, this program is designed to analyze a situation within the game of checkers and calculate the optimal decisions to make. I am using python3 and a text-based terminal interface, though I plan to make a curses GUI in the future.

Requirements

  • Python3 with pre-included modules
  • Linux or OSX operating system (but it wouldn't be hard to make a windows-functioning version- maybe I'll try that sometime)
  • A terminal emulator that supports ANSI colors- or else yours and the opponent's pieces are gonna look mighty similar

Installation

There really is none. It's still in development and I'm not going to set something like that up until I reach a certain stage in production. To test, just download or clone the repository.

Usage

To use checkers, cd into the folder containing the script and run: python3 checkers.py You should see something like this:

checkers

TODO list/ timeline

  • Create initial frameworks
  • Create function for displaying the board
  • List diagonal spaces and recognize pieces
  • Add move planning
  • Add jump planning
  • Support king piece moves
  • Support either-side moves
  • Allow simulation of moves
  • Update the board when a move is made
  • Tally and judge moves by piece differential
  • Add recursion for moves
  • Add recursion depth limiter
  • Add interactive player vs computer games
  • Make windows-supported version
  • Build and publish as V0
  • Make curses game display
  • Make curses move selection interface
  • Build and publish as V1

Contributors

Me! (so lonely...)

Releases

No releases published

Packages

No packages published

Languages