Basic information
- Owner: Arthur Liao
- Player ID:
tic-tac-toe
- Player URL: https://arthurtw.github.io/tic-tac-toe/
- Player title: Tic-tac-toe
- Code repository: https://github.com/arthurtw/tic-tac-toe
Description
The tic-tac-toe
player implements the Tic-tac-toe game. It mainly serves the purpose of RICH player demonstration.
RICH snippet format
> play={mark} height={height} maxbutton=1
.x.
.o.
...
- height={height} (optional)
- The game board height (in pixels). If it appears in the
```rich-tic-tac-toe ...
line, the height is adjusted before player execution. If it appears in the> play=...
line, the height is adjusted after player loading, so the user will see the height adjustment.
- The game board height (in pixels). If it appears in the
- play={mark} (optional)
- The next player (
o
orx
). The game is playable.
- The next player (
- maxbutton=1 (optional)
- Show the fullscreen button. In fullscreen mode, press the restore button or
ESC
key to return to normal mode.
- Show the fullscreen button. In fullscreen mode, press the restore button or
Example
A static (non-playable) game board:
.xo
xoo
x..
A playable game with the fullscreen button:
> play=x maxbutton=1
..o
...
...