MAZE GAME
PH1 (157)

An original maze game I created which has some level of difficulty to it.

Now unlocked
Now with permanent scoreboard again (sometimes)

You are viewing a single comment. View All
xolyon (334)

Can you tell me how your maze/mapping and moving system works I've been struggling to make a system for quite some time , oh and great game

PH1 (157)

@xolyon The moving just uses a readkey() input from the readchar module (from readchar import readkey) which gives the string character of 'w','a','s', or 'd' and then an if elif... statement to determine which direction to go from the letter and some more if statements to see if the player can move in that direction.
I read the base maps from files in the mazes folder and i use the radius given to me by the difficulty variable 'dif' to determine what radius around the player to display. The hidden part of the maze is from a global blankMaze variable the program makes at the start

KWBwell (0)

@PH1 Interesting way to do movement mapping. I haven't tried movement mapping myself, but I may try this method once I do.