From 078787a45878ea3404c06249d4b89c94e661a4b6 Mon Sep 17 00:00:00 2001 From: corentin Date: Sun, 28 Jan 2024 01:08:52 +0100 Subject: [PATCH 1/6] add brainstorm2 Co-authored-by: Bijunoka --- docs/brainstorms/brainstorm2.md | 128 ++++++++++++++++++++++++++++++++ 1 file changed, 128 insertions(+) create mode 100644 docs/brainstorms/brainstorm2.md diff --git a/docs/brainstorms/brainstorm2.md b/docs/brainstorms/brainstorm2.md new file mode 100644 index 0000000..6357e10 --- /dev/null +++ b/docs/brainstorms/brainstorm2.md @@ -0,0 +1,128 @@ +# Brainstrom + +## Sommaire + +1) [System de soldats](#system-de-soldats) +2) [Combats](#combats) +3) [Batiment](#batiment) +4) [Gestion des villageois](#gestion-des-villageois) +5) [Conquete](#conquete) +6) [System du menu principale](#system-du-menu-principale) + + +## System de soldats + +- gestion des deplacements + - selection d'une case + - verification de l'appartenance. + - affichage des case libre pur le deplacement. + - Selection d'une case cible. + - verification de l'appartenance + pas d'enemies + deplacement de la troupe + + +## Combats + +- Coté attaque + - selection d'une case adverse + - verification de l'appartenance +- Coté defense et coté attaque + - bandeau menu + - Selection des soldats + boutton de validation + - verification d'appartenance + - Animation de depart + - attend 1 second + - Animation de retour sans les soldats qui sont mort + - prealablement calculer coté serveur + - rapport + gain de ressource + + + +## Batiment + +- Ameliorable + - Si on clique sur un batiment puis sur bouton upgrade + - Verification du prix + - Verification du niveau actuel du bat + - Verification de si un ouvrier est dispo + - Casern + - Debloquage d'une nouvelle troupes + - Outpost + - Peut tp plus de troupes + - Mine + - \+ productive + - Sawmill + - \+ productive + - Breadings + - \+ productive + - Tower + - \+ de porté ou + de degat + - Castle + - Prend une case de plus + - Ajoute des ouvriers + - Ameliore tout avec un petit % + + +- Detruire + - si c'est bien sur notre territoir + + - detruire du batiment + - ajouter 1/2 des ressources + +- Construire + - si au moins 1 ouvrier de libre + - si le prix est pas trop + - si c'est bien sur notre territoir + + - construction du batiment + - retierer les ressources + +- Utiliser + - Verifier si la case nous appartient + - Castle + - Gestion des villageois + - *// TODO \\* + - Outpost + - Verification des troupes qui veulent etre envoyées + - Erreur + - Envoi + - Casern + - Bandeau de menu + - Tous les soldats pouvants etre acheté + - Click + - Si case alentoure libre nous appartenant + - Verification prix + - Erreur + - Creation + +## Gestion des villageois +- Castle clikced + - Bandeau de menu + - Liste métier et les villageois les composants + - Changer de métiers + - Verifier metier actuel + - Verifier metier a donner + - Ne dois pas etre neutre + + +## Conquete + +- Choix d'un case + - Appartenance + +- Explorateurs + - Stats : Vitesse (case/tours) + - Menu de choix d'explorateurs + - Bandeau de menu + - Liste explorateurs dispo avec +- Changement d'appartenance + - Appartenance prealable + - Appartenance a donner + + +## System du menu principale +- Settings +- mode de jeu + - 1v1 + - 2v2 + - 1vIA -- 2.43.4 From a0d6f2d210c68251993704c08a0cbf6c3ec1ed7a Mon Sep 17 00:00:00 2001 From: corentin Date: Sun, 28 Jan 2024 11:17:36 +0100 Subject: [PATCH 2/6] chnage langage of README.md --- docs/brainstorms/brainstorm2.md | 167 ++++++++++++++++---------------- 1 file changed, 83 insertions(+), 84 deletions(-) diff --git a/docs/brainstorms/brainstorm2.md b/docs/brainstorms/brainstorm2.md index 6357e10..7004bf2 100644 --- a/docs/brainstorms/brainstorm2.md +++ b/docs/brainstorms/brainstorm2.md @@ -1,54 +1,53 @@ # Brainstrom -## Sommaire +## Contents -1) [System de soldats](#system-de-soldats) -2) [Combats](#combats) -3) [Batiment](#batiment) -4) [Gestion des villageois](#gestion-des-villageois) -5) [Conquete](#conquete) -6) [System du menu principale](#system-du-menu-principale) +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) -## System de soldats +## Soldier system -- gestion des deplacements - - selection d'une case - - verification de l'appartenance. - - affichage des case libre pur le deplacement. - - Selection d'une case cible. - - verification de l'appartenance + pas d'enemies - deplacement de la troupe +- move management + - case selection + - check membership. + - display of free cases for moving. + - Target square selection. + - membership check + no enemies + troop movement -## Combats +## Fighting -- Coté attaque - - selection d'une case adverse - - verification de l'appartenance -- Coté defense et coté attaque - - bandeau menu - - Selection des soldats + boutton de validation - - verification d'appartenance - - Animation de depart - - attend 1 second - - Animation de retour sans les soldats qui sont mort - - prealablement calculer coté serveur - - rapport + gain de ressource +- 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 - -## Batiment +## Building -- Ameliorable - - Si on clique sur un batiment puis sur bouton upgrade - - Verification du prix - - Verification du niveau actuel du bat - - Verification de si un ouvrier est dispo +- 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 - - Debloquage d'une nouvelle troupes + - Unlock a new troop - Outpost - - Peut tp plus de troupes + - Can tp more troops - Mine - \+ productive - Sawmill @@ -56,73 +55,73 @@ - Breadings - \+ productive - Tower - - \+ de porté ou + de degat + - \+ of reach or + of degat - Castle - - Prend une case de plus - - Ajoute des ouvriers - - Ameliore tout avec un petit % + - Takes up one more square + - Adds workers + - Enhances everything with a small %. +- Destroy + - if on our territory -- Detruire - - si c'est bien sur notre territoir - - - detruire du batiment - - ajouter 1/2 des ressources + - destroy building + - add 1/2 of resources -- Construire - - si au moins 1 ouvrier de libre - - si le prix est pas trop - - si c'est bien sur notre territoir +- Build + - if at least 1 free worker + - if the price is not too high + - if it's in our territory - - construction du batiment - - retierer les ressources + - building construction + - distribute resources -- Utiliser - - Verifier si la case nous appartient +- Usage + - Check if the square belongs to us - Castle - - Gestion des villageois - - *// TODO \\* + - Villager management + - *// TODO \\\\* - Outpost - - Verification des troupes qui veulent etre envoyées - - Erreur - - Envoi + - Check which troops want to be sent + - Errors + - Teleport - Casern - - Bandeau de menu - - Tous les soldats pouvants etre acheté + - Menu banner + - All soldiers available for purchase - Click - - Si case alentoure libre nous appartenant - - Verification prix - - Erreur + - If case alentoure free belonging to us + - Price check + - Error - Creation -## Gestion des villageois +## Villagers management - Castle clikced - - Bandeau de menu - - Liste métier et les villageois les composants - - Changer de métiers - - Verifier metier actuel - - Verifier metier a donner - - Ne dois pas etre neutre + - Menu banner + - List of professions and villagers + - Change professions + - Check current job + - Check job to give + - Mustn't be neutral -## Conquete +## Conquest -- Choix d'un case - - Appartenance +- Choosing a case + - Belonging -- Explorateurs - - Stats : Vitesse (case/tours) - - Menu de choix d'explorateurs - - Bandeau de menu - - Liste explorateurs dispo avec -- Changement d'appartenance - - Appartenance prealable - - Appartenance a donner +- Explorers + - Stats: Speed (case/tours) + - Explorer selection menu + - Menu banner + - Explorer list with +- Change membership + - Previous membership + - Membership to give -## System du menu principale +## Main menu system - Settings -- mode de jeu +- game mode - 1v1 - 2v2 - 1vIA + - History -- 2.43.4 From 0a1f279e26a11e6e0d313ad57a4bdd8ff0f248f9 Mon Sep 17 00:00:00 2001 From: corentin Date: Sun, 28 Jan 2024 11:59:27 +0100 Subject: [PATCH 3/6] add list of jobs --- docs/brainstorms/brainstorm2.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/docs/brainstorms/brainstorm2.md b/docs/brainstorms/brainstorm2.md index 7004bf2..d38a145 100644 --- a/docs/brainstorms/brainstorm2.md +++ b/docs/brainstorms/brainstorm2.md @@ -101,8 +101,7 @@ - Check current job - Check job to give - Mustn't be neutral - - +- List of jobs: Explorers, Worker or Neutral ## Conquest - Choosing a case -- 2.43.4 From b2a507facddae078da149ee59de7b63233903d89 Mon Sep 17 00:00:00 2001 From: corentin Date: Sun, 28 Jan 2024 12:01:13 +0100 Subject: [PATCH 4/6] update main readme.md from brainstorm --- README.md | 80 +++++++++++++++---------------------------------------- 1 file changed, 21 insertions(+), 59 deletions(-) diff --git a/README.md b/README.md index 6ee14d4..ddd08da 100644 --- a/README.md +++ b/README.md @@ -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
- The main building of your army, you must protect it") - ("Casern
- Train troop") - ("Tower
- Defend your territory") - ("Wall
- A pasive defence that block every soldier") - ("Outpost
- A *teleporter* like") - [Farms] - ("Mine
- Allow you to gain stone each turns") - ("Sawmill
- Allow you to gain wood each turns") - ("Breeding
- 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
- The classic mode") - ("2v2
- A funny mode 2v2") - ("History mode
- A mode to understand why") - ("1vIA ?
- 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
- A classic troop") - ("No Name
- A troop with a great deal of experience but not much power") - ("No Name
- 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 -- 2.43.4 From 0a00c87337964511ec5bd938d834a4f48c30c6b0 Mon Sep 17 00:00:00 2001 From: corentin Date: Sun, 28 Jan 2024 12:11:49 +0100 Subject: [PATCH 5/6] change backslash for slash --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index ddd08da..e90e662 100644 --- a/README.md +++ b/README.md @@ -13,9 +13,9 @@ If you want to know more about our reflexions check this : [all brainstorms](doc ## 2. Building -- **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) +- **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) +- **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) ## 3. Villager Management -- 2.43.4 From c63ebdadccd26e2d2fc3f2a681e97e3941d56e4f Mon Sep 17 00:00:00 2001 From: corentin Date: Tue, 30 Jan 2024 21:06:19 +0100 Subject: [PATCH 6/6] fix fmt --- docs/brainstorms/brainstorm2.md | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/docs/brainstorms/brainstorm2.md b/docs/brainstorms/brainstorm2.md index d38a145..b8cafe9 100644 --- a/docs/brainstorms/brainstorm2.md +++ b/docs/brainstorms/brainstorm2.md @@ -63,17 +63,15 @@ - Destroy - if on our territory - - - destroy building - - add 1/2 of resources + - 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 + - building construction + - distribute resources - Usage - Check if the square belongs to us -- 2.43.4