fly-in - README

fly-in

Python project · graphs, pygame

Drone fleet routing: Dijkstra pathfinding, turn-based scheduling and a pygame replay.

The problem

Move a fleet of drones from a start hub to an end hub in as few turns as possible, through zones with capacity limits, slow restricted zones and blocked ones.

What I built

The hard part

Getting the turn rules exactly right. A drone leaving a zone frees its slot before the next drone is checked in the same turn, which staggers the fleet down each lane, and a slot in a restricted zone is reserved at departure so two drones can never claim it in the same turn.

Built with

More projects