Skip to content

A maze game implemented in Pygame. Includes depth-first search layout generation, shortest path solver using Dijkstra's algorithm, and accuracy statistics.

Notifications You must be signed in to change notification settings

mihkuno/MAZERUN

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

54 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MAZERUN

Maze runner prototype game built using Pygame.

Geting Started

  1. Clone this repository git clone https://github.com/mihkuno/MAZERUN.git
  2. Navigate to the library cd MAZERUN
  3. Use version Python 3.12.1
  4. Create a virtual environment python -m venv venv
  5. Activate the virtual environment ./venv/Scripts/activate
  6. Install required libraries pip install -r requirements.txt
  7. Start the main program python main.py

Introduction

Welcome to Mazerun, a maze game where smart algorithms create challenging puzzles for you to solve. The mazes are designed to test your path tracing skills, and Mazerun comes with Dijkstra’s algorithm that can help you navigate through them. It's a straightforward yet engaging experience – can you conquer the five level maze on your own, or will you rely on the algorithm to guide you to the finish?

Objective

The primary aim of this project is to develop a maze generator employing the depth-first search iterative approach. Additionally, the project will incorporate the Dijkstra algorithm to determine the shortest path to a predefined target within the maze. The implementation will include five distinct levels, each progressively increasing in difficulty, providing users with a challenging and engaging experience as they navigate through mazes.

Features

  • Maze generation using depth-first search algorithm
  • Maze solver using dijkstra's shortest path algorithm
  • Menu screen, controls, level difficulty, and sounds!

Algorithms

Modified Depth-First Search Dijkstra’s Shortest Path Linear Search

Data Structures

Min-Heap Binary Tree Array Stack

Recording.2023-12-14.161932.mp4

About

A maze game implemented in Pygame. Includes depth-first search layout generation, shortest path solver using Dijkstra's algorithm, and accuracy statistics.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages