Skip to content

Functional Design

MitchelMA edited this page Feb 27, 2025 · 4 revisions

Maze navigation

Players (and enemies) need to be able to navigate through the playing-field.
The playing-field in question consists of the following:

  • Corners
  • T-junctions
  • Intersections Knowing that an intersection can consist of 4 directions at most.

Players can navigate through the playing-field by inputting their preferred next direction. Then at the next intersection it will check if the preferred input is available. If not, the player will stand still. If no preferred next direction was given by the player, it will keep going straight when possible, else it'll stand still.


Enemy

The player needs an enemy to stop picking up all the pellets in the playing-field. This enemy is controlled by a trained machine-learning model. And navigates through the playing-field the same way that the player does.

Clone this wiki locally