aboutsummaryrefslogtreecommitdiff
path: root/front/src/routes/home.jsx
diff options
context:
space:
mode:
authorSimponic <elizabeth.hunt@simponic.xyz>2023-01-28 22:56:10 -0700
committerSimponic <elizabeth.hunt@simponic.xyz>2023-01-28 22:56:10 -0700
commit593a631a564926b5b118805b8bea13a753e4757d (patch)
tree3f2a5460eda4ef19142b20386c7dee001f4675b5 /front/src/routes/home.jsx
parentbb66cd91a3e76e9b746750de51b5edd34b5d2259 (diff)
downloadchessh-593a631a564926b5b118805b8bea13a753e4757d.tar.gz
chessh-593a631a564926b5b118805b8bea13a753e4757d.zip
Ensure board is flipped when starting a game as dark, move some constants to environment variables, minor frontend changes:
Diffstat (limited to 'front/src/routes/home.jsx')
-rw-r--r--front/src/routes/home.jsx13
1 files changed, 13 insertions, 0 deletions
diff --git a/front/src/routes/home.jsx b/front/src/routes/home.jsx
index baccb5f..0660a72 100644
--- a/front/src/routes/home.jsx
+++ b/front/src/routes/home.jsx
@@ -49,6 +49,19 @@ export const Home = () => {
codeBlock
/>
</div>
+ <div>
+ <li>Finally, play chess!</li>
+ <p>Ideally, keeping the following contols in mind:</p>
+ <ul>
+ <li>Ctrl + b / Escape to return to the main menu.</li>
+ <li>Ctrl + c / Ctrl + d to exit at any point.</li>
+ <li>Arrow keys to move around the board.</li>
+ <li>
+ Select a piece with "enter", and move it to a square by pressing
+ "enter" again.
+ </li>
+ </ul>
+ </div>
</ol>
</>
);