Skip to content

everbrightw/Chess

Repository files navigation

Chess

A Chess game implemented with Java Swing UI.

Install

You can install it by clone this repository and run it on intellij/Eclipse
Or build it to a runnable jar file by(intellij)

File -> Project Structure -> Project Settings -> Artifacts -> Click green plus sign -> Jar -> From modules with dependencies...

And run the jar file.

Game User Interface

Alt text

How To Play

Simply click New Game button and the game will start. The score board on the right side will highlight which player's current turn is. And each play alternatively move their piece on the board by clicking the piece.

Alt text

Highlight Possible Move Feature

Possible moves for selected piece will be highlighted on the board. Alt text Alt text

##Undo Feature It allows players to undo their moves.

Custom Piece

We also have two custom pieces that can add to the chess board! Simply click Custom Game.

Custom Piece: Vampire

Move rules:
1.Move like a knight
2.Move two-square vertically or horizontally

Special skill:
After killing enemy's piece, vampire can convert the killed piece to its own color piece and place it at the vampire's last location on board

Sample: Alt text Alt text

Custom Piece: Witch

Move rules:
1.It can only jump over a piece.(just like the board game Checkers)

Special skill:
After killing enemy's piece, witch automatically convert herself to a queen.

Sample: Alt text Alt text

About

A Java Chess Game with GUI

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published