Skip to content

thiagokroger/battlesquare

Repository files navigation

BattleSquare game

BattleSquare

📖 Table of Contents

Table of Contents
  1. ➤About The Project
  2. ➤ Game Overview
  3. ➤ How to Play
  4. ➤ Live Version
  5. ➤ Local Setup
  6. ➤ Acknowledgements

-----------------------------------------------------

📝 About The Project

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.

-----------------------------------------------------

☁️ Game Overview

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.

-----------------------------------------------------

🎮 How to Play

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.

  1. Starting the Game: Choose your difficulty level and begin with your half of the board.
  2. Making a Move: Click and drag from one square to another to make your move.
  3. Using Frost Mines: Plant or relocate frost mines after making your moves.
  4. Winning the Game: Conquer all squares to win the game.

-----------------------------------------------------

🌎 Live Version

Play BattleSquare online at BattleSquare.io. Test your strategy against our AI with no setup required.

-----------------------------------------------------

🔧 Local Setup

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!

-----------------------------------------------------

📜 Acknowledgements

BattleSquare was inspired by the classic strategic and tactical games of checkers and risk. May the best strategist win!

-----------------------------------------------------

About

Vanilla Javascript, mobile-friendly, turn-based strategy game

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published