xshisen(6)
β¨ xshisen(6) β¨
okay bestie, this is the xshisen man page β it lives in the Games Manual section of the X11 docs, so like, it's the official lore for a puzzle game. sit down, grab a snack π, we're doing this.
πΈ NAME πΈ
xshisen β a Shisen-sho puzzle game for X11, no cap π
π SYNOPSIS π
xshisen [ options ]
π¦ DESCRIPTION π¦
so xshisen is a puzzle game for X11, and it's giving extremely "Shang-hai" (the famous one, iykyk). your whole goal, your entire main character arc, is to remove every single piece from the board π
two pieces can be yeeted when they're the same picture and they can be connected by at most three vertical or horizontal line segments that don't cross any other tile. that's the whole vibe check.
heads up bestie: xshisen needs a pointing device, like a mouse. it literally cannot be controlled with only a keyboard. not even a little. π
π RULES π
the game is over when you remove all the pieces on the board. the pieces can be removed only when both of these are true:
- the 2 pieces have the same picture
- the 2 pieces can be connected with up to 3 lines which do not go over other pieces
ngl that sounds hard, but it's way easier than the words make it sound. the "Auto-demo" mode is highkey the move if you wanna actually get the rule π«Ά
π Score π
your best scores get recorded in the xshisen-scores file, inside the directory specified by the XSHISENLIB environment variable. if that env var isn't set, the X resource libDirectory is what counts instead.
not me being the bearer of bad news but π the score will not be recorded if you use even one of"Back","Search", or"Restart". one. single. one. that's the rule, periodt.
β¨ OPTIONS β¨
here's everything you can pass in. the following command line options are available:
- standard Xt options β
xshisenaccepts standard toolkit options, like-displayor-iconic. the classics π -demoβ Auto-demo mode. you can't actually play in this mode, but the game will proceed by computer automated algorithm. it's so useful for understanding the rules, fr fr.-scoreβ just displays the best score dialog and exits. that's it, that's the whole thing.-magnumber β magnifies the main window by number times. the standard window is640x400. number may be a decimal, but the range is limited from0.5to the display size.-fnfontlist β use fontlist for menubar and times.-largeβ play the double sized game. game size can be changed with the menubar after you startedxshisen. each game size has its own independent best time records π-hugeβ play the quadruple sized game. game size can be changed with the menubar after you startedxshisen. each game size has its own independent best time records π-trialβ play as "Click Trial" mode. you can measure your mouse operation speed with this feature. gamer reflexes check π€-gravityβ enable gravity effect. all the pieces above the removed pieces will fall down. it's giving physics, it's giving chaos π¦
π RESOURCE π
the following resources are available:
XShisen*fitPixmapβ if this value isTrue, the initial window size will be automatically calculated with the pixmap data size. when this value isFalse, the initial window size is determined by thewidthandheightresources β and in that case the pixmap data will be resized. default value isTrue.XShisen*widthβ width of the initial window. this resource is ignored when thefitPixmapresource is set toTrue. default value is640.XShisen*heightβ height of the initial window. this resource is ignored when thefitPixmapresource is set toTrue. default value is400.XShisen*scoreFileβ this resource specifies the score file name. this file name must not contain the directory name. default value is"xshisen-scores".XShisen*connectLineTimeβ the delay time in mili-seconds between when you clicked the pair and the pair is actually removed from screen. this value should be big enough for beginners, but experts may want this value smaller in order to play quickly. default value is1000mili-seconds.XShisen*connectLineColorβ this specifies the connection line color which appears when pieces are being removed. default value is"blue".XShisen*connectLineWidthβ this specifies the connection line width in pixel. default value is6.XShisen*backgroundβ background color. default value is#004000.XShisen*libraryDirectoryβ the directory where the pixmap data and the best score file is located. this resource is ignored when you specify theXSHISENLIBenvironment variable.XShisen*drawing.translationsβ button binding setting for your mouse. default is:
<Btn1Down>: #replace PickupPiece() \n <Btn3Down>: CancelPiece()
π MENU BAR AND KEYBOARD π
- Start (Control + D) β starts a new game. the pieces are located at random position. fresh board, fresh vibes β¨
- Restart (Control + R) β restarts the current game. the time of the restarted game will not be recorded as the best score.
- Pause (Control + P) β pauses the game. the time count will be stopped, but also the pieces picture will be hidden. you can resume your game to do
"Pause"again. - Exit β exits the Shisen-sho. bye bestie π«Ά
- Search (F1) β teaches the pair you can remove now. you can use
"Search"anytime, but the time will not be recorded as the best score if you use"Search"even once. so like, pick your moment π - Back (F5) β backs one step. the time will not be recorded if you use
"Back".
π MOUSE CONTROL π
the following mouse control is available. you can change mouse button bindings with the XShisen*drawing.translations resource.
- Button 1 β specifies the piece to remove. you can cancel the selection when you click the selected piece again.
- Button 3 β cancels the selected piece. you can use button 3 after
"Search", which cancels the search result.
π AUTHORS π
- Shisen-sho for X11: Masaoki Kobayashi
- Picture: Takayuki Akiyama
π COPYRIGHT π
XShisen Copyright 1995,1996,1999,2002 by Masaoki Kobayashi <masaoki@techfirm.co.jp>. Picture#1 Copyright by Takayuki Akiyama <taco3@ybb.ne.jp>. Picture#2 Copyright by Mario Weilguni <mweilguni@sime.com>. See LICENSE file for detail.
and that's the whole page, babe π this one's from X Version 11, dated Oct 6, 1995 β yes, before most of us were even a thought, and it's still iconic. go play, and remember: no "Back", no "Search", if you want that score to count πβ¨
π¦ where this page comes from
- debian trixie: xshisen 1:1.51-11 Β· BSD-3-Clause
- ubuntu questing: xshisen 1:1.51-11
- ubuntu resolute: xshisen 1:1.51-11build1 Β· BSD-3-Clause
- ubuntu stonking: xshisen 1:1.51-11build1 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms