The Chess Variant Pages
Custom Search



Game Courier Settings by mageofmaple

The number after each settings link indicates how many sections for code have code. The maximum number is 7. Most games require only 5 for full rule enforcement, display of legal moves, and the spotting of check, checkmate, and stalemate. A game with only 2 or 3 probably enforces the rules but doesn't display legal moves or spot check, checkmate, and stalemate. A game with only 1 probably has some setting up at the beginning but doesn't enforce any rules. And a game with 0 simply functions as an inert game board upon which players may move pieces as they wish without any rule enforcement and without any display of legal moves.

Games

Apocalypse

Standard [0]

Asymmetric Chess

GS_Humans_Elves [0]

Backlash

TEST [5]
ver1 [5]

Bear Chess

alfaerie [5]
default [5]

Brouhaha

standard [0]
ver1 [2]

Callisto

default [0]

Capablanca Chess Different Armies

SS_vs_CC [5]

Capablanca Chess with Different Armies

CC_vs_SS [0]
SS_vs_CC [0]

Cataclysm

Alternate [0] Redirects to: Cataclysm
Cataclysm [0]
Default [0]
NewAlt [0]
Standard [0] Redirects to: Cataclysm
Test1 [0]

Chess with Chu Shogi Lions Test

Alternate [0]
Decimal [0]

Chess with Different Armies

Colorbound-Knights_MOM [5]
Colorbound-Rookies_MOM [5]

Chieftain Chess

gstrong [0]

Classical Chess

norules [3]
ver2 [3]

Dragonchess

greg [0]
test [0]

Duality Chess

standard [0]

Grand Betza

greg [0]
standard [0]

Grand Shogi

Motif-CSS [5]

GraTiA

basic [0]
ver2 [0]

GS Hex Chess A

default [0]

Hex Shogi Test

ver1 [0]

Hubbub

standard [0]
ver1 [2]

Janus Chess

JanusChessRev [0]

KyotoShogi

test [0]

Lion's Chess

Decimal [0]
LionsChess [0]

Lions and Unicorns Chess

Alfaerie [3]

Mitosis Chess

Alfaerie [5]
NoRules [3]

Nearlydouble Wildebeest

standard [0]

Ninja Chess

greg [0]

Odyssey

alfaerie [0]

Opulent Chess

Abstract [5] Redirects to: AbstractNew
AbstractNew [5]
Alfaerie [5] Redirects to: AlfaerieNew
AlfaerieNew [5]
NoRules [0]
test [5]

Pocket Mutation Chess

greg [5]
mageofmaple [0]

Shako

abstract [5]
newcazaux [5]
standard [5]

Shako_Balbo

standard [5]

Shatranj Kamil (64)

abstract [0]
alfaerie [5]

Sosarian Chess

Sosarian [0]
SosarianChess [0]
Standard [0]

Strong-X

StrongX [0]

Symmetric Chess

rules [5]
rules2 [0]

TenCubed Chess

Abstract [0]
Alfaerie [5]

The Great Campaign

Standard [0]

This is a Test

Alfaerie [0]

Underworld Chess

Alfaerie [0]

Victims Chess

JPG-Alfaerie [0]

Wildebeest Chess

Alfaerie [0]

Wizardry

default [0]

MySQL

This script queried the GameSettings table with the following prepared query:

SELECT * FROM GameSettings WHERE Author = :author ORDER BY Game

To avoid SQL injection, the values are passed separately. These are determined by the values in your URL's query string or by what is entered into the form at top. When you leave a field blank, it normally means that it will leave that field out of the query, not that it will search for an empty value. Here is a recreation of what the SQL query would look like with the placeholders replaced by the values:

SELECT * FROM GameSettings WHERE Author = 'mageofmaple' ORDER BY Game

The underlying MySQL is handled by MariaDB. A few fields give you multiple options for how to use them. You can search for an exact string match, an exact non-match, a LIKE match, which allows the use of a few wildcards, and a REGEXP match, which allows for very complicated pattern matching. Since these may slow down the search, they should be avoided unless you have a special need for them.


Written by Fergus Duniho
WWW Page Created: 27 August 2017