Phantom5522 / NekoNeko-chan

3 stars 0 forks source link

implement state machine #4

Open schuub opened 5 years ago

schuub commented 5 years ago

Is your feature request related to a problem? Please describe. we need to keep track of some variables that influence how the robot behaves at certain stages of the challenge, this could potentionally get messy

Describe the solution you'd like Let the NekoNekoChan class instantiate a state machine on init and use it for decision making

Describe alternatives you've considered Use of global variables and lots of if/else statements

Additional context

schuub commented 5 years ago

https://youtu.be/E45v2dD3IQU

https://www.python-kurs.eu/endlicher_automat.php