RealBot icon indicating copy to clipboard operation
RealBot copied to clipboard

Use statemachine for bots

Open stefanhendriks opened this issue 7 years ago • 1 comments

Currently the bot is a whole big bunch of if statements. A good way to deal with this is a state machine.

It also makes it way easier to think about the bot and deduce how it behaves. Now it is one big ball of ifs and maybes :/

stefanhendriks avatar Sep 02 '18 19:09 stefanhendriks

+1 for future me

working on #17 makes me wonder how I ever could work with this codebase without a sane state machine...

stefanhendriks avatar Sep 08 '19 18:09 stefanhendriks