A little two-player roguelite chess game! How to play: 1) Each turn you start with 3 energy 2) Moving a pawn costs 1 energy 3) Moving a knight, rook, or bishop costs 2 energy 4) Moving your king or queen costs 3 energy 5) Each piece can only move once per turn 6) Once you run out of energy it becomes the other player's turn 7) You have 20 seconds to make each move, if you run out of time you lose the game Some of these rules can change over the course of the game All standard chess rules apply except for the two-square pawn move and castling. You only win once you capture the opponents king. Pawns can only promote to queens. Feel free to suggest mechanics I should try adding/changing Basic chess rules for those who do not know them (abridged from Wikipedia): 1) The king moves exactly one square horizontally, vertically, or diagonally. 2) A rook moves any number of vacant squares horizontally or vertically. 3) A bishop moves any number of vacant squares diagonally. 4) The queen moves any number of vacant squares horizontally, vertically, or diagonally. 5) A knight moves to one of the nearest squares not on the same rank, file, or diagonal. (This can be thought of as moving two squares horizontally then one square vertically, or moving one square horizontally then two squares vertically—i.e. in an "L" pattern.) The knight is not blocked by other pieces; it jumps to the new location. 6) A pawn moves straight forward one square, if that square is vacant. Pawns cannot move backwards. A pawn can capture an enemy piece on either of the two squares diagonally in front of the pawn. It cannot move to those squares. Some of these rules can change over the course of this game