Software icon indicating copy to clipboard operation
Software copied to clipboard

Convert `ExamplePlay` into an FSM play

Open williamckha opened this issue 1 year ago • 0 comments

Description of the task

ExamplePlay is a simple play that moves all our robots in a circle around the ball. It is currently written as a coroutine. We would like to convert all of our plays into using finite-state machines (FSMs).

This is a good beginner project (albeit a bit more involved than some other Difficulty 3 tickets) if you are interested in learning how our play FSMs work and our Skills, Tactics, Plays (STP) gameplay architecture. You should take a look at some of our other plays implemented using FSMs to understand their general structure.

Acceptance criteria

  • [ ] Rewrite ExamplePlay as an FSM play
  • [ ] Move all ExamplePlay files into their own folder
  • [ ] The existing example_play_test.cpp should still work and pass
  • [ ] Bonus: Write a simulated gameplay pytest to replace example_play_test.cpp

Blocked By

williamckha avatar Jul 30 '24 16:07 williamckha