News for hackers. Stuff that matters.
Re:Show HN: MazeBattles.com – Race to solve generated mazes by guiscreenshots on Sunday November 25, 2018 @03:07PM (#18528722)
Love 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!

Re:Show HN: MazeBattles.com – Race to solve generated mazes by catchmeifyoucan on Sunday November 25, 2018 @09:26PM (#18530574)
Agreed with the button presses, would also like arrow key support.
Re:Show HN: MazeBattles.com – Race to solve generated mazes by IMTDb on Sunday November 25, 2018 @08:21PM (#18530289)
On 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
Re:Show HN: MazeBattles.com – Race to solve generated mazes by anonfunction on Monday November 26, 2018 @03:48AM (#18531991)
I think it helps too much, so I vote to remove it!
Re:Show HN: MazeBattles.com – Race to solve generated mazes by ferarri488 on Sunday November 25, 2018 @05:49PM (#18529588)
Thank you so much for the feedback!
Re:Show HN: MazeBattles.com – Race to solve generated mazes by presidentender on Sunday November 25, 2018 @02:03PM (#18528295)
I 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!

Re:Show HN: MazeBattles.com – Race to solve generated mazes by hk__2 on Sunday November 25, 2018 @02:17PM (#18528376)
Yes, WASD is great if you have a QWERTY keyword, not really if you have anything else.
Re:Show HN: MazeBattles.com – Race to solve generated mazes by danaur on Sunday November 25, 2018 @04:22PM (#18529133)
Qwerty 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.
Re:Show HN: MazeBattles.com – Race to solve generated mazes by user5994461 on Sunday November 25, 2018 @04:43PM (#18529242)
Qwerty 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.

Re:Show HN: MazeBattles.com – Race to solve generated mazes by rapnie on Monday November 26, 2018 @02:02AM (#18531639)
Re:Show HN: MazeBattles.com – Race to solve generated mazes by tazard on Sunday November 25, 2018 @08:12PM (#18530248)
Completely 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

Re:Show HN: MazeBattles.com – Race to solve generated mazes by IMTDb on Sunday November 25, 2018 @08:22PM (#18530296)
If only keywords had a standardised set of keys that are used to express direction, something like up-down-left-right.
Re:Show HN: MazeBattles.com – Race to solve generated mazes by fimdomeio on Sunday November 25, 2018 @04:42PM (#18529236)
your excluding left handed people, people with non latin keyboards... maybe not that minuscule
Re:Show HN: MazeBattles.com – Race to solve generated mazes by smknstd on Saturday December 01, 2018 @11:55AM (#18577563)
Same here! Can't play because of my AZERTY layout ...
Re:Show HN: MazeBattles.com – Race to solve generated mazes by lowercased on Sunday November 25, 2018 @10:37PM (#18530858)
would 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.

Re:Show HN: MazeBattles.com – Race to solve generated mazes by ferarri488 on Sunday November 25, 2018 @05:52PM (#18529604)
Thank you for the feedback :D.
Re:Show HN: MazeBattles.com – Race to solve generated mazes by lebanon_tn on Sunday November 25, 2018 @06:33PM (#18529785)
HJKL or GTFO
Re:Show HN: MazeBattles.com – Race to solve generated mazes by delinka on Sunday November 25, 2018 @07:16PM (#18529984)
I find GTFO to be rather awkward, requiring two hands on the keyboard.
Re:Show HN: MazeBattles.com – Race to solve generated mazes by Karliss on Sunday November 25, 2018 @02:38PM (#18528544)
Maze 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.
Re:Show HN: MazeBattles.com – Race to solve generated mazes by lostgame on Sunday November 25, 2018 @02:30PM (#18528484)
I'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! :)

Re:Show HN: MazeBattles.com – Race to solve generated mazes by keyle on Sunday November 25, 2018 @05:43PM (#18529554)
This 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 ;)

Re:Show HN: MazeBattles.com – Race to solve generated mazes by ferarri488 on Sunday November 25, 2018 @05:50PM (#18529595)
Appreciate the feedback :D.
Re:Show HN: MazeBattles.com – Race to solve generated mazes by eapartridge on Sunday November 25, 2018 @02:13PM (#18528349)
Nice project, enjoyed a quick game!

Heads up, when I clicked quit, it redirected me to localhost:3000, might not be the intended behavior?

Re:Show HN: MazeBattles.com – Race to solve generated mazes by pmontra on Sunday November 25, 2018 @05:13PM (#18529404)
I 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.
Re:Show HN: MazeBattles.com – Race to solve generated mazes by mtmail on Sunday November 25, 2018 @03:25PM (#18528811)
From a previous submission I see it's open source (under ISC license) https://github.com/HenryDavidZhu/MazeBattles.com
Re:Show HN: MazeBattles.com – Race to solve generated mazes by porphyrogene on Sunday November 25, 2018 @03:59PM (#18528997)
This 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.

Re:Show HN: MazeBattles.com – Race to solve generated mazes by horyd on Sunday November 25, 2018 @05:49PM (#18529586)
Cool 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
Re:Show HN: MazeBattles.com – Race to solve generated mazes by golergka on Sunday November 25, 2018 @09:16PM (#18530523)
I clicked "single player", watched "generating maze.." screen for 10 seconds, closed the tab. Not willing to wait that much just to try something out.
Re:Show HN: MazeBattles.com – Race to solve generated mazes by froindt on Sunday November 25, 2018 @07:53PM (#18530148)
Not 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.
Re:Show HN: MazeBattles.com – Race to solve generated mazes by ferarri488 on Sunday November 25, 2018 @05:55PM (#18529618)
The github repository is: https://github.com/HenryDavidZhu
Re:Show HN: MazeBattles.com – Race to solve generated mazes by ferarri488 on Sunday November 25, 2018 @05:55PM (#18529621)
Re:Show HN: MazeBattles.com – Race to solve generated mazes by pj_mukh on Sunday November 25, 2018 @05:12PM (#18529397)
Add a python interpreter. Let me code-solve it. haha!
Re:Show HN: MazeBattles.com – Race to solve generated mazes by jhwang5 on Sunday November 25, 2018 @05:46PM (#18529573)
What's an open source python interpreter you can add in this case?
Re:Show HN: MazeBattles.com – Race to solve generated mazes by dktp on Sunday November 25, 2018 @05:03PM (#18529348)
D key doesn't work on my Pixelbook. W and S work as expected, moving up and down, but D does nothing.
Re:Show HN: MazeBattles.com – Race to solve generated mazes by dktp on Sunday November 25, 2018 @08:34PM (#18530348)
Never mind, it works flawlessly. A Chrome addon was causing the problems.
Re:Show HN: MazeBattles.com – Race to solve generated mazes by rockyex on Wednesday November 28, 2018 @05:42AM (#18550563)
What's the average completion time of a singleplayer maze?
Re:Show HN: MazeBattles.com – Race to solve generated mazes by slig on Sunday November 25, 2018 @07:20PM (#18529999)
Share it on /r/WebGames, they enjoy games like this.
Re:Show HN: MazeBattles.com – Race to solve generated mazes by aaaaaaaaaab on Sunday November 25, 2018 @03:44PM (#18528912)
These DFS-type mazes are pretty easy to solve...
Re:Show HN: MazeBattles.com – Race to solve generated mazes by pizza on Sunday November 25, 2018 @03:22PM (#18528799)
click quit -> http://localhost:3000
Re:Show HN: MazeBattles.com – Race to solve generated mazes by thoughtstheseus on Sunday November 25, 2018 @03:11PM (#18528739)
This is great. Thank you!