https://github.com/lelserslasers/othello-cli
Play or watch Othello in your terminal!
https://github.com/lelserslasers/othello-cli
cli crates-io game itch-io othello reversi rust terminal
Last synced: 3 months ago
JSON representation
Play or watch Othello in your terminal!
- Host: GitHub
- URL: https://github.com/lelserslasers/othello-cli
- Owner: LelsersLasers
- Created: 2022-08-04T23:15:30.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2024-08-28T21:46:02.000Z (about 1 year ago)
- Last Synced: 2025-06-12T12:54:18.630Z (4 months ago)
- Topics: cli, crates-io, game, itch-io, othello, reversi, rust, terminal
- Language: Rust
- Homepage: https://lelserslasers.itch.io/othello-cli
- Size: 247 MB
- Stars: 6
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# othello-cli
othello-cli is a cli version of Othello (Reversi) written in Rust.
You can play against another player, the AI, or watch two AIs play each other.https://user-images.githubusercontent.com/48894200/183278088-707948e6-55cf-4346-bb36-961a3c0321e8.mp4
crates.io link: https://crates.io/crates/othello-cli
```
>>> othello-cli help
Usage: othello-cli [options]
Options:
h, help Show this help message
b, black Set black to be controlled by the user
w, white Set white to be controlled by the user
bc, black-color Set the color of black to be a custom color
default: green
format: 'othello-cli black-color r g b' where r, g, and b are integers from 0-255
wc, white-color Set the color of white to be a custom color
default: red
format: 'othello-cli white-color r g b' where r, g, and b are integers from 0-255
mc, marked-color Set the color of the valid moves to be a custom color
default: cyan
format: 'othello-cli marked-color r g b' where r, g, and b are integers from 0-255
bp, black-piece Set the piece for black to be a custom character
default: X
format: 'othello-cli black-piece c' where c is a single character
wp, white-piece Set the piece for white to be a custom character
default: O
format: 'othello-cli white-piece c' where c is a single character
t, time Set the milliseconds the AI waits before making a move
default: 750 ms
format: 'othello-cli time ms' where ms is a positive integer
```Rules of Othello: https://www.eothello.com/#how-to-play

