Skip to content

♟ Shell Chess Game written in Java from scratch

Notifications You must be signed in to change notification settings

r41ng3l/miniChess

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 

Repository files navigation

♟ chess

A shell embeded PvP chess game written in Java from scratch


🔧 BASIC INSTRUCTIONS

Download the source code, compile it and run it. In order for it to work you must have previously installed JDK:

javac *.java #compile the program
java Main    #run the program

If you are working in Windows you have to define the enviroment variables to map the java.exe and javac.exe directory.


🎨 OPTIONS

The chess board is displayed like follows:

  • From top to bottom from 1 to 8
  • From left to right from 'a' to 'b'

Each move has to have the following format:

#Example:
a4c7

The game will tell you if your move was valid based on the piece you want to move, the square you are in and your position in relation to to your oponent's.

There is two ways to end a game:

  • Checkmate
  • Each chess piece have a certain amount of points assigned. You have the option of ending the game after each turn. The color with higher amount of points wins.

Enjoy!

About

♟ Shell Chess Game written in Java from scratch

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 100.0%