5 ms·
Very similar immediately playable JavaScript version. http://play.elevatorsaga.com/ http://play.elevatorsaga.com/ Which I'm now closing as I lost too much tim
by noir_lord 11y ago
Very similar immediately playable JavaScript version.
http://play.elevatorsaga.com/ http://play.elevatorsaga.com/
Which I'm now closing as I lost too much time to this the first time I saw it.
- hodwik 11y agoOh no. My work day has been seriously threatened.
- noir_lord 11y agoWhich is why I closed it once I'd copied the link, it's very very addictive. I think it's the programmer equivalent of https://xkcd.com/356/ https://xkcd.com/356/
- Luyt 11y agoNice link! The problem has been solved, by the way: http://physics.stackexchange.com/questions/2072/on-this-infinite-grid-of-resistors-whats-the-equivalent-resistance http://physics.stackexchange.com/questions/2072/on-this-infi...
- kevindeasis 11y agoThat is hilarious. If elevators always malfunctioned like that imagine how many calories some people would burn.
- oliv__ 11y agoThis is fun! Thanks for sharing.
- Cshelton 11y agoThis is awesome, I'm closing it now though as well. This is how teaching should be...this exercise isn't at all about programming and more about how to think. This can be simplified into a drag and drop block language and given to grade school kids as a really good exercise. Many programmers in the professional world today would really struggle with this because they never learned to actually think, they just "program" (copy paste, edit work already done by others). They don't actually create new things or find solutions themselves.
- tsunamifury 11y agoPlenty of programmers think, they just don't consider the use case and the user.
- lfowles 11y agoThis would be a great Blockly[0] demo [0]: https://developers.google.com/blockly/?hl=en https://developers.google.com/blockly/?hl=en
- MzHN 11y agoIndeed. Example of a similar game using Blockly, with the option to switch to JavaScript: http://slushsmackdown.com http://slushsmackdown.com
- dwd 11y agoMy kids played this first time around, they would have been grade 5 or 6 at the time and got through to level 7 before hacking the level selection and trying random levels to see which ones their approach worked with.
- mschuster91 11y agoIs there a solution "Attach R2D2 to computer terminal"? ;)
- keville 11y agoAlso came here to post this link. Ought to come with a warning label.
- deleted 11y ago[deleted]
- mshang0 11y agoThis game is basically what I set out to make, not knowing it existed at the time.
- kilroy123 11y agoThis is fantastic. Are there other good programming challenge / games like this? I'd love to see a collection of other similar games.
- darylteo 11y agohttps://codecombat.com/ https://codecombat.com/ maybe? http://www.codeandconquer.co/ http://www.codeandconquer.co/ is vaporware at this stage. https://www.battlecode.org/ https://www.battlecode.org/ is also great fun each year. Not sure if it continues running after the competition is over. http://aichallenge.org/ http://aichallenge.org/ hasn't run either for awhile unfortunately.
- krock 11y agoruby warrior https://www.bloc.io/ruby-warrior https://www.bloc.io/ruby-warrior is another good one
- jvolkman 11y agoRobocode is another one: http://robocode.sourceforge.net/ http://robocode.sourceforge.net/
- kiliankoe 11y agoI spent way too much time with Robocode a few years back. Those advanced "surfing" bots some people built though... It was quite disheartening having not the slightest bit of a chance as a novice programmer.
- hodwik 11y agoStockfighter.io and microcorruption
- lackbeard 11y agoTIS-100: http://www.zachtronics.com/tis-100/ http://www.zachtronics.com/tis-100/ Untrusted: https://alexnisnevich.github.io/untrusted/ https://alexnisnevich.github.io/untrusted/
- 11y ago
- logn 11y agoThis makes me want a hackable version of SimTower.
- deleted 11y ago[deleted]
- nitin_flanker 11y agoI stuck at challenge #10, can anybody help?
- emonidi 11y agoI am also stuck at number ten. There is a link "Wiki and solutions" in which I guess we could find some useful theory. Still haven't taken a look at it.
- est 11y agoSomehow I find this API counter-intuitive and painful to use. - Why currentFloor() is a function not a property? - Why both goingUpIndicator() and goingDownIndicator() instead of .direction property? - Why name destinationDirection() instead of currentDirection? - Why only floor_button_pressed but no in-door button press event? I gave up.
- digi_owl 11y agoWhat i found the most annoying was that it had both a save and a apply button. Hilariously i missed the apply button on the first try, and wondered why it was still only moving between 0 and 1 after adding a few lines. The site design could do with a tuneup as well. The actual page seems to only fit on widescreen, while the docs page becomes painful to read on same.
- emonidi 11y ago1. Because maybe the author wanted to keep the property hidden and only expose a getter function and hide the setter? 2. Same reason. They are being set internally. A sane programmer would not give you the power to do that because its a product of internal calculations. 3. Naming of method/function and variables is the second hardest thing in programming :) 4. The callback of on.('floor_button_pressed') gives you an floorNumber argument which is more than sufficient. What event in real life would you describe with on('in-droor-button-press') ?
- Already__Taken 11y agoWell I can report just straight random is only good enough for the first level.