Optima
by Michael Howe

In the early 1990s, influenced by my recent discovery of Robert Abbott's Ultima, I invented several chess variants that used differently-capturing pieces.  The most interesting of these was Optima, a game in which players used 10 pieces chosen from a pool of 20, ensuring that each game was different and that relative piece values were not necessarily constant.  When the program Zillions-of-Games came out, I realized that I finally had a chance to playtest Optima.  In he process of learning Zillions language and implementing Optima, I revised the rules, adding new pieces to the pool and balancing the game by adding guards, a unit intermediate in power between pawns and pieces.  The result, I hope, is a game that is both tactical and positional, with difficult and interesting decisions regarding piece exchanges, and virtually infinite in its combinational possibilities.  But all of that, of course, is for the players to judge.


Board:

Optima is played on a checkered board 10 squares wide and 10 squares deep.


Goal:

To win, a player must checkmate or stalemate the opposing king.  A threefold repetition of a given position is a draw.


Initial Position:

Each player has 10 pawns on his third rank, 10 guards on his second rank, and 10 pieces, one of which is the king, off the board.


Piece sets:

In the equal-forces game, each player has the same 10 pieces, one of which is the king.

In the unequal-forces game, each player has a king, and 18 additional pieces are selected and form a "pool" belonging to both players until the placement phase is complete.


Placement:

Equal-forces: starting with white, each player in turn places one of his pieces on his first rank until it is full.  White then makes the first move of the movement phase.

Unequal-forces: All placement is to each player's first rank.  White places his king.  Black then places his king and selects and places one piece from the pool.  Players then alternate placing two pieces from those remaining in the pool.  Placement ends with white placing the last remaining piece and then making the first move of the movement phase.

Pawns:

By default, pawns move one or two squares in the four orthogonal directions, and capture one square in the four diagonal directions.  A pawn that reaches the 10th rank must promote to a Wizard, which is the most powerful piece in the game and is only available by pawn promotion.

Players who wish to use other pawn rules may, by agreement, change to another of the allowed pawn definitions.   To do this in Zillions, they will have to manually edit the zrf file.


Guards:

By default, a guard moves and captures one or two squares in any direction.  Guards do not promote.  Players who wish to use other guard rules may, by agreement, select another of the allowed guard definitions.  To do this in Zillions, they will have to manually edit the zrf file.


Pieces:

The pieces move and capture as explained below, using references to orthodox chess pieces and to well-known variant pieces for clarity.  For those unfamiliar with the variant pieces to which I refer, brief definitions can be found below.

The pieces have a wide variety of powers, some of which are negated by certain piece attributes, as explained below.

"Proximity" capture means that a piece moves to an empty square and thereby captures enemy units on adjacent squares.  A piece that is "shielded" cannot be captured by proximity.

"Decimation" means that a piece makes a replacement capture and thereby captures enemy units on adjacent squares.  A unit that is "inert" can be captured, but such a capture does not result in decimation.

"Immobilization" means that a unit can neither move nor capture, although an immobilized immobilizer continues to immobilize others.  An "agile" piece cannot be immobilized.

"Rifle" capture means that piece captures an enemy unit where it stands, without moving.  An "armored" unit cannot be captured in this way.

"Conversion" is the ability of one piece to change an enemy piece into a friendly one by various methods.  A "loyal" piece cannot be converted.

The Pieces:

Admiral: moves and captures one or two squares like a queen; also captures all units adjacent to a captured unit, unless the unit that was captured is inert.

Agent: moves as a bishop or wazir; may leap along a diagonal line to the square immediately beyond an enemy unit, except a loyal piece, which converts the enemy unit into a friendly one.  When making a leaping conversion move, it may freely leap over any and all other units on that line.

Archer: moves and captures up to 3 squares like a queen and may also capture by shooting an enemy without moving, unless that enemy is armored.

Basilisk: moves and captures like a king or knight, and immobilizes any enemy unit, except agile pieces, a knight's move away.

Bastion: moves and captures like a ferz, dabbabarider, or slipping dabbabarider.  A slipping dabbabrider first moves one square orthogonally, and then continues in a series of two-square leaps in the same direction.  Shielded.

Battlement: moves and captures like a rook; also, moves one square orthogonally, turns at a right angle, and the moves or captures like a rook.

Berserker: moves and captures like a knight or wazir; also, all enemy units adjacent to the square of the capture are also captured, unless the unit that was captured is inert.

Cavalry: moves like a knight, or to any square than can be reached by first moving like a knight to an empty square and then moving like a knight again.

Centaur: moves and captures like a knight, bishop, or wazir.  Agile.

Chamberlain: makes one or two consecutive rook moves of one or two squares.  It may capture on either or both parts, but it cannot return to the square from which it started the move.  Loyal.

Charger: moves like a knight, but only to empty squares.  All enemy units adjacent to the square to which the charger moves are captured, unless they are shielded.

Chimaera: moves and captures like a rook and immobilizes any enemy unit, except agile pieces, a rook's move away.

Citadel: moves like a rook but only to empty squares.  Must stop at the first square it encounters that is adjacent to any enemy unit.  All enemy units adjacent to the square to which the citadel moves are captured, unless they are shielded.

Crusader: moves and captures like a king or knight.  Captured units are converted into friendly ones of the same type and placed on the square from which the crusader started its move.  Cannot capture loyal units.

Cyclops: moves and captures like a bishop and immobilizes any enemy unit, except agile pieces, a bishop's move away; it also moves without capturing one orthogonal square.

Dauphin: moves and captures like a queen, and can also leap exactly one unit while capturing like a queen.  Loyal

Deacon: moves like a wazir or bishop that may freely leap over any and all units.  Captures like a bishop with the added ability to leap exactly one unit while capturing.

Diplomat: moves up to 3 like a queen to empty squares; it converts enemy units (except loyal pieces) into friendly ones by approaching them; i.e., by moving directly toward then and stopping on an adjacent empty square.

Envoy: moves like a range-2 queen to empty squares; a one-square
orthogonal move converts all enemy units adjacent to the destination square, except loyal pieces.

Falcon: moves like a queen with unlimited hopping; it hops to an empty square immediately beyond an enemy unit to capture that unit.  Agile.

Fortress: moves and captures like a ferz or rook.  Also, all enemy units orthogonally adjacent to the square on which a capture is made are also captured, unless the unit that was captured is inert.

Frigate: moves and captures like a rook; also, all enemy units orthogonally adjacent to the square to which it moves or captures are also captured.  Enemy shielded units are not captured by a move to an empty square, and capturing an inert unit results in no adjacent captures.

General: moves like a queen and freely leaps any number of pieces when moving; it must hop exactly one piece when capturing.  Shielded.

Gorgona: moves like a queen and cannot capture; it immobilizes all enemy units a queen's move away, except agile pieces.

Hero: moves and captures by leaping up to 3 squares orthogonally or diagonally.  Agile.

Inquisitor: moves like a bishop to an empty square; it captures all enemies adjacent to its destination square except shielded ones; it must stop on first square it reaches that has an adjacent enemy.

Juggernaut: slides up to three squares like a queen, capturing all enemy units in its path.  It stops only at the player's choice or if it encounters the edge of the board or a friendly unit.  Agile.

Keep: moves like a king or rook; converts enemies by orthogonal approach or by 1-square orthogonal swap.  Approach means moving directly toward an enemy unit and stopping on an adjacent empty square; the enemy unit then becomes a friendly one.  To swap convert, the keep makes a one-square capture of the enemy piece, which is then converted into a friendly one and placed on the square from which the keep moved.  Approaching a loyal unit has no effect; neither may a loyal unit be swap-converted.

Kite: moves like a wazir or a bishop with the ability to hop any and all units on the diagonal.  If it moves to an empty square immediately beyond an enemy unit, that unit, and all others in a continuous line with it along the diagonal, are captured.

Lancer: moves and captures like a king or knight; it can also capture by shooting an enemy while remaining in place, unless that enemy is armored.

Marshal: moves and captures like a rook, knight, or ferz.  Shielded.

Medusa: leaps to the first or second square orthogonally or diagonally to capture, may move like a queen when not capturing, and immobilizes all adjacent enemy units, except agile pieces.

Minister: makes one or two consecutive bishop moves of one or two squares.  It may capture on either or both parts, but it cannot return to the square from which it started the move.  Can also move and capture like a wazir.  Loyal.

Nomad: moves and captures like a knightrider, dabbabarider, or alfilrider.  Agile.

Owl: moves like a rook with the ability to hop any and all units on the rank or file.  If it moves to an empty square immediately beyond an enemy unit, that unit, and all others in a continuous line with it along the rank or file, are captured.

Parapet: moves like a rook that may freely leap over any and all units.  Captures like a rook with the added ability to leap exactly one unit while capturing.

Patriarch: moves like a bishop to an empty square; then turns 90 degrees and moves/captures like a bishop again.  It cannot stop after a single bishop move.  It can also move and capture like a wazir.

Prelate: moves and captures like a bishop; also, moves one square diagonally, turns at a right angle, and moves or captures like a bishop.  May also move and capture like a wazir.

Princess: moves and captures like a knight or a range-3 queen.  Loyal.

Queen: moves and captures like a chess queen. Loyal.

Ranger: moves and captures in a zig-zag series of wazir-steps, turning at a right angle after each step; for example, north-east-north-east, etc. 

Regent: moves to empty squares like a range-3 queen but must stop at the first square that as an adjacent enemy unit.  All enemy units adjacent to the destination square are captured, except those with the shielded attribute.

Scout: moves and captures like a wazir, or in a zig-zag series of ferz-steps, turning at a right angle after each step; for example, northeast-northwest-northeast-northwest, etc.  Agile.

Shaman: moves and captures like a wazir or bishop.  Also, all enemy units adjacent to the square on which a capture is made are also captured, unless the unit that was captured is inert.

Sloop: moves like a noncapturing wazir; moves and captures like a bishop; all enemy units diagonally adjacent to the square on which a bishop-type move or capture are made are also captured.  Enemy shielded units are not captured by a move to an empty square, and capturing an inert unit results in no adjacent captures.

Spearman: moves and captures like a rook, and may capture an enemy without moving, unless that enemy is armored.

Spy: moves as a rook; may leap along an orthogonal line to the square immediately beyond an enemy unit, except a loyal piece, which converts the enemy unit into a friendly one.  When making conversion, the spy may freely leap over any and all other units on that line.

Swordsman: moves and captures like a wazir or bishop, and may capture a bishop's move away without moving, unless that enemy is armored.

Tower: moves like a rook to an empty square; then turns 90 degrees and moves/captures like a rook again.  It cannot stop after a single rook move.

Vicar: moves like a king or bishop; it converts enemies by diagonal approach or by 1-square diagonal swap.  Approach means moving directly toward an enemy unit and stopping on an adjacent empty square; the enemy unit then becomes a friendly one.  To swap convert, the vicar makes a one-square capture of the enemy piece, which is then converted into a friendly one and placed on the square from which the vicar moved.  Approaching a loyal unit has no effect; neither may a loyal unit be swap-converted.

Viceroy: makes one or two consecutive king-type moves.  It may capture on either or both parts.

Wizard: moves and captures like a queen; immobilizes adjacent units (except agile pieces); one-square moves to empty squares result in adjacent captures of all non-shielded units; one-square captures result in adjacent captures unless the unit captured was inert.

Yeoman: moves and captures like a wazir, ferz, knight, or camel.  Shielded.



Variant piece descriptions:
Wazir: one square like a rook
Ferz: one square like a bishop
Camel: like a knight, but the rectangle is 2x4 instead of 2x3
Dabbaba: two squares like a rook, leaping over the first square.
Alfil: two squares like a bishop, leaping over the first square.
Knightrider: any number of consecutive knight moves in a single direction.
Dabbabrider: any number of consecutive dabbaba moves in a single direction.
Alfilrider: any number of consecutive alfil moves in a single direction.



A note on the graphics:
I have tried to be consistent and logical with the graphics so that players, with some experience, can recognize the abilities of the pieces at a glance.  Bishop, rook, knight, and queen shapes have been used for pieces that have those predominant movement and capturing patterns.  Double movers have double shapes.  The prelate is a triple bishop to represent its ability to move along three adjacent diagonals, and the battlement is a wide rook to represent the same idea orthogonally.  Some pieces, like the general, hero, juggernaut, falcon, patriarch, tower, and yeoman have unique graphics.  Certain symbols have been used for special abilities: diamonds for converters; concentric circles for immobilizers; arrows for rifles; solid asterisks for decimators; hollow asterisks for proximators; three parallel lines for replacer/hoppers; infinity sign for fliers that capture a line of units; jagged line for crooked-sliders; dagger for flying-converters.  I welcome feedback that might help make the graphics easier to understand and more attractive.




Using the ZRF files:

Separate ZRF files are provided for playing between equal forces and between unequal forces.  By default, the ZRF files include standard pawns (two square orthogonal move in any direction, one square diagonal capture in any direction), standard guards (move and capture one or two squares in all directions), and a selection of pieces.  The ZRF was written with every intention that the user would modify it, though, since Optima is by its nature an effectively infinite set of variants.

To play with different piece sets, find the section at the top of the ZRF that starts (define piecelist -- below this you will find the names of the pieces to be used in the game, followed by an "off 1" command.  Each line either does or does not start with a semicolon.  To change the pieces in the game, simply put semicolons in front of the pieces you wish to exclude, and remove the semicolons for the pieces you wish to active.  This procedure is the same for both the Optima1 and Optima2 ZRFs, although you will need 9 lines devoid of semicolons for Optima1 and 18 for Optima2.

To set the pawn rule, follow a similar procedure in the following section that starts (define pawn-movement -- remove one semicolon from the beginning of the line of the pawn movement rule you wish to use, and make sure all other lines have semicolons.  Do not remove the semicolons in front of the explanations that follow the parentheses.  Then repeat for the (define pawn-capture section.  The various pawn movement and capture rules are:

Pawn movement:
(pawn-move-W) -- pawns move one square in any orthogonal direction.
(pawn-move-R2) -- pawns move one or two squares in any orthogonal direction.
(pawn-move-FW) -- pawns move one square in all directions.
(pawn-move-H) -- pawns move like non-leaping chess knights, first moving on square orthogonally, then one diagonally away from the original square, but without the ability to leap if the orthogonal square is occupied.
(pawn-move-WL) -- pawns move one square in any orthogonal direction or leap an occupied square to move to the second square orthogonally.
(pawn-move-WJ) -- pawns move one square in any orthogonal direction or leap an occupied square to move to the second square diagonally.
(pawn-move-FWL) -- pawns move one square in any direction or leap an occupied square to move to the second square orthogonally.
(pawn-move-FWLJ) -- pawns move one square in any direction or leap an occupied square to move to the second square in any direction.
(pawn-move-HL) -- pawns have the "H" type movement or may leap an occupied square to move to the second square orthogonally.

Pawn capture:
(pawn-capture-F) -- pawn captures one square in any diagonal direction.
(pawn-capture-W) -- pawn captures one square in any orthogonal direction.
(pawn-capture-FW) -- pawn captures one square in any direction.
(pawn-capture-FJ) -- pawn captures one square in any diagonal direction or leaps an occupied square to capture a piece two squares away diagonally.
(pawn-capture-FL) -- pawn captures one square in any diagonal direction or leaps an occupied square to capture a piece two squares away orthogonally.
(pawn-capture-WJ) -- pawn captures one square in any orthogonal direction or hops an occupied square to capture a piece two squares away diagonally.
(pawn-capture-WL) -- pawn captures one square in any orthogonal direction or hops an occupied square to capture a piece two squares away orthogonally.
(pawn-capture-WC) -- pawn captures one square in any orthogonal direction, or captures a diagonally adjacent piece by jumping it and landing on an empty square immediately beyond.
(pawn-capture-FT) -- pawn captures one square in any diagonal direction, or captures an orthogonally adjacent piece by jumping it and landing on an empty square immediately beyond.
(pawn-capture-TC) -- pawn captures an adjacent piece by jumping it and landing on an empty square immediately beyond.
(pawn-capture-LT) -- pawn leaps an occupied square to capture a piece two squares away orthogonally, or captures an orthogonally adjacent piece by jumping it and landing on an empty square immediately beyond.
(pawn-capture-JC) -- pawn leaps an occupied square to capture a piece two squares away diagonally, or captures a diagonally adjacent piece by jumping it and landing on an empty square immediately beyond.
(pawn-capture-LC) -- pawn leaps an occupied square to capture a piece two squares away orthogonally, or captures a diagonally adjacent piece by jumping it and landing on an empty square immediately beyond.
(pawn-capture-JT) -- pawn leaps an occupied square to capture a piece two squares away diagonally, or captures an orthogonally adjacent piece by jumping it and landing on an empty square immediately beyond.

There are therefore 126 different possible ways to define a pawn.  For players who wish to use two types of pawns in the same game, a "Footman" section is provided in the ZRF.  Those who wish to use it should delete all of the leftmost semicolons in each line of this section.  Players can then enter the one of the movement macros listed above in the "moves" section of the Footman section (default is (pawn-move-FW) (pawn-capture-W) ).  Players will then have to go to the "board-setup" section and specify which squares will start with pawns and which with footmen.  Any number of different pawns can be used in this way, although only two different names and graphics are currently provided.

To set the guard rule, follow a similar procedure in the following section that starts (define guard-rule -- remove one semicolon from the beginning of the line of the guard rule you wish to use, and make sure all other lines have semicolons.  Do not remove the semicolons in front of the explanations that follow the parentheses.  The various guard rules are:

Q2 (standard) -- guard moves and captures two squares in any direction.
R3F -- guard moves and captures three squares orthogonally or one square diagonally.
B3W -- guard moves and captures three squares diagonally or one square orthogonally.
FWD -- guard moves and captures one square in any direction or two squares orthogonally, leaping an occupied square if necessary.
FWA -- guard moves and captures one square in any direction or two squares diagonally, leaping an occupied square if necessary.
FWDA -- guard moves and captures one or two squares in any direction, leaping an occupied square if necessary.
WN -- guards moves like a chess knight, or one square orthogonally.
FN -- guards moves like a chess knight, or one square diagonally.
FWN -- guards moves like a chess knight, or one square in any direction.
WH -- guards moves one square orthogonally or like a chinese chess horse (i.e., one square orthogonally followed by one diagonally still moving away from the original square; no leaping on the orthogonal step).
FH -- guards moves one square diagonally or like a chinese chess horse.
FWH -- guards moves one square in any direction or like a chinese chess horse.


