Skip to content

cometeer/chess

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Chess Game

This project is mostly a learning exercise to practice my javascript skills.

Maybe interesting design and implementation choices

  • The board is everything, well maybe, a bit. The board is generated for each game and contains the squares that can or cannot hold pieces. The pieces are actually included in the JSON object of the board and whenever something needs to be done with a piece it is re-instantiated based on it's type. Since the logic of a piece is static and derives completely from it's current location this is possible and seems to work well.
  • offsets for moves

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published