8 ms·
Show HN: MazeBattles.com – Race to solve generated mazes
- presidentender 8y agoI would like it if the arrow keys worked, in addition to WASD, and if holding a key down would continue to move the avatar. That said, nice project!
- hk__2 8y agoYes, WASD is great if you have a QWERTY keyword, not really if you have anything else.
- danaur 8y agoQwerty is the standard. Especially for any type of game. I don't think it's constructive to try to get developers with limited time to cater towards a minscule portion of the population who has self selected into using nonstandard layouts. Also most people in that population have the knowledge to adjust their settings to work with was.
- fimdomeio 8y agoyour excluding left handed people, people with non latin keyboards... maybe not that minuscule
- user5994461 8y agoQwerty is not the standard of anything except the US. In fact, qwerty is not even a standard, there are many different qwerty layouts. Do you know that UK and US keyboards are completely different, for example they have all the punctuation characters in different places. By the way, people don't select their keyboard layouts, they just happen to have whatever they have and I guarantee you that hardly anybody knows how to change settings or want to.
- tazard 8y agoCompletely different is a bit of a stretch. I'm pretty sure the WASD keys are the same in both, coincidentally those are the four keys this game uses. And some people do select their layouts. Dvorak, Colemak etc
- rapnie 8y agoYes. For reference: https://en.wikipedia.org/wiki/Keyboard_layout https://en.wikipedia.org/wiki/Keyboard_layout https://www.terena.org/activities/multiling/ml-mua/test/kbd-all.html https://www.terena.org/activities/multiling/ml-mua/test/kbd-...
- IMTDb 8y agoIf only keywords had a standardised set of keys that are used to express direction, something like up-down-left-right.
- ferarri488 8y agoThank you for the feedback :D.
- lebanon_tn 8y agoHJKL or GTFO
- delinka 8y agoI find GTFO to be rather awkward, requiring two hands on the keyboard.
- lowercased 8y agowould be almost just as nice if there was something on the screen indicating what keys to use.... :/ EDIT - nevermind - at the bottom of the screen, which was off the desktop on my initial load.
- smknstd 8y agoSame here! Can't play because of my AZERTY layout ...
- eapartridge 8y agoNice project, enjoyed a quick game! Heads up, when I clicked quit, it redirected me to localhost:3000, might not be the intended behavior?
- lostgame 8y agoI'm not sure if it was just my particular game, but I did find it very very simple. There weren't a lot of avenues to 'mess up', so to speak, and the algorithmic generation of the maze, while sorta cool to see, could stand to be sped up (if possible). Perhaps there was a way to skip it I didn't see. Overall, though, pretty cool! :)
- Karliss 8y agoMaze generation animation in Chromium takes multiple minutes. It was almost bearable in Firefox but still longer than it needs to be. Seeing the generator "solve" the maze and then having to wait multiple seconds while it generates other branches doesn't seem right.
- guiscreenshots 8y agoLove the idea! Execution could be much better: 1. Don't make people watch the generation of the maze. Why on god's green earth do I need to wait a full minute to play the game? It takes less time to solve the maze. 2. Allow for random matchmaking 3. Let me hold down a directional key to move multiple steps in the same direction. Feels like a lot of button mashing without this functionality. Hope to see this grow!
- ferarri488 8y agoThank you so much for the feedback!
- IMTDb 8y agoOn the other hand, carefully watching the maze generation helps while trying to solve it. SO I'd actually leave that, it's part of the game
- anonfunction 8y agoI think it helps too much, so I vote to remove it!
- catchmeifyoucan 8y agoAgreed with the button presses, would also like arrow key support.
- thoughtstheseus 8y agoThis is great. Thank you!
- pizza 8y agoclick quit -> http://localhost:3000 http://localhost:3000
- mtmail 8y agoFrom a previous submission I see it's open source (under ISC license) https://github.com/HenryDavidZhu/MazeBattles.com https://github.com/HenryDavidZhu/MazeBattles.com
- aaaaaaaaaab 8y agoThese DFS-type mazes are pretty easy to solve...
- porphyrogene 8y agoThis pretty neat. I liked the visual aspect of the maze generation but how annoyingly long it is depends on random chance. For me it was just a little too drawn out (Firefox). Anyway this is a good implementation of a cool concept. Matchmaking over socket would be cool but I have a feeling that's not what you're trying to show off here. Good work, I'd be very curious to see the code.
- deleted 8y ago[deleted]
- dktp 8y agoD key doesn't work on my Pixelbook. W and S work as expected, moving up and down, but D does nothing.
- dktp 8y agoNever mind, it works flawlessly. A Chrome addon was causing the problems.
- pj_mukh 8y agoAdd a python interpreter. Let me code-solve it. haha!
- jhwang5 8y agoWhat's an open source python interpreter you can add in this case?
- pmontra 8y agoI could create a maze much more quickly on a Z8000 in the 80s. How can this be so slow? I remember I used the maximum spanning tree algorithm because I had to learn it. Not optimal for this problem but it yields nice mazes.
- keyle 8y agoThis was ok but as a single player the maze generated was mostly about wasting the user's time rather than make the player make significant choices; Red herrings need to be more challenging imho. Also having to press multiple time to head in the same direction was painful. Quit took me to localhost:3000 ;)
- ferarri488 8y agoAppreciate the feedback :D.
- horyd 8y agoCool concept but when you see the maze being generated you get to see the path drawn between start and finish right in front of you? So it's less of a maze and more of a memory exercise to me
- ferarri488 8y agoThe github repository is: https://github.com/HenryDavidZhu https://github.com/HenryDavidZhu
- ferarri488 8y agohttps://github.com/HenryDavidZhu/MazeBattles.com https://github.com/HenryDavidZhu/MazeBattles.com
- slig 8y agoShare it on /r/WebGames, they enjoy games like this.
- froindt 8y agoNot sure what's up for me...on Chrome and ended up only being able to use W+S. A+D didn't work, so I wasn't able to try the entire game out.
- golergka 8y agoI clicked "single player", watched "generating maze.." screen for 10 seconds, closed the tab. Not willing to wait that much just to try something out.
- rockyex 8y agoWhat's the average completion time of a singleplayer maze?