top of page
Search

Week 5 (20/10/2024 - 26/10/2024) Academic Writing and Presentations / Update on MazeGenerator

  • Writer: junlachaktophat
    junlachaktophat
  • Nov 25, 2024
  • 2 min read

Updated: Dec 18, 2024

This week is about academic writing and presentations. The academic writing style that this module prefers is Harvard style. Starting with using formal language and avoiding complicated words. the writing can not use abbreviations. For example, e.g., Co. and i.e. The sentence has been neutral.


About this Essay of this Project

The writing style that needs to be used for this project is to be written in the third person and not to include bias. The writing style should be as neutral as possible and the references should be written in the Harvard style.


Once knowing what the writer is going to write, the next step is to write the content. The content should use polite and formal words, avoiding sentences that are too specific. It should not use words that are too technical, maybe find examples to support the specific words. And do not use slang and vulgar words


The Maze Generation Update

An update on the project. Creating a new maze generation that made a perfect loop. The maze was built by the codename "MazeGenerator".


The main function of this code is to create a maze using cells as the basic component of the maze. The system begins by creating a two-dimensional grid of cells, where each cell is controlled by a code "MazeCell". It is going to manage the walls and visitation state of that cell. 


When starting, MazeGenerator uses a random process of visiting each cell and removing the walls between the current and next cells to create a path. It uses MazeCell's functions to manipulate the walls of those cells. MazeCell also provides a status of whether a cell has been visited with its function, which helps MazeGenerator know which cell to visit next. When the maze is initially generated, MazeGenerator uses a random process of visiting each cell and removing the walls between the current and next cells to create a path, using its functions. After the structure of the maze is generated, the MazeGenerator determines the starting position of the player.


Figure 1: Flowchart of the MazeGenerator process, from grid initialization to setting the player spawn point.


Both MazeGenerator and MazeCell work together in harmony. MazeGenerator is the main structure that compiles the maze together, while MazeCell manages the outside component and each maze cell. Creating a layered maze along with appropriate player's spawn points.


Source: Created by Juclachak Juntasilp, 2024.


Reference

  1. DAWOOD, Z., 2024. Procedural Content Generation in Games. PowerPoint presentation. Available at: https://connectglosac-my.sharepoint.com/:p:/g/personal/s2105341_glos_ac_uk/EdFt0CMBMFB%20Pv3aDLoNWNwoB_it-dUMvdyMfCpzLF_1sQQ?e=X3NytU (Accessed: 25 November 2024).

  2. Ketra Games (2023) How to Procedurally Generate a Perfect Maze (Unity Tutorial). Available at: https://www.youtube.com/watch?v=_aeYq5BmDMg (Accessed: 25 November 2024).

  3. Juntasilp, J. (2024) Procedural Maze Creation Using Unity. Available at: https://youtu.be/jmRbq_Ct5GQ (Accessed: 25 November 2024).



 
 
 

Comments


bottom of page