Designing a State Machine without conditionals · HackerTrans