Skip to content

A variant of chess with fog-of-war in Java.

Notifications You must be signed in to change notification settings

arthu-rguo/cpsc-chess

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

♟️ CPSC Program Similar to Chess

What will the application do?

CPSC (CPSC Program Similar to Chess) allows users to play a variant of chess with fog of war. In other words, a player can only see squares that a piece of their colour can move to on the next turn.

Who will use it?

Anyone with some free time and a friend to play with can try CPSC, especially those with an interest in chess or other strategic games.

Why is this project of interest to you?

Chess has recently undergone an unprecedented rise in popularity, and I wanted to try putting a unique spin on the classic format. Additionally, from a programming standpoint, I believe that chess is a sufficiently complex game which will be challenging but rewarding to implement.

👤 User Stories

As a user, I want to be able to...

  • add a move to a list of prior moves.
  • move pieces on the board according to chess rules.
  • play against another user on the same device.
  • view the current state of the board.
  • save a game that is currently in progress.
  • load a previously saved game and continue playing.
  • export a game to a PGN-like(?) format.

Mechanics

  1. A square is only visible if a piece of the player's colour is on it or can move to it on the next turn.
  2. Players are not informed of check. The king may move into or be left in check.
  3. There is no checkmate. The game ends when a player's king is captured.

Known Limitations

  1. Under-promotion is not implemented—a pawn is automatically promoted to a queen on its last rank.

About

A variant of chess with fog-of-war in Java.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages