What could be more polar opposites than chess and demolition derby. You would think that no one who enjoys one would enjoy the other... until today.
Rules
The starting position is a standard chess board:
RNBQKBNR
PPPPPPPP
PPPPPPPP
RNBQKBNR
Looks normal enough, until you find out it's an EVERY PIECE FOR ITSELF, LAST PIECE STANDING competition:
- On every turn, each piece on the board gets to make one randomly*-selected valid move (using it's standard move rules). However, the order the pieces move in is randomized every turn.
- A piece can capture ANY PIECE, even if it's the same color as it, even a king.
- Pawns can capture FORWARD, as well as diagonal. Moreover, like normal, if there is an empty space in front of it, a pawn can move two spaces on its first move (they can also capture that way.) Furthermore, pawns promote to any random piece (including king) other than a pawn.
- The winner is the last piece standing. However if after 1000 turns, there is more than one piece left, all of the remaining pieces are winners.
- No En Passants, Checks, Castles, etc.
Output
After every turn output the turn number, and what the board looks like. After a piece is killed it is removed from the board. After the first turn, the board may look like this:
1.
K
RBQ N BR
NP P P
PP P P
R PP
BPN PNP
K R
Q
After 1000 moves the board may look like this:
1000.
Q K
P N R
R B N
Q
And the game ends.
Or Maybe after 556 turns the board look like this:
556. R
So the game ends there.
*Please ensure all randomization done in this challenge is uniform (every possibility has an equal chance of occurring).
p
black andP
white is standard in FEN), because they move different directions. \$\endgroup\$