PHALANX(6)

πŸ’– PHALANX(6) πŸ’–

okay bestie, welcome to the Games Manual page for phalanx(6) β€” yes that's the manual name, and yes you're in the right place. sit down, grab a strawberry πŸ“, and let's talk about a chess program that's lowkey iconic.


✨ NAME ✨

Phalanx β€” a chess playing program, and honestly? it ate. πŸ‘‘


πŸ¦‹ SYNOPSIS πŸ¦‹

phalanx [options] [<moves> <minutes> [<increment in seconds>]]
phalanx [options] [<seconds per move>]
phalanx bench
phalanx bcreate [options]

like, four whole ways to summon it. pick your fighter. πŸ’…


🌸 DESCRIPTION 🌸

so this manual page is a lil brief tour of the phalanx program, and ngl it exists specifically because it was written for the Debian GNU/Linux distribution (though other people are totally allowed to use it too) β€” the way the original program just... doesn't have a manual page. not a single one. so we made one. you're welcome. 🫢

phalanx is a chess playing program. it is partially xboard compatible, iykyk. under xboard, it can play games, force & undo moves, and show thinking. but β€” and this is the important part, bestie β€” in this version, you cannot set positions with xboard. that's just how it is. don't try it. 😭

it is also possible to run phalanx without xboard, which is giving independent main character energy. do phalanx -? to get a list of command line options. one important command of phalanx's ASCII interface is help. ✨

phalanx uses the (traditional) 10x12 board implementation. there are three often used board implementations, and the girlies keep bringing them up:

  • "8x8" (GNU Chess)
  • "bitboard" (Crafty)
  • "10x12" (Nimzo, Phalanx)

in short β€” and this is the whole vibe β€” "10x12" is easy to implement and the code is small (== fast on PC). the opening book is small, simple, and hand-written. no cap. πŸŽ€


πŸ’… OPTIONS πŸ’…

okay this is the part everyone skips and then wonders why nothing works. don't be that girl. read them all. ⭐

  • -t <transposition table size in kilobytes> β€” sets the transposition table size, in kilobytes.
  • -f <fixed search time in seconds> β€” sets a fixed search time, in seconds.
  • -x <+/- > β€” xboard mode on/off. default: on.
  • -p <+/- > β€” permanent brain on/off. default: off.
  • -s <+/- > β€” show thinking on/off. default: off.
  • -c <+/- > β€” cpu time. default: off.
  • -o <+/- > β€” polling input. default: on.
  • -b <+/- > β€” opening book. default: on.
  • -r <resign value in centipawns> β€” default: 0 (no resigning).
  • -e <easy level 0...100> β€” default: 0 (best play).
  • -l <+/- > β€” learning on/off. default: on.
  • -v β€” print version and exit.
  • -P <primary book directory> β€” sets the primary book directory.
  • -S <secondary book directory> β€” sets the secondary book directory.
  • -L <learning file directory> β€” sets the learning file directory.
  • -g <log file name> β€” sets the log file name.
friendly reminder bestie: those +/- ones are literally the characters + and -. plus means on, minus means off. the -o - in the examples below is not a typo, it's the vibe. πŸ’€

🌈 EXAMPLES 🌈

here's how the girlies actually run it:

phalanx -c+ -s+ -o - -x- -f 60 -t4000
xboard -fcp "phalanx -l+ -r800"

that second one is a whole mood. πŸ”₯


🧚 SEE ALSO 🧚


πŸ‘‘ AUTHOR πŸ‘‘

Phalanx was written by Dusan Dobes <dobes@math.muni.cz>. πŸ’œ

This manual page was written by Stephen Stafford <bagpuss@debian.org> for the Debian GNU/Linux project, but may be used by others. It was written with the assistance of help2man(1) and then edited slightly to clean it up. πŸŽ€


and that's the whole page, bestie! this was Phalanx XXII, dated May 2001 β€” yes, she's an elder icon and she still slays. go play some chess. mwah. πŸ’–βœ¨πŸ¦‹πŸŒΈπŸ«Ά