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
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
ExamplePlay
as an FSM playExamplePlay
files into their own folderexample_play_test.cpp
should still work and passexample_play_test.cpp
Blocked By