https://github.com/madeindjs/walkingdead
Another IA simulation with Zombie & Human.
https://github.com/madeindjs/walkingdead
Last synced: 8 months ago
JSON representation
Another IA simulation with Zombie & Human.
- Host: GitHub
- URL: https://github.com/madeindjs/walkingdead
- Owner: madeindjs
- Created: 2017-12-20T16:27:03.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-12-27T07:41:33.000Z (over 8 years ago)
- Last Synced: 2025-02-05T21:41:50.146Z (over 1 year ago)
- Language: Java
- Homepage:
- Size: 243 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Walking Dead
============
Another Zombie / Human simulation written in Java.

Scenario
--------
`Human`s (in blue) & `Zombie`s (in red) lives together.
A **loop** (100 ms) consist of theses steps:
* `Human` moves. He make only one of theses actions
* **escape** from zombie if zombies are in `AFFRAID_AREA`
* **rejoin** nearest human if another human is in `VISION`
* **have sex** with another human if two human are on the same point & together are major :)
* **walk** to the center if no action behind can be executed
* **Create** new humans if some `Baby` exists
* `Zombie` moves. He make only one of theses actions
* **rejoin** nearest human if another human is in `VISION`
* **fight** with another human another human exists on the same point
* **walk** to the center if no action behind can be executed
* add X year to each humans
* **Kill** all died people if somenone have not enought life or `age` is over to `maxAge`. Of course, if an human died, is converted to `Zombie`
If you think the game is too slow, you can click on the screen to add zombie!
Contribute
----------
I'm open minded to any suggesstion / modification. Just [fork this repository](https://github.com/madeindjs/WalkingDead#fork-destination-box).