Distributed Systems Development

Maze Game Feature Graphic

This maze game is a distributed system comprised of a Python-based PC application (built with Pygame) and a Java-based controller application (packaged into an Android app with Processing 2.1). These two programs utilize UDP communication over a Wi-Fi network to enable real-time control from the Android device. After an initial IP discovery procedure, the PC application generates a maze using a modified version of Prim’s algorithm. The target point is randomly placed within the maze – at least some minimum distance from the player’s starting point. Then the user can move the player point up, down, left, and right from the Android app. Below are the downloadable applications for this game. The PC application is a single executable file, and none of the programming languages or tools mentioned previously are required to run this game.

Maze Game PC (.exe) application: MazeGame-PC_v0_1.exe

Maze Controller Android (.apk) app: MazeController-Android_v0_1.apk

Notes:

  • Both the PC and the Android device must be connected to the same Wi-Fi network
  • Please ensure that your computer’s firewall is not blocking the PC application’s network communications
  • By default, the maze only displays a limited view around the player’s current position
  • Pressing the ‘V’ key will toggle the full visibility of the maze
  • Pressing the ‘Esc’ key will terminate the PC application

Leave a Reply

Your email address will not be published. Required fields are marked *