Actualiser Readme.md
This commit is contained in:
parent
22178d323a
commit
d1ee6d78fa
35
Readme.md
35
Readme.md
|
|
@ -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.
|
||||
|
||||
##Features
|
||||
Features :
|
||||
|
||||
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.
|
||||
|
|
@ -14,30 +14,25 @@ Border Toggle: Switch between looping and closed borders.
|
|||
Random Initialization: Populate the world randomly using a probability slider.
|
||||
File Operations: Save and load world states, agents, and rules from files.
|
||||
|
||||
##Getting Started
|
||||
|
||||
###Prerequisites
|
||||
|
||||
Java Development Kit (JDK) 8 or higher.
|
||||
|
||||
###Running the Simulation
|
||||
Running the Simulation :
|
||||
|
||||
- Clone the repository.
|
||||
- Compile the project using your preferred IDE or the command line.
|
||||
- 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.
|
||||
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 :
|
||||
|
||||
##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 !
|
||||
Loading…
Reference in New Issue