LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

nbreversi

terminal reversi (othello) game

TLDR

Play reversi against the computer
$ nbreversi
copy
Set AI difficulty level
$ nbreversi -p [5]
copy
Play two humans
$ nbreversi -1 h -2 h
copy
Play without replay prompt
$ nbreversi -n
copy

SYNOPSIS

nbreversi [options]

DESCRIPTION

nbreversi is a terminal-based Reversi (Othello) game from the nbsdgames collection. Players take turns placing discs on the board. When a disc is placed so that one or more of the opponent's discs are flanked in a straight line, those discs are flipped. The player with the most discs when no more moves can be made wins.Controls: arrow keys or hjkl to move cursor, ENTER to place a disc, q to quit. Mouse input is also supported.

PARAMETERS

-1 type

Set player 1 type: h (human) or c (computer).
-2 type
Set player 2 type: h (human) or c (computer).
-p depth
Set AI difficulty/search depth (1-127).
-n
Don't ask for replay after the game ends.
-h
Display help information.

PREVIEW

 . . . . . . . .
 . . . . . . . .
 . . . O X . . .
 . . . X O . . .
 . . . . . . . .

CAVEATS

Requires a terminal with ncurses support. Part of the nbsdgames collection.

HISTORY

nbreversi is part of nbsdgames, a package of 18 text-based terminal games created by abakh. Reversi was invented in 1883 by Lewis Waterman and later popularized as Othello by Goro Hasegawa in 1971.

SEE ALSO

nbcheckers(1), nbsos(1), nbmines(1)

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid