Actualiser Readme.md

This commit is contained in:
Victor ARMAND 2024-05-31 17:08:39 +02:00
parent 22178d323a
commit d1ee6d78fa
1 changed files with 15 additions and 20 deletions

View File

@ -1,10 +1,10 @@
#Game of Life Project - Group B1 Game of Life Project - Group B1
##Overview Overview :
This project expands Conway's Game of Life by adding custom rules, agent interactions, and an interactive GUI. The main highlight is the inclusion of a prey-predator model featuring Sheep and Wolf agents. This project expands Conway's Game of Life by adding custom rules, agent interactions, and an interactive GUI. The main highlight is the inclusion of a prey-predator model featuring Sheep and Wolf agents.
##Features Features :
Standard and Custom Game of Life Rules: Supports both Conway's original rules and customizable rule sets. Standard and Custom Game of Life Rules: Supports both Conway's original rules and customizable rule sets.
Prey-Predator Model: Includes Sheep and Wolf agents with distinct behaviors. Prey-Predator Model: Includes Sheep and Wolf agents with distinct behaviors.
@ -14,30 +14,25 @@ Border Toggle: Switch between looping and closed borders.
Random Initialization: Populate the world randomly using a probability slider. Random Initialization: Populate the world randomly using a probability slider.
File Operations: Save and load world states, agents, and rules from files. File Operations: Save and load world states, agents, and rules from files.
##Getting Started Running the Simulation :
###Prerequisites
Java Development Kit (JDK) 8 or higher.
###Running the Simulation
- Clone the repository. - Clone the repository.
- Compile the project using your preferred IDE or the command line. - Compile the project using your preferred IDE or the command line.
- Run the Simulator class to launch the GUI. - Run the Simulator class to launch the GUI.
GUI Instructions :
##GUI Instructions Buttons :
###Buttons - Start/Pause: Begins or pauses the simulation. If no world is loaded, a default world is created.
- Stop: Halts the simulation and resets the world to its default state.
- Toggle Border: Switches between looping and closed borders.
- Random: Randomly populates the world with living or dead cells based on the probability set by the slider.
- Save File: Saves the current world state, agents, and rules to a file.
- Load File: Loads a world state, agents, and rules from a file.
Start/Pause: Begins or pauses the simulation. If no world is loaded, a default world is created. Interacting with the World :
Stop: Halts the simulation and resets the world to its default state.
Toggle Border: Switches between looping and closed borders.
Random: Randomly populates the world with living or dead cells based on the probability set by the slider.
Save File: Saves the current world state, agents, and rules to a file.
Load File: Loads a world state, agents, and rules from a file.
##Interacting with the World
Toggle a cell's status by clicking on it. This makes it possible to modify or create the world's initial state. Toggle a cell's status by clicking on it. This makes it possible to modify or create the world's initial state.
Have Fun !