Skip to content

theanuraganand/KillerChess

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

KillerChess

Console Killer Chess Game using JavaScript

Updated The game has been updated. Now the game finds wether the king will be check at every possible empty space for the king to re-locate.

What's Working

1. Diagonal Search for enemy
2. Bishop can't jumb
3. Adjacent Search for Enemy King
4. Place for King to change possition at Check
5. Can be tweeked to print number of availabe places to change position for King
6. Check Mate Analysis
7. Bishop only moves Diagonal

Abbriviations

kl- Light King (White King)
bl- Light Bishop (White Bishop)

kd- Dark King (Black King)
bd- Dark Bishop (Black Bishop)

Rules

1. There are only 2 Kings (One of Each Color) and several Bishops
2. Bishop can't Jump.
3. Bishop can move diagonaly any number of boxes.
4. King can move 1 box in any direction.
5. Chess is 8x8

Screenshots according to test cases


1. The below Screenshot shows that Adjacent enemy can Check




2. The below Screenshot shows that the Bishop can't jump




3. The below Screenshot shows that the Adjacent Friendy player donot account for Check




4. The below Screenshot shows that the Adjacent Friendly player is accounted at Check Mate




5. The below Screenshot shows that the Bishop can't check if not Diagonal


About

Console Killer Chess Game using JavaScript

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published