Pirate Crew Simulation

Project Status Completed
Project Type University / group project
Primary Role(s) Lead programmer
Project Duration ~2 week
Engine and Language Unity, C#

About the project

AI simulation of the daily lives of the crew members of a pirate ship. The crew members have each own function depending of their rank.

This project was made in a group of 3, including myself. I took care of programming the behavior of the sailors, foreman, watcher and captain crew members.


...
...
...
...
...
...

Simulation features

The crew behavior depends of the current Turn, which can be Work, Eat or Sleep time. During work time the crewmates take care of the following tasks:

  • Sailors (Blue): Mops the floor and attend orders of the captain when needed.
  • Foreman (Red): Patrols around making sure the Sailors are working.
  • Watcher (Yellow): Warns the Foreman when danger is near.
  • Helmsman (Green): Stays at the rudder.
  • Captain: Stays at his desk or takes a walk around the ship. Gives orders to the crew when needed.
  • Chefs: Prepares meals for the crew and serves the tables.

Randomly, the Watcher will warn the Foreman about an emergency. The Foreman will notify the Captain wherever he is. Then the Captain takes position besides the Helmsman and will give orders to the Sailors witch can be adjust the sails or change direction. When the emergency is over, everyone returns to work normally.