#planet #game #explorers #university #actor #2025

common-game

A package for the 2025 Group Project of the course of Advanced Programming at the University of Trento

3 releases (stable)

Uses new Rust 2024

3.0.0 Jan 11, 2026
3.0.0-rc.1 Jan 9, 2026
2.0.0 Dec 22, 2025

#598 in Concurrency

Download history 1/week @ 2025-12-18 9/week @ 2025-12-25 29/week @ 2026-01-01 24/week @ 2026-01-08 23/week @ 2026-01-15 38/week @ 2026-01-22 23/week @ 2026-01-29

117 downloads per month
Used in 2 crates

MIT license

140KB
2K SLoC

Common Game Crate

This crate includes the shared architecture, components, and communication protocols used by all implementations of the UniTN Advanced Programming course project of 2025.

The project consists in bulding a space simulation game where multiple explorers travel through planets to collect resources and combine them.

This crate does not aim provide a full implementation of the project, instead it exists to make multiple implementations of shared components (Planets and Explorers) intercompatible.

Actors

The system has three main actors.

  • Planets

    Stateful entities that manage energy and resources. A partial implementation is provided in the planet module. It is meant to be extended by implementing your own PlanetAI.
  • Orchestrator

    Coordinates the simulation and message routing. This actor is not implemented in this crate.
  • Explorers

    Mobile agents that travel between planets and interact with them. This actor is not implemented in this crate.

Dependencies

~0.5–1MB
~21K SLoC