Live data from Hacker News

Elevator Saga – An elevator programming game

play.elevatorsaga.com

21–30 of 108 posts

Re: Elevator Saga – An elevator programming game

#23
Very fun game. After playing for a while I did of course look for a way to break it.

{ init: function(elevators, floors) { console.log(window.world); }, update: function(dt, elevators, floors) { _.each(window.world.users, function(user) { if(user.done) { user.removeMe = true; user.trigger("removed"); user.off("*"); }else{ user.done = true; user.trigger("exited_elevator", 0); } }) } }

Re: Elevator Saga – An elevator programming game

#26
post #5

Slightly related question: are there any standard workloads and tools out there for experimenting with elevator programming? My apartment building has a utility elevator and two normal elevators. Each floor has two sets of call buttons. These have been programmed in different ways over the years, and I've always been curious if there was a good way to quantify the changes.

http://www.quora.com/Is-there-any-public-elevator-scheduling...

Re: Elevator Saga – An elevator programming game

#27

Very fun game. After playing for a while I did of course look for a way to break it. { init: function(elevators, floors) { console.log(window.world); }, update: function(dt, elevators, floors) { _.each(window.world.users, function(user) { if(user.done) { user.removeMe = true; user.trigger("removed"); user.off("*"); }else{ user.done = true; user.trigger("exited_elevator", 0); } }) } }

lol

Re: Elevator Saga – An elevator programming game

#28
Wow. I want so many more of these kind of things for my kids. It's so close to using code to solve real problems. How about an assembly line version where many parts have to come together in the correct order? Or an air traffic control one? Subway scheduling? Pizza delivery? More please!
Post reply on HN