Skip to content

Commit 2749317

Browse files
committed
Updated Node and README.md
1 parent 899e6e8 commit 2749317

2 files changed

Lines changed: 3442 additions & 2055 deletions

File tree

README.md

Lines changed: 21 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,21 @@
22

33
Play Chess against the AI of your choice
44

5+
## Gameplay
6+
7+
You can play at https://mtsafe.github.io/chess/ .
8+
9+
Player 1 has light shaded pieces and goes first.
10+
11+
The Restart Game button will return the pieces to the starting positions.
12+
13+
2 Player mode works.
14+
The test mode works as a kind of cheat mode to test the system.
15+
16+
### Limitations
17+
18+
So far the AI computer players are not yet coded.
19+
520
## Design Decisions
621

722
Since chess is very heavy in calculations, the calculation code is moved out of the App functional component.
@@ -26,6 +41,10 @@ OnDrag, the possible moves are calculated for that piece and marked as dropzones
2641

2742
OnDrop, the move is executed for that piece going to that location by updating the states of pieces1 and pieces2. Since the moves are checked OnDrag as possible, then the validity of the move does not need to be questioned. Just execute the move.
2843

29-
### Gameplay
44+
## Dev Platform
3045

31-
Player 1 has light shaded pieces and goes first.
46+
Developed on:
47+
48+
- Apple M1 Pro with macOS 14.4
49+
- Node.js v20.19.0
50+
- Vite 7.0.3

0 commit comments

Comments
 (0)