Just in case, project repo is here: https://github.com/stared/quantum-game
For more on learning (and teaching) quantum mechanics, see: http://p.migdal.pl/2016/08/15/quantum-mechanics-for-high-sch...
And BTW: a question to you (as I guess there are many JavaScript whizz kids): how to make it more reactive?