# Class Warfare Chess

Player:

Update: I've created a much better version of this game, including online multiplayer and an AI at uprisingchess.web.app

Welcome to Class Warfare Chess! The game where the pawns try to rise up and the non-pawns try to keep them in their place. Gameplay is similar to regular chess with a few variations:

1. The game is played on only one half of the board (8x4), with one row of proletariat pieces (pawns) on one side and the opposite color's bourgeoisie pieces (non-pawns) on the other side.
2. Proletariat pieces (pawns) move like regular pawns.
3. For bourgeoisie pieces (non-pawns), we refer to the squares opposite to their type's starting position as that type's "factory squares." When both of the factory squares for a given type are occupied, then those bourgeoisie pieces move as in normal chess. However, if either factory square is empty, then the corresponding type moves just like a regular pawn. For example, both bishops can move like bishops only if the squares opposite to both bishops (the bishops' factories) are occupied. If either of those two positions are not occupied, then both bishops operate like pawns. Note that any piece may occupy the factory to keep it running, including other bourgeoisie pieces.
4. The queen's factory squares are the ones across from her and the king. The king has no factory and always moves like the king.
5. If a proletariat piece is captured when in a column with an unoccupied factory square, then the proletariat will not be removed from the board. Instead it will just be returned to the factory square. However, if the column's factory square is already occupied, then the proletariat is removed from play when captured.
6. If a proletariat piece reaches the farthest row then it can move side-to-side along the back one square at a time for both capturing or moving. However, it cannot move off the back row.

For pawns, The goal of the game is to capture the king. For the bourgoisie, the goal is to keep the status quo for as long as possible until the proletariat surrenders. For a more detailed explanation, check out this post. Enjoy the struggle comrades!

Built by Will Stedden. Feel free to send me questions or let me know if there are bugs in the game.