summaryrefslogtreecommitdiff
path: root/front/src/routes/man_pages.jsx
diff options
context:
space:
mode:
authorSimponic <elizabeth.hunt@simponic.xyz>2023-02-11 00:08:30 -0700
committerSimponic <elizabeth.hunt@simponic.xyz>2023-02-11 00:08:30 -0700
commite5ac660413fd8e2879706cfb06c476aae9164b31 (patch)
tree5b606f57dfce2ae9b087ec9e0dd4fe5ce2e0e35f /front/src/routes/man_pages.jsx
parentbf9363aaf8d5d2ef2360caad85f2c518a7ccbf5c (diff)
downloadchessh-e5ac660413fd8e2879706cfb06c476aae9164b31.tar.gz
chessh-e5ac660413fd8e2879706cfb06c476aae9164b31.zip
Add vim keybindings, man pages
Diffstat (limited to 'front/src/routes/man_pages.jsx')
-rw-r--r--front/src/routes/man_pages.jsx69
1 files changed, 69 insertions, 0 deletions
diff --git a/front/src/routes/man_pages.jsx b/front/src/routes/man_pages.jsx
new file mode 100644
index 0000000..30324c8
--- /dev/null
+++ b/front/src/routes/man_pages.jsx
@@ -0,0 +1,69 @@
+export const ManPages = () => {
+ return (
+ <div>
+ <div className="man-page-title">
+ <div>CHESSH(1)</div>
+ <div>User Help</div>
+ <div>CHESSH(1)</div>
+ </div>
+ <br />
+ <div>
+ <div>
+ <b>NAME</b>
+ </div>
+ <div>
+ <ul>
+ <li>chessh - multiplayer chess over ssh</li>
+ </ul>
+ </div>
+ </div>
+
+ <div>
+ <div>
+ <b>SYNOPSIS</b>
+ </div>
+ <div>
+ <ul>
+ <li>
+ ssh <b>chessh</b>
+ </li>
+ </ul>
+ </div>
+ </div>
+
+ <div>
+ <div>
+ <b>DESCRIPTION</b>
+ </div>
+ <div>
+ <div>
+ CheSSH uses the SSH protocol to send sequences of ANSI codes &
+ plaintext to render a chess board in your shell, and listen to I/O
+ by abusing the hell out of the{" "}
+ <a href="https://www.erlang.org/doc/man/ssh.html">
+ Erlang SSH Module
+ </a>
+ .
+ </div>
+ </div>
+ </div>
+ <br />
+ <div>
+ <div>
+ <b>INTERACTION</b>
+ </div>
+ <div>
+ <ul>
+ <li>Ctrl + b / Escape to return to the main menu.</li>
+ <li>Ctrl + c / Ctrl + d to exit CheSSH at any point.</li>
+ <li>Arrow keys / vim keybinds 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>
+ </div>
+ </div>
+ );
+};