n-c0de-r / TaurosTraps

Making a Labyrinth in Unity as a part of an assessment task for an internship position.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Tauros Traps

After lots of back and forth this implements the recursive backtracking algorithm. For efficiency reasons, it also should use multible starting cells, and instead of classes uses structs. Other than that it should hopefully rely on bitwise operations for calculating paths, as these are faster.

Style

This project generates 2D pixelart mazes.

Multimedia

Sources mainly from OpenGameArt.org, editing via Audacity for audio, and Avidemux & Shotcut for video, LibreSprite was used to edit & make some assets.

Bonus (if I can make it)

Provides a little game experience within the labyrinth. With collectible objects and some tiny additional challenge.

Getting Started

These instructions will help you get the project up and running on your local machine for development and testing purposes.

Prerequisites

  • Unity (Editor Version 2021.2.12f1)
  • C#

Installing

  1. Clone or download the repository
git clone https://github.com/n-c0de-r/MazeGenerator.git
  1. Open the project in Unity

  2. Attach the MazeGenerator script to an empty GameObject in your Unity project

  3. Call the GenerateMaze() function to generate the maze

MazeGenerator mazeGenerator = new MazeGenerator(sizeX, sizeY);
mazeGenerator.GenerateMaze();
  1. Use the maze array to display the maze in the Unity scene
int[,] maze = mazeGenerator.maze;

General Usage

  1. Open the project in Unity

  2. Run the project and follow the instructions given in the User Interface.

Built With

  • Unity - Game engine and development platform
  • C# - Programming language

Contributing

If you want to contribute to the project, please follow these guidelines:

  • Fork the repository
  • Create a new branch (git checkout -b my-feature)
  • Commit your changes (git commit -am 'Add some feature')
  • Push the branch (git push origin my-feature)
  • Create a new Pull Request

Authors

License

This project is not licensed under any particular license.

Acknowledgments

Screenshots

MazeGenerator_v0.1

A maze generated using the MazeGenerator script.

About

Making a Labyrinth in Unity as a part of an assessment task for an internship position.


Languages

Language:C# 100.0%