Add the second brainstorm (!9)
All checks were successful
Rust Checks / checks (push) Successful in 35s

Co-authored-by: Bijunoka
Reviewed-on: corentin/border-wars#9
Reviewed-by: Raphaël <r.lauray@outlook.fr>
Reviewed-by: Tipragot <contact@tipragot.fr>
Co-authored-by: corentin <solois.corentin@gmail.com>
Co-committed-by: corentin <solois.corentin@gmail.com>
This commit is contained in:
CoCo_Sol 2024-01-31 06:06:37 +00:00 committed by Corentin
parent 5037929d4b
commit 59155b9cca
2 changed files with 145 additions and 59 deletions

View file

@ -1,79 +1,41 @@
# Border Wars
Border Wars is a turn-based online strategy game where players compete to conquer territories and expand their medieval kingdom. The game incorporates various elements outlined in all brainstorm:
## Brainstorm
## Brainstorms
If you want to know more about our reflexions check this : [all brainstorms](docs/brainstorms/).
## 1. Soldier System
## The game
- **Move Management**: Players can strategically move their troops across the hexagonal grid.
- **Fighting**: Engage in battles by selecting our army to attack.
We've decided to make an turn based online game named : **Border Wars**
## 2. Building
Code in rust using Bevy
- **Upgradeable Buildings**: Structures such as the Castle, Barracks, Outpost, Mines, Sawmills, Breeding Farms, and Towers can be upgraded to enhance their capabilities. If you want to see each upgrade of each buildings, check the [second brainstrom](docs/brainstorms/brainstorm2.md#building)
- **Destruction and Construction**: Players can gain resources and build their own structures within their territory with a limited number of workers.
- **Usage of Buildings**: Each building serves a specific purpose, from troop recruitment to resource generation. Players must manage their buildings efficiently to strengthen their kingdom. If you want to see each usage of each buildings, check the [second brainstrom](docs/brainstorms/brainstorm2.md#building)
## Building list
## 3. Villager Management
```mermaid
mindmap
root((Buildings))
("Castle</br>
The main building of your army, you must protect it")
("Casern</br>
Train troop")
("Tower</br>
Defend your territory")
("Wall</br>
A pasive defence that block every soldier")
("Outpost</br>
A *teleporter* like")
[Farms]
("Mine</br>
Allow you to gain stone each turns")
("Sawmill</br>
Allow you to gain wood each turns")
("Breeding</br>
Allow you to gain food each turn")
```
- **Castle Management**: Players can assign villagers to different professions within the Castle, such as Explorers, Worker or Neutral
## Game Modes
## 4. Conquest
```mermaid
mindmap
root((Game Modes))
("1v1</br>
The classic mode")
("2v2</br>
A funny mode 2v2")
("History mode</br>
A mode to understand why")
("1vIA ?</br>
A when you don't have friends")
```
- **Territory Control**: Players aim to conquer and control hexagonal territories on the map.
- **Explorers**: Special units can be deployed to explore unclaimed territories and expand the kingdom's borders.
- **Membership Change**: Players can switch the ownership of territories through conquest or diplomacy.
## 5. Main Menu System
## Style
- **Settings**: Players can adjust game settings and preferences.
- **Game Modes**: Choose from various modes including 1v1, 2v2, 1vAI, and History Mode.
We think to made our game in 2D iso with hexagons.
the overall theme will be fairytale medieval.
## Additional Features
## Different troop
```mermaid
mindmap
root((Troop))
("No Name</br>
A classic troop")
("No Name</br>
A troop with a great deal of experience but not much power")
("No Name</br>
A troop with great power but little scope for expansion")
```
## Balancing
In the future, we'll have to make sure that each troop is both different and balanced.
- **Balancing**: Ongoing efforts to ensure each troop type and building is balanced for fair gameplay.
- **Visual and Audio**: Immersive 2D isometric graphics with a fairytale medieval theme and accompanying sound effects and music.
## Our team

View file

@ -0,0 +1,124 @@
# Brainstrom
## Contents
1) [Soldier system](#system-de-soldats)
2) [Fighting](#fighting)
3) [Building](#batiment)
4) [Villager management](#villager-management)
5) [Conquest](#conquest)
6) [Main menu system](#system-du-menu-principale)
## Soldier system
- move management
- case selection
- check membership.
- display of free cases for moving.
- Target square selection.
- membership check + no enemies
troop movement
## Fighting
- Attack side
- selection of an enemy case
- membership check
- Defense and attack sides
- menu banner
- Soldier selection + validation button
- membership check
- Start animation
- wait 1 second
- Return animation without dead soldiers
- previously calculated on server side
- report + resource gain
## Building
- Upgradeable
- If you click on a building and then on the upgrade button
- Check price
- Verification of current bat level
- Check if a worker is available
- Casern
- Unlock a new troop
- Outpost
- Can tp more troops
- Mine
- \+ productive
- Sawmill
- \+ productive
- Breadings
- \+ productive
- Tower
- \+ of reach or + of degat
- Castle
- Takes up one more square
- Adds workers
- Enhances everything with a small %.
- Destroy
- if on our territory
- destroy building
- add 1/2 of resources
- Build
- if at least 1 free worker
- if the price is not too high
- if it's in our territory
- building construction
- distribute resources
- Usage
- Check if the square belongs to us
- Castle
- Villager management
- *// TODO \\\\*
- Outpost
- Check which troops want to be sent
- Errors
- Teleport
- Casern
- Menu banner
- All soldiers available for purchase
- Click
- If case alentoure free belonging to us
- Price check
- Error
- Creation
## Villagers management
- Castle clikced
- Menu banner
- List of professions and villagers
- Change professions
- Check current job
- Check job to give
- Mustn't be neutral
- List of jobs: Explorers, Worker or Neutral
## Conquest
- Choosing a case
- Belonging
- Explorers
- Stats: Speed (case/tours)
- Explorer selection menu
- Menu banner
- Explorer list with
- Change membership
- Previous membership
- Membership to give
## Main menu system
- Settings
- game mode
- 1v1
- 2v2
- 1vIA
- History