Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Convert ExamplePlay into an FSM play #3298

Open
4 tasks
williamckha opened this issue Jul 30, 2024 · 0 comments · May be fixed by #3402
Open
4 tasks

Convert ExamplePlay into an FSM play #3298

williamckha opened this issue Jul 30, 2024 · 0 comments · May be fixed by #3402
Assignees
Labels
Difficulty - 3 Easy and simple issues that require some context to do Gameplay

Comments

@williamckha
Copy link
Contributor

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 williamckha added Difficulty - 3 Easy and simple issues that require some context to do Gameplay labels Jul 30, 2024
@someone2060 someone2060 self-assigned this Oct 5, 2024
@someone2060 someone2060 linked a pull request Oct 28, 2024 that will close this issue
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Difficulty - 3 Easy and simple issues that require some context to do Gameplay
Projects
None yet
2 participants