Go to file
isabe 70473b2f94 remove no clour bug interface 2024-05-29 12:31:32 +02:00
.settings initialisation 2024-03-28 11:14:18 +01:00
Agents updated read me, implemented more than 1 type of cell, added rules 2024-05-29 11:37:36 +02:00
Rule updated read me, implemented more than 1 type of cell, added rules 2024-05-29 11:37:36 +02:00
World Agents (reproduction with and without borders) 2024-05-25 17:40:38 +02:00
src remove no clour bug interface 2024-05-29 12:31:32 +02:00
.classpath initialisation 2024-03-28 11:14:18 +01:00
.gitignore initialisation 2024-03-28 11:14:18 +01:00
.project initialisation 2024-03-28 11:14:18 +01:00
README.txt updated read me, implemented more than 1 type of cell, added rules 2024-05-29 11:37:36 +02:00

README.txt

# Agent Project
# Authors: Isabella GOULD-SMITH, Selma LARSSON-RABIAN, Yashveer YADAV 

Introduction:
This Agent Project is a Java implementation of Conway's Game of Life, and improves it by introducing agents, rules and other cell types.

Project Interface Guide:

- By default, the rule is set to Conway's Game of Life
- By default, the border is set to closed
- The SAVE WORLD button saves to CSV format the current world, for any cell type
- The LOAD WORLD button loades from CSV a saved world, for any cell type
- The TOGGLE CLICK button allows the user to cycle through the different cell types AND the different agents
- the TOGGLE BORDER button allows the user to close or open the border of the map, which may allow or forbid cells and agents from moving through it. An open border means that each side of the world is connected to the opposite side (i.e. top and bottom sides)
- the SPEED SLIDER allows the user to modify the pace of the game.

Rules:
There are different rules that can be loaded into the game change the cell's behaviors, or the types of cells that can be handled, to a maximum of 4 teams. To load them, use the "LOAD RULE" button, and choose a file. If you wish to make or modify a rule, simply create/modify the csv files in the Rules folder. Those rules DO NOT impact the Agents' behaviors. Note that, though initially the rules file apply the same rule to all cells, it is possible to have the colors behave in different ways, demonstrated with the file "3Colors3Rules".

If you wish to modify/create a rule file, follow these instructions:
- each columns describes the rules applied to a color
- the first row contains the number of same color neighbors a cell needs to stay alive
- the second row contains the number of same color neighbors a non-colored cell needs to come alive

Agents:
Agents are game entities that exist on top of the cells' interactions. Though they may interact with them, they are not directly tied to them. In our version of the project, two agents have been implemented, a sheep and a wolf. Both have to eat to avoid dying, and may reproduce. They work as follows:
- Sheep agents can eat cells to replenish their hunger, and reproduce every 5 steps
- Wolf agents can eat sheeps, and reproduce every 8 steps

Though agents may be placed by clicking the board, you may want to load Agnets configuration with the "LOAD AGENTS" button. If you wish to save a configuration, use the SAVR AGENTS button