Command elite units on an 11x11 grid where chess meets modern warfare. Master advanced tactics, exploit unique unit abilities, and shape your path to victory or defeat in this thrilling strategic challenge. Are you ready to conquer the strategic frontiers?
Game units and rules: https://lordghostx.github.io/battlegrid/#game-units
Live preview: https://lordghostx.github.io/battlegrid/demo/
- Undo Move: Reverts the last move(s) made by any player
- Skip Turn: Enables players to skip their turn if desired
- Export Moves: Generates a custom PGN format string representing the current gameplay
- Import Moves: Imports gameplay from a string provided by the Export Moves function
- Restart Game: Resets the entire gameplay. To preserve your progress, use the Export Moves function beforehand
- Modeled after chess pawns
- Can advance 1 or 2 squares forward on each move, unlike chess pawns with fixed subsequent moves
- Executes diagonal captures, reaching up to 2 squares to eliminate enemy units
- Modeled after chess rooks
- Can advance and capture both vertically and horizontally without step limitations
- Modeled after chess knights
- Can advance and capture in the classic 2+1 L-shape or an extended 3+1 L-shape pattern
- Newly introduced piece, taking inspiration from a mini-queen (princess)
- Can advance and capture two squares in any direction (vertical, horizontal, diagonal), with a fixed range of 2 squares
- Can also leap over units like Ghost (♘ ♞)
- Modeled after chess bishops
- Can advance and capture diagonally without step limitations
- Can also advance in any direction but limited to a single square
- Cannot capture except only diagonally
- Modeled after chess queens
- Can advance and capture in any direction without step limitations
- Modeled after chess kings
- Can advance and capture in any direction but limited to a single square at a time
- The game concludes when this unit is captured or checkmated
- Players have the option to skip their turn if they choose to do so
- The game is won by any player whose Command Center (♔ ♚) reaches the hill located at block F6
- The game can be concluded either by capturing or checkmating the opponent's Command Center (♔ ♚)
- There is no preference for which team plays first; it can be determined by mutual agreement or random selection
- Players are free to arrange their units in any formation, limited to the first three rows at the top and bottom of the board (excluded in this demo)
# Clone the project
git clone https://github.com/LordGhostX/battlegrid
# Go to the project directory
cd battlegrid/demo
# Open the index.html file
[open/start] index.html
Contributions are always welcome!
If you have new features to introduce or bugs to squash, kindly submit a Pull Request (PR) to make your mark. Your participation is highly appreciated.