ALX MAZE PROJECT

ALX MAZE PROJECT

maze project logo

?The Maze Project

The Maze project involves creating a game in C using the SDL2 library and Ray-caster in which the player must find the exit while playing. The goal of this project is to learn about the possibility of creating a game without using a game engine, to learn about the physics and math behind the scenes, particularly ray casting, and to build our project portfolio. We were also curious to see what the ALX game project would look like.

The project was designed for children to help them improve their spatial acknowledgement, strong analytical, and judgment abilities. The idea was to build a 3D game using the SDL2 library and the C programming language, as well as to incorporate the backend without the use of a game engine. During the period when we were offered the option to choose a project of our choice, I came across the ALX maze project. I was intrigued because I had never previously created a game. It was also an excellent venue for me to demonstrate my C programming skills. As a result, there is a greater desire to learn more and create a beautiful game. I immediately decided to embark on this expedition.

Creating my own version of a maze game allows me to learn and develop it as a game that can be both complicated and informational.

No alt text provided for this image

The final result of my project was not what I had hoped for. Working on something completely new is bound to have ups and downs, and it can be difficult. I decided to begin the project in C after reviewing all of the available resources. Despite having previously worked with the C programming language, it was always exciting to discover new applications for it. Its main purpose is to keep the game low-level while still allowing it to use the SDL2 library, which allows low-level access to keyboard, mouse, joystick, and graphics hardware.

No alt text provided for this image


I was able to work on raycasting and determining the desired keys for the controllers. The architecture of the project was straightforward, but it did undergo some changes. The viable product product I created with these tools has its own features, such as the ability to control the player with either arrow or WASD keys, making it suitable both for left and right people, the power to make game maps to create different obstacles, and the ability to make mazes challenging by not telling or showing you where the maze ends.

I encountered a number of technical and non-technical challenges. I had to recover and meet the deadlines, so there were some non-technical issues such as time constraints and schedule recovery. One of the major technical issues I encountered was during compilation and getting the game to run. Because I was developing the game on a virtual machine, it wouldn't run because the virtual machine didn't have a desktop environment enabled, and installing SDL2 was a major challenge because the majority of the materials were written in C++. After more research, I was able to install it. I chose to work on a virtual computer in order to run and test the game.

The key message from the maze project is that I learned a lot about more SDL2, ray casting, and the C programming language than I did before. Not only that, but rather than just the coding, it was interesting to study more about research and reflection that went into understanding and trying to implement ray casting in the game. If there was more time or a desire to work on the project, it would be fascinating to add a preview in it and use a various languages, such as JavaScript, so that the game could be implemented and played online with minimal effort.

Link to the GitHub link for the project:

https://github.com/Ogega254/-Maze_project

Link to your LinkedIn profile:

https://www.dhirubhai.net/post/edit/6938408724227055616/

Thanks for reading.

要查看或添加评论,请登录

Gideon Ogega的更多文章

  • ALX SUDOKU GAME

    ALX SUDOKU GAME

    1. Introduction mandatory Introduce your project with a few key elements: In this puzzle game, the user has to fill a…

  • Postmortem Project

    Postmortem Project

    Upon the release of Holberton School's System Engineering & DevOps project 0x19, approximately 00:07 Pacific Standard…

    1 条评论

社区洞察

其他会员也浏览了