chessh/front/src/routes/man_pages.jsx

92 lines
2.3 KiB
JavaScript

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 (hjkl) keybinds to move around the board and
menus.
</li>
<li>Select menu options with "enter".</li>
<li>
Select a game piece "enter", and move it to a square by pressing
"enter" again.
</li>
<li>
In the "Previous Games" viewer, use h/l or left/right to view the
previous/next move.
</li>
<li>In a game board use "f" to flip the board.</li>
<li>
In the "Previous Games" viewer, use "m" to show the game's move
history in UCI notation (which you may convert to PGN{" "}
<a
href="https://www.dcode.fr/uci-chess-notation"
target="_blank"
rel="noreferrer"
>
here
</a>
).
</li>
</ul>
</div>
</div>
</div>
);
};