Shisen-Sho

Shisen-Sho (四川省, Shisenshō; "Sichuan Province"), sometimes referred to as 'Shisen', 'Four Rivers' or simply 'Rivers,' is a Japanese tile-based game which uses Mahjong tiles, and is similar to Mahjong solitaire. The objective of the game is to match similar tiles in pairs until every tile has been removed from the playing field. Numerous computer based versions of the game have been developed.

Shisen-Sho computer game, running on KDE 4.0.5

Rules

The aim of the game is to remove all tiles from the board. Only two matching tiles can be removed at a time. Two tiles can be removed if they can be connected by up to three horizontal or vertical lines which pass only through empty spaces. The game is over if future moves are not possible and tiles are left on the board, or the player successfully removes all the tiles.

gollark: ```c int apio[100] = {0,1,0,0,0,1,0,0,0,1,0,1,0,1,0,1,0,1,0,0,0,1,0,1,0,1,0,1,1,0,0,1,0,1,0,1,0,1,0,0,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,0,0,1,0,1,0,1,0,1,1,0,0,1,0,1,0,1,0,1,0,0,0,1,0,1,0,1,0,1,0,1,0,0,0,1,0,0,0,1,0,0};```
gollark: `3 3 3 3 3 3 3 3 3 2 2 1 1 1 1 1 1 1 1 1 2 2 3 3 3 3 3 3 3 3 3 2 2 1 1 1 1 1 1 1 1 1 2 2 3 2 3 3 4 3 3 2 3 3 4 3 3 2` is the output on the basic case I used.
gollark: Yep, it works.
gollark: Is what I would say if I didn't have a good test suite, but I have a basic one.
gollark: I don't have a good test suite for C.

See also


This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.