News for hackers. Stuff that matters.
Re:Show HN: Quantum Game with Photons by anchpop on Sunday May 28, 2017 @12:15AM (#14433061)
Another good web game about advanced physics is VelocityRaptor [1]. In the game the speed of light is set to 3 miles per hour, and you have to use relativity to solve puzzles

[1] http://www.testtubegames.com/velocityraptor.html

Re:Show HN: Quantum Game with Photons by stared on Sunday May 28, 2017 @05:40AM (#14433700)
It is my favourite science-based game, especially how it mixed game, cartoon drawings and humour, with actual Lorentz transformation.

Also, a longer list of such games: https://github.com/stared/science-based-games-list

Re:Show HN: Quantum Game with Photons by tomsmeding on Sunday May 28, 2017 @02:17AM (#14433325)
This game needs lots more education and explanation. Through the levels, I understood reasonably well how polarization works, but interference is still a complete mystery, and I haven't been able to get past level 25 (interfrenzy).

If someone plays past the first few levels, you can be quite sure he/she is not afraid of some explanation about how stuff actually works, and having that would have made the game a lot more fun for me.

Also, in the Sagnac-Michelson-Morley level, you're supposed to place a "Sagnac-interfRerometer" somewhere (hint: it's the vacuum jar, and that's a different thing). ;)

Re:Show HN: Quantum Game with Photons by stared on Sunday May 28, 2017 @07:24AM (#14433956)
I am really convinced to explain things after showing them, see my credo in http://p.migdal.pl/2016/08/15/quantum-mechanics-for-high-sch...:

For experimental stuff, it’s crucial to show first, explain later - if at all (otherwise you are killing the sense of suspension and awe):

The researchers’ conclusion was that, in the context of strange toys of unknown function, prior explanation does, indeed, inhibit exploration and discovery. - from http://www.economist.com/node/18741484 (When should you teach children, and when should you let them explore? - The Economist )

At the same time, yes, I agree it would benefit for adding some explanations, descriptions or links later. Just... many project, little time. But thanks for bringing it up!

Re:Show HN: Quantum Game with Photons by 6nf on Sunday May 28, 2017 @12:05AM (#14433044)
I have a solution for #22 with 2 mirrors left over: http://i.imgur.com/XB4QwLy.jpg
Re:Show HN: Quantum Game with Photons by stared on Sunday May 28, 2017 @07:21AM (#14433947)
Thx, I will make it more complicated! :)

Typically, I create some puzzle, them freeze some elements, and leave others for tray. However, often there is some sneaky way to go around. In this case, I prefer to avoid it, as it breaks this beautiful infinite loop pattern.

Re:Show HN: Quantum Game with Photons by stared on Sunday May 28, 2017 @10:13AM (#14434436)
In any case - fixed. Just reset this level.
Re:Show HN: Quantum Game with Photons by 6nf on Sunday May 28, 2017 @09:34PM (#14436924)
Re:Show HN: Quantum Game with Photons by stared on Monday May 29, 2017 @01:02PM (#14440072)
Oh, this one is clever!

Added one more mine, it should do the job.

Re:Show HN: Quantum Game with Photons by 6nf on Monday May 29, 2017 @10:42PM (#14442731)
Now I can't solve it :( This is my best so far:

http://i.imgur.com/eYgcMqs.jpg

Please help!

Re:Show HN: Quantum Game with Photons by 6nf on Tuesday May 30, 2017 @03:51AM (#14443587)
Wait I got it never mind :)
Re:Show HN: Quantum Game with Photons by stared on Tuesday May 30, 2017 @05:34AM (#14444013)
If you are that proficient at solving it, do you want to create some levels? :)
Re:Show HN: Quantum Game with Photons by 6nf on Thursday June 01, 2017 @02:43AM (#14458420)
I've added you on Google Hangouts, would love a chat :)
Re:Show HN: Quantum Game with Photons by stared on Thursday June 01, 2017 @05:22AM (#14458939)
I don't see that. :/ Could you just drop me an email? (At http://p.migdal.pl/.) Then we can redirect talks to any channel, Hangouts included.
Re:Show HN: Quantum Game with Photons by pmontra on Sunday May 28, 2017 @03:15AM (#14433431)
Great game. Two note

1) you should add some explanation about why making light to through a number of crystals (they slow it down by 1/4 wavelength) lets the beam go though a beam splitter in one or two directions.

2) Pinch to zoom works but the photon beam moves on a path that's not affected by the zoom. Firefox Android, I didn't check with other browsers. But it works on a 4,7" screen, which is great.

Re:Show HN: Quantum Game with Photons by stared on Sunday May 28, 2017 @05:51AM (#14433724)
Ad 1)

My idea was to show who things work, rather than do any kind of textbook explanation. That said, I understand why this slow-down is mysterious (and deserves a better visualisation).

Ad 2)

Thanks for info. Tiles are on CSV and the animation is on Canvas; I will try to see what's the problem (don't own anything with Android, though). In any case: I would be really, really grateful for creating an issue here: https://github.com/stared/quantum-game/issues.

Re:Show HN: Quantum Game with Photons by Lramseyer on Sunday May 28, 2017 @02:41AM (#14433373)
I really like the idea of this game. But while it seems to simplify certain aspects of optical tables (like adjusting mirrors and other optical elements,) it makes other things way more complicated than they should be due to the visual simplicity.

It's mostly the polarization (and phase to a lesser degree) that I am referring to. That stuff is way more intuitive on a real optical table.

Re:Show HN: Quantum Game with Photons by stared on Sunday May 28, 2017 @07:19AM (#14433942)
You mean, that in 2D it is harder to show some inherently 3D things (like polarization)? (If so, then I agree - but wanted to keep visual simplicity... and I am not a graphic designer, and simple 2D things are the most advanced things I can do.)
Re:Show HN: Quantum Game with Photons by tgb on Sunday May 28, 2017 @11:00AM (#14434614)
I think you did a fantastic job showing all the variables at once. I did feel the need for some kind of "debugger" to really see what was going on with my setups instead of watching them run since there is simply inherently​ a lot of simultaneous things to keep track of.
Re:Show HN: Quantum Game with Photons by stared on Sunday May 28, 2017 @02:43PM (#14435558)
Without that it would be impossible to debug it (from wrong signs in operators, through mistakes with simulation to typical programming bugs).

Some day I want to make it visually appealing and actually make it a part of UI.

Re:Show HN: Quantum Game with Photons by benjamincburns on Sunday May 28, 2017 @05:47AM (#14433715)
I assume there must be some way to rotate the mirror? Maybe I'm crazy, but I can't seem to figure it out.

Edit: Seems it's mobile only, or the mouse drag event handling is masking the click event. That is, it rotates for me on mobile, but not on my desktop browser (chrome 58.0.3029.110).

Re:Show HN: Quantum Game with Photons by stared on Sunday May 28, 2017 @05:57AM (#14433737)
Strange... while I have mobile in mind, I test it on Chrome, on OSX. Checked it right now and it works on my desktop.

Issue is here: https://github.com/stared/quantum-game/issues/5 - as it seems that more people have the same problem. Any pointers how to solve it (or Pull Requests!) are welcomed! :)

Re:Show HN: Quantum Game with Photons by RobertoG on Sunday May 28, 2017 @06:45AM (#14433850)
I was going crazy ;-) It seem it's not working on firefox
Re:Show HN: Quantum Game with Photons by tbabb on Sunday May 28, 2017 @01:06AM (#14433155)
I hope it wasn't on purpose that the "bomb" tile crashed my browser when it exploded...
Re:Show HN: Quantum Game with Photons by stared on Sunday May 28, 2017 @08:39AM (#14434161)
Then it worked better than expected! ;)

(Was not intended. Would be grateful for a screenshot / specs though!)

Re:Show HN: Quantum Game with Photons by sliken on Sunday May 28, 2017 @01:43AM (#14433231)
Is level 16 (three polarizers) broken? There's only one piece you can place, and only 5 places you could place it (that would make sense). Not placing it doesn't work either.
Re:Show HN: Quantum Game with Photons by tomsmeding on Sunday May 28, 2017 @02:00AM (#14433274)
You can rotate polarizers as well :)
Re:Show HN: Quantum Game with Photons by sliken on Sunday May 28, 2017 @03:04AM (#14433413)
Ha, thanks, didn't realize that. Polarizers that you place anyways.
Re:Show HN: Quantum Game with Photons by gji on Monday May 29, 2017 @03:11PM (#14440825)
Nice game, but there's nothing intrinsically quantum about anything that happens. Everything is perfectly describable with classical E&M.
Re:Show HN: Quantum Game with Photons by sideshowb on Sunday May 28, 2017 @05:59AM (#14433745)
hi again stared, great to see you finished this at last! Will have a play later.

We met on here last year discussing my quantum game. Shameless plug for everyone else:

http://tropic.org.uk/~crispin/quantum/

(Sorry about expired security cert!)

Re:Show HN: Quantum Game with Photons by stared on Sunday May 28, 2017 @07:17AM (#14433935)
I like such plugs! (Maybe as I do them myself a lot... and now I shamelessly confess to that.)

I would need to setup Flash, though. (Do you have/plan any JS version?)

Re:Show HN: Quantum Game with Photons by sliken on Sunday May 28, 2017 @03:15AM (#14433433)
Any hints for 21? I can get 100% to one detector or 98% to 2.
Re:Show HN: Quantum Game with Photons by stared on Sunday May 28, 2017 @08:38AM (#14434158)
Each beam splitter splits intensities in halves. Make sure you join beams with same intensities.
Re:Show HN: Quantum Game with Photons by ADanFromCanada on Saturday May 27, 2017 @11:59PM (#14433028)
This is awesome!