Table of Contents
Welcome to BattleSquare, a turn-based, vanilla javascript, mobile friendly strategy game that pits you against the computer in a battle of strategy on an 8x6 chess-like board. Each player starts with half of the board in a mixed setup to prevent any initial 2x2 squares. The goal is simple: conquer the entire board to win.
The board is your battlefield. With turn-based gameplay, expand your influence by forming larger squares and employ frost mines to thwart your opponent's advances. Challenge yourself with one of the three difficulty levels against the computer.
- Turn-Based Gameplay: Make strategic moves with 1 default move per turn, plus additional moves for the larger squares you control.
- Expanding Influence: Gain extra moves by forming larger squares.
- Sneaky Obstacles: Use frost mines to protect your territory.
- Multiple Levels: Choose from 3 difficulty levels.
Begin by choosing your difficulty level and then make your moves to conquer the board. Use frost mines after your moves to create obstacles for the opponent. Victory is achieved by capturing all squares on the board.
- Starting the Game: Choose your difficulty level and begin with your half of the board.
- Making a Move: Click and drag from one square to another to make your move.
- Using Frost Mines: Plant or relocate frost mines after making your moves.
- Winning the Game: Conquer all squares to win the game.
Play BattleSquare online at BattleSquare.io. Test your strategy against our AI with no setup required.
To run BattleSquare locally, clone the repository to your machine, navigate to the project directory, and run the game with the command npx vite
.
$ git clone [repository-link]
$ cd [project-directory]
$ npx vite
Open your web browser and visit http://localhost:5173 to start playing!
BattleSquare was inspired by the classic strategic and tactical games of checkers and risk. May the best strategist win!