Click here to Skip to main content
15,749,066 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: State Machines - my brain won't do what I want it to Pin
Garth J Lancaster13-May-20 20:57
professionalGarth J Lancaster13-May-20 20:57 
GeneralRe: State Machines - my brain won't do what I want it to Pin
Rage13-May-20 21:30
professionalRage13-May-20 21:30 
GeneralRe: State Machines - my brain won't do what I want it to Pin
Greg Utas14-May-20 0:27
mveGreg Utas14-May-20 0:27 
GeneralRe: State Machines - my brain won't do what I want it to Pin
F-ES Sitecore14-May-20 0:31
professionalF-ES Sitecore14-May-20 0:31 
GeneralRe: State Machines - my brain won't do what I want it to Pin
Sander Rossel14-May-20 0:52
professionalSander Rossel14-May-20 0:52 
GeneralRe: State Machines - my brain won't do what I want it to Pin
F-ES Sitecore14-May-20 5:39
professionalF-ES Sitecore14-May-20 5:39 
GeneralRe: State Machines - my brain won't do what I want it to Pin
Tim Deveaux14-May-20 1:14
Tim Deveaux14-May-20 1:14 
GeneralRe: State Machines - my brain won't do what I want it to Pin
Rich Leyshon14-May-20 1:40
Rich Leyshon14-May-20 1:40 
That takes me back a LONG time to my student days. It was an assignment I remember, writing something exactly like this in assembly on some 8 bit processor (6809 rings a vague bell). Can't remember how, but our programs could then be loaded into a board based computer connected to a miniature elevator for everyone to have a go at defeating other people's software.

The tricky bit was deciding when to accept and when to ignore a request from a button push on a given floor or if e.g. someone presses a button to request a lift to take the up, then gets in and presses the button for a lower floor. Decisions would then be based on all the "in-lift" requests plus the "out of lift" requests plus the current direction of travel.

Surprising fun and games for such a simple system.
GeneralRe: State Machines - my brain won't do what I want it to Pin
Tim Deveaux14-May-20 1:57
Tim Deveaux14-May-20 1:57 
QuestionRe: State Machines - my brain won't do what I want it to Pin
kmoorevs14-May-20 4:28
kmoorevs14-May-20 4:28 
AnswerRe: State Machines - my brain won't do what I want it to Pin
kalberts14-May-20 9:58
kalberts14-May-20 9:58 
GeneralRe: State Machines - my brain won't do what I want it to Pin
Mircea Neacsu14-May-20 3:05
Mircea Neacsu14-May-20 3:05 
GeneralRe: State Machines - my brain won't do what I want it to Pin
F-ES Sitecore14-May-20 5:39
professionalF-ES Sitecore14-May-20 5:39 
GeneralRe: State Machines - my brain won't do what I want it to Pin
Tim Deveaux14-May-20 6:36
Tim Deveaux14-May-20 6:36 
GeneralRe: State Machines - my brain won't do what I want it to Pin
Dar Brett14-May-20 2:13
Dar Brett14-May-20 2:13 
GeneralRe: State Machines - my brain won't do what I want it to Pin
Matthew Dennis14-May-20 2:48
sysadminMatthew Dennis14-May-20 2:48 
GeneralRe: State Machines - my brain won't do what I want it to Pin
Marc Clifton14-May-20 3:52
mvaMarc Clifton14-May-20 3:52 
GeneralRe: State Machines - my brain won't do what I want it to Pin
Member 1298255814-May-20 8:45
Member 1298255814-May-20 8:45 
RantWindows Update. Are you KIDDING me? Pin
Chris Maunder13-May-20 14:09
cofounderChris Maunder13-May-20 14:09 
GeneralRe: Windows Update. Are you KIDDING me? Pin
Richard Andrew x6413-May-20 14:22
professionalRichard Andrew x6413-May-20 14:22 
GeneralRe: Windows Update. Are you KIDDING me? Pin
PIEBALDconsult13-May-20 14:34
professionalPIEBALDconsult13-May-20 14:34 
GeneralRe: Windows Update. Are you KIDDING me? Pin
Richard Andrew x6413-May-20 14:40
professionalRichard Andrew x6413-May-20 14:40 
GeneralRe: Windows Update. Are you KIDDING me? Pin
Greg Utas13-May-20 14:41
mveGreg Utas13-May-20 14:41 
JokeRe: Windows Update. Are you KIDDING me? Pin
Richard Andrew x6413-May-20 14:45
professionalRichard Andrew x6413-May-20 14:45 
GeneralRe: Windows Update. Are you KIDDING me? Pin
Greg Utas13-May-20 15:09
mveGreg Utas13-May-20 15:09 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.