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)

Copied to clipboard
Kai