SpaceStones is a board game. The game board is a matrix of any size of cells; for example, a square matrix of eight rows and eight columns. Each cell of the matrix is a square of the board; and, each player in turn places his numbered stone into a unique cell by clicking the square under the cursor and entering his number. The game involves two or more players, each player in turn placing his numbered stone at the intersection of a row and a column of a game board.
The value of playing each stone is an addition of the number of spaces it bears on from its place in the row to the right edge of the row or until it runs into any stone in the row, plus the number of spaces it bears on from its place in the row to the left edge of the row or until it runs into any stone in the row, plus the number of spaces it bears on from its place in the column to the top of the column or until it runs into any stone in the column, plus the number of spaces it bears on from its place in the column to the bottom of the column or until it runs into any stone in the column.
When every player has played his stone, a round is completed. The number of rounds depends on the size of the board and the number of players. If you want half of the space open for counting, the number of rounds is equal to the size of the board divided by two and that divided by the number of players. For example, using a square 8×8 board, there are 64 spaces; half of that is 32 spaces. A game between one human player and a computer media player would require half of that, which is 16 rounds. A game among two players and a computer media on the same square 8×8 board would require 32 spaces divided by 3 players, which is rounded up to 11 rounds.
A computer media such as a computer processor or a computer disk always plays last. While counting the scores of each player at the end of each round, the computer media places its numbered stone against the side of that stone bearing on the most squares of a player not including the computer. (cf.,
In order to calculate the scores of each player, first the rows are scanned from top to bottom; each row is scanned from left to right. Each row contains a number of spaces until either the scan reaches the end of the row at once, in which case the spaces are thrown away, or a stone is found and the spaces attributed to that numbered stone. After that stone, the scanning resumes at zero and continues until either another stone is found, in which case the number of spaces is attributed to both the last stone and the found stone, or the end of the row is reached, in which case the spaces are attributed to the last stone. The same procedure is followed for the columns from left to right; each column scanned from top to bottom.