Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
pp19dd
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
14 ms
·
61.
▲
by
pp19dd
6y ago
Midway through this project, I ran into that pure HTML one here and chuckled that someone else was making their variant as well. It really cracked me up! Then there was another, and then I ran into another (yesterday's), so I went ah
62.
▲
by
pp19dd
6y ago
Hm. I'll make the end condition configurable so you can pick that as an option. Right now I'm stuck at a second refactoring but the idea is to give the player flexibility on structuring the game when they start it. Right now th
63.
▲
by
pp19dd
6y ago
Yeah, totally get your point. Generating one is inexpensive, maybe 1 ms to get it cranking. It's entirely possible that looping through untampered RNG combinations until a hole opens is more efficient than scrolling the field around.
64.
▲
by
pp19dd
6y ago
Yep :( Instead of firing up tethered Chrome in debug mode, grabbing a 7' St. Croix and going to a pier before sun sets ;) Time better spent, perhaps. My hunch is it has to do with an implementation of EventTarget, the apparent source
65.
▲
by
pp19dd
6y ago
Middle-click is the devil's button. * Attempts to hide the 'middle click & drag' line. Obviously you're referring to the rectilinear mechanics. But, would middle click work on a hex grid?
66.
▲
by
pp19dd
6y ago
Ha, thanks for the feedback. I'll address all the things I can from your list. Of the visual artefacts, only the last one makes sense to me, a lost mouseout event overtaken by events (yes, I was lazy.) Think it's possible the f
67.
▲
by
pp19dd
6y ago
Hey, thanks for the bug report and taking the time to SS this and track me down here. I'll trace it in memory logs to be sure, but, I think it's on a fence between a bug and a not-bug. Time to torque all the bolt heads for sure.
68.
▲
by
pp19dd
6y ago
Yep, that issue is a battle I've lost in the court of public opinion here, so mea culpa. Thanks- I'll see about improving it. Though, in my defense this little clone is already very unlike like minesweeper in so many ways, starti
69.
▲
by
pp19dd
6y ago
Thanks, I'll put this as an option when creating a new game. As for myself, I definitely like the feel of nailing a larger crystal of empty space and get that Pavlovian sound. What's funny is that most of the server code is alrea
70.
▲
by
pp19dd
6y ago
Gotcha. Thanks for taking the time to explain. I'll add some hotkeys (+/-) to initiate a zoom, but otherwise this is a result of my pure laziness. Not that you can zoom like this now, but you can pan if you hold the ctrl key down
71.
▲
by
pp19dd
6y ago
Removed it and other animations when render and animation speed became an issue and I focused on optimizing render speeds. Then I never got around to putting them back in. Like, a webgl version of this could probably have a hundred times
72.
▲
by
pp19dd
6y ago
Hmm. Good thinking. But in case your first click lands in a dense field, that method won't cut a notch in the fabric for you to chisel at. Like a dummy, I'm taking the waiter-pulling-tablecloth-off approach here, but lets see if
73.
▲
by
pp19dd
6y ago
Oh, I think I get you. You mean the static HUD isn't doing anything for you zooming in the board. That's an oversight on my part, thanks for the report. Edit: also, you should be able to zoom in on the tiles, but, you're pos
74.
▲
by
pp19dd
6y ago
Thanks. If the node.js program crashes, you'll see Italy rendered as the 403 error message. Edit: after yelling at the engine room and upping MaxRequestWorkers, you can see the 403 error page at this lazy URL: https://www.mu
75.
▲
by
pp19dd
6y ago
Ouch, bad luck! Incidentally, that's why the 'instant restart' option got put in. Had my alpha tester growl at me over it. Thanks, that's already in the works and I'll put in an option for a safe first click. Wro
76.
▲
by
pp19dd
6y ago
Thanks, the beginner/intermediate/expert levels are the only ones that give a different difficulty. All the other maps are expert - hardcoded at about the % age of a classic minesweeper mine density. Trade off is you get three l
77.
▲
by
pp19dd
6y ago
Thanks, adding to fix list! Though I gave it rudimentary testing and a grumbling Safari EventTarget shim, I didn't chain myself to a mac and play for any extended period. Being an old desktop machine/FF fart, I'm kind of ey
78.
▲
by
pp19dd
6y ago
Also, oops, missed this part. There is zoom. Unfortunately it requires mousewheel or some magic combination of your trackpad and pinch which, I just hate mobile and macs apparently. Key Z is to zoom-all.
79.
▲
by
pp19dd
6y ago
Thanks! I actually did it that way on purpose. Reason being is that in multiplayer, you get points clicking around the blurry shape. So, competitive function with multiple players, and there's a risk of misclicking in the rush and n
80.
▲
by
pp19dd
6y ago
For an architectural overview, view source of the page. Bottom has an ascii diagram of the geometry, and how the program works. For example: "a hexagon is six equilateral triangles (length h) put together around a common center"
81.
▲
Show HN: Hexagonal Minesweeper with multiplayer, geographic maps, zoom and pan
(multisweeper.com)
92 points
by
pp19dd
6y ago
|
52 comments
82.
▲
by
pp19dd
6y ago
It'd be great being able to program an echo routine with this. What's available there is lacking in functionality.
83.
▲
by
pp19dd
6y ago
Next? Dams. There are about 84,000 dams in the USA, and most of them are approaching their projected end-of-life - a hundred years or so (most of them are of the earthen type, not the concrete kind.) And ... civil engineers are going into
84.
▲
by
pp19dd
6y ago
Form whatever idea you will of all this chaff, one thing is indisputable. You yourself can file a FOIA request at the Pentagon requesting "cockpit videos cleared for release to Louis Elizondo in the Fall (September-October) of 2017&quo
85.
▲
by
pp19dd
6y ago
Funny how four letters can take one in so many tangential directions. For some of us old farts, it's also a memorable KMFDM song from 1999: https://www.youtube.com/watch?v=nEC1qpfLY1E
86.
▲
by
pp19dd
6y ago
Video of the actual research, showing the knotted vortex using their exotic hydrofoils: https://youtu.be/Ja886GtHlcE?t=8
87.
▲
by
pp19dd
6y ago
The last-three-years retirement bowling lanes you're describing need a US-wide overhaul, but it's definitely not an uncommon occurrence in public service admin anywhere in the states, on a City, State and Federal level. But the ov
88.
▲
by
pp19dd
6y ago
Having worked on stories like these, I'd caution anyone to examine some of the overtime outliers before responding to them. Often enough the highest visible overtimes on a city budget are social functions, like a sheriff who provides h
89.
▲
by
pp19dd
6y ago
Further we look into the void, further we see how vast it is in length of time and breadth of space. And in that void we're a tiny speck of dust on an already tiny speck of dust. For me, looking at zoomable deep space telescope image
90.
▲
by
pp19dd
6y ago
Depends on the market. But generally speaking, search engine and social (and dark social) just about evenly account for a vast majority of entry points. However, consider that social share counts can and often exceed measured view counts
More ›