ZombieAI is a game simulator in which the player is trapped in a hall overrun by zombies. The objective of the player is to survive as long as possible, avoiding zombie attacks and trying to eliminate as many of them as possible.
The zombie simulations are created using ML-Agents, meaning that their behavior is controlled by artificial neural networks. Zombies try to avoid player's arrows while focusing on their attack. The game is dynamic and requires reflexes and strategic thinking.
- Intel Core i5 or equivalent minimum processor
- 4 GB of RAM
- Unity 2021.3.13f1 or later
- Visual Studio 2022 - 17.4.2 or later
- Nvidia Cuda 10.1 or later
- Python 3.8.10
- Pytorch 1.7.0(+cu110)
- Mlagents 0.29.0
- Sci-fi construction kit
Step-by-step project installation:
- Clone the repository
- Open the project in Unity
- Import and install ML-Agents
- Open the main scene
- In the cloned repository create a virtual environment:
py -m venv venv
- Upgrade your Preffered Installer Program - pip:
python -m pip install --upgrade pip
- Download pytorch instance:
pip install torch==1.7.0 -f https://download.pytorch.org/whl/torch_stable.html
- Download mlagents dependencies:
pip install mlagents
- (Optional) Downgrade your protobuf package to version 3.20.00:
pip3 install --upgrade protobuf==3.20.0 3.20.00
The main gameplay is based on:
- Navigate through the hall, avoiding zombie attacks
- Try to eliminate zombies using a bow and arrows
- Develop a strategy to survive as long as possible
This project is licensed under the MIT License. See the LICENSE file for more information.
- Remigiusz Włoszczyński
- Jacek Kotra
- Dorian Światowy
- Kacper Kowalski
If you have any questions or comments, please email us at remigiuszwloszczynski@gmail.com.