- add keys explanation
- fix button-in-focus error when pressing spacebar
constants.js
is where we put the configurations and rules of the game.
board.js
is for board logic.
piece.js
is for piece logic.
main.js
has code to initialize the game and the overall game logic. The order of the scripts that we add at the end is essential in index.html.
styles.css
contains all the beautifying styles.