-
Notifications
You must be signed in to change notification settings - Fork 0
biot023/statemachine_play
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
EXAMPLE 1: irb -r "./statemachine_eg1.rb" $ puts vm.state $ vm.dollar $ puts vm.state $ vm.selection $ puts vm.state EXAMPLE 2: irb -r "./statemachine_eg2.rb" $ vm.dollar $ vm.dollar $ vm.selection( "Peanuts" ) EXAMPLE 3: irb -r "./statemachine_eg3.rb" $ vm.coin( 25 ) $ vm.coin( 50 ) $ vm.coin( 25 ) EXAMPLE 4: irb -r "./statemachine_eg4.rb" $ vm.repair $ vm.operate $ vm.dollar $ vm.repair $ vm.operate
About
Learning state machine from the examples
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published