Skip to content

wanfungchui/2P-Chess

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

2P-Chess

A Java implementation of 2-Player Chess.

animation

Most standard rules of the game are implemented, including pawn promotion, en passant, castle, and stalemate. The only caveat is that pawns can only be promoted to queens. An undo function is also implemented for both players.

The GUI is powered by Graphics2D and the [ucb.gui] (https://inst.eecs.berkeley.edu/~cs61b/fa15/docs/ucb-docs/ucb/gui/package-summary.html) package. The UI was inspired by Chess Titans, a default game in Windows 7.

Usage

Play requires the latest version of Java and Make. Clone this repository and run

$ make
$ java chess.Main

About

A Java implementation of 2-Player Chess, based on Windows' Chess Titans.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors