Skip to content

emadde/Java-Swing-Checkers

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 

Repository files navigation

Java-Swing-Checkers

Your goal is to implement the functionality for the model of a checkers game.

The board is to be represented by a 8x8 2D array of strings. Pieces on the board should be denoted as Color-Rank. For example, a Red Pawn should be R-P and Black King should be B-K. An empty square should be denoted by the string EMPTY.

All the animations are taken care of by the view, no work is needed there. All off your logic should be in the update method of the Model.

Requirements

  • The system generates a new game board (see mock up)
  • The user can move their piece
  • The system removes the opponent's piece when the user performs a jump
  • The user's piece is kinged when they reach the opposite side of the board
  • The source code should all be unit tested
  • The system should save the game to a text file when the user presses the 's' key
  • The system should load the last saved game when the user presses the 'l' key

Mock Ups

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 100.0%