Inspiration
I've always liked mazes, both 2D and 3D. I've enjoyed playing maze based games in the past like ZZT Adventure and The Bard's Tale. Also there aren't may maze based games in Reddit games.
What it does
It recreates the experience of walking into hedge maze, with textures, and shadows, with a sky above and mountains in the distance.
How we built it
The game runs on Node.js and Three.js with a devvit web server running on Node.js to store the number of trophies collected. It was developed in VS Code with some help from the Continue.dev extension running Mistral AI's Codestral model.
Challenges we ran into
Not knowing Three.js, I was relying heavily on AI to generate the code but it had errors and trying to fix them with AI resulted in another heap of code that didn't fix anything, so I had to learn enough to fix some of the issues myself.
Accomplishments that we're proud of
I'm quite happy with the look of the games and the experience of moving through the maze.
What we learned
How to generate a scene, how to move with both keyboard commands and touch gestures on mobile, how to store and retrieve data from the devvit server, and how to manage asynchronous calls and events.
What's next for three-d-maze
Some other relaxing things to do in this virtual world could be to take a train ride, play mini golf, or participate in a scavenger hunt.
Built With
- codestral
- three.js
- vscode
Log in or sign up for Devpost to join the conversation.