A downloadable project

W A S D – Moving the camera 

Clicking on any unit with Left Mouse Button to check its stats and status. 

H and J to change the simulation speed 

SPACE to pause the game 


Pitch

Tribe is a state-machine-based AI simulation. Different tribes (groups) are fighting with each other until only one remains.

Description

The simulation is able to run with hundreds of units and the map is procedurally generated so the simulation is always different.

Units:

Queen: Static unit with a high amount of health, unable to attack, but able to create new units.

Elite: Dynamic unit with high health and attack damage, but has a low chance to be born.

Basic unit: Small amount of health and attack damage.

States are the following:

Sleep: from Midnight until 8 AM they return to their home (usually there is a Queen there) and sleep, restoring health, stamina, and hunger.
Eat: When their Hunger is low, they head to the food source that they memorized (position) while scouting.
Scout: They are walking randomly and memorizing the food source position, new Queen position, and looking for enemies (Using cone with Dot product)
Guard: They just stand in one place and rotate left and right and check the area, restoring stamina before continuing scouting.
Return: The units return to their Queen either because night-time or their health is too low. When their health is low the movement speed is faster, so harder to eliminate them


This test version has a premade map size, if you want more options please contact me.

StatusReleased
CategoryOther
Rating
Rated 5.0 out of 5 stars
(1 total ratings)
AuthorOliminor
GenreSimulation
Tagsstate-machine

Download

Download
AI.ZIP 2.2 MB

Leave a comment

Log in with itch.io to leave a comment.