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
LoneAce (226)

This is one of the best Python terminal games I have ever seen. However, it would be better if you do not have to reset the screen every time a key is pressed as this will cause lag eventually. In my opinion (might be suitable or not), using the ansi escape "\x1b[row;columnH" to edit the pixels only when needed is better, which will be suitable if someone were to try do a speedrun. Your methods of updating using lists is interesting and I might want to use it for my own projects so creds for that. Thanks and keep coding! :)

PH1 (157)

@LoneAce Thanks for the feedback. Can you give an example of how i use "\x1b[row;columnH" as I couldnt get it to work

LoneAce (226)

@PH1 To edit an "test" at row 2 column 5:


print("\x1b[2;5Htest")

PH1 (157)

@LoneAce I got this to work but due to a bug with repl, it leaves red and blue rectangles all over the screen that cant be removed without reloading the page.

LoneAce (226)

@PH1 Lmao what I've never experienced that before

LoneAce (226)

@PH1 You are a legend man. It's less laggy on my machine but does it work for yours?

PH1 (157)

@LoneAce For me theres just a tiny bit of flickering when im moving quickly but other than that its pretty much perfect in that respect