Skip to content

Miol-Mor/battle-game

Repository files navigation

BATTLE GAME

About

Battle-game is a multiplayer browser turn-based game written in Rust

Its purpose is to master our development skills in general and rust skills in particular

Install and run

To play the game, you have to download it and build and run it with docker-compose:

git clone https://github.com/Miol-Mor/battle-game.git
cd battle-game
docker-compose build
docker-compose up

After this frontend and backend will be running on your machine and you just have to connect to the game in the browser using this link: http://localhost:8080/dist/

The game will start when two players connect. The simplest way is to connect from two tabs

Game process

battle-game gameplay

There is a field with several units. Each unit belongs to one of two players. Players take turns in order. On each turn, player can move their unit and attack enemy unit. Player also can attack without movement or skip turn in any moment

You can find more gameplay information in wiki

Work in progress

  1. You can not configure game field or unit's initial location yet
  2. There is no login - game starts when to players connect
  3. Game should end when one of the players lost all their units, but it's not

More

This project is distributed under a MIT license

You can find more detailed information here

About

Multiplayer browser turn-based game

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •