Skip to content

A simple command line checkers game implemented in Java. Originated as an AP CS project.

Notifications You must be signed in to change notification settings

MckennaCisler/checkers-java

Repository files navigation

Checkers (Java)

Date: 5.30.2016

Author(s) Mckenna Cisler

PURPOSE OF PROJECT

Build both a 2-player and 1-player (vs AI) checkers game.

HOW TO RUN THIS PROJECT

Compile GameRunner.java, then execute the main method of the class GameRunner.

CLASS SUMMARY

HumanPlayer

Responsible for interacting with a human player in order to determine their move and apply it to the board.

Note: Proposal was altered here: moves are now identified by displaying possible ones to the user and having them choose from that list.

AIPlayer

Responsible for using artificial intelligence to determine an effective move and apply it to the board.

Board

Stores and allows manipulation of the game board and game pieces.

Piece

Responsible for storing data associated with a certain piece and determing properties of that piece such as available moves.

Move

Stores data associated with the move of a piece, and methods to determine further properties.

The remaining classes can be summarized as follows:

Player (Abstract)

Responsible for outlining shared methods of the HumanPlayer and AIPlayer classes so they can be used interchangably.

About

A simple command line checkers game implemented in Java. Originated as an AP CS project.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages