Alejandro Santiago
07ddb1f7b6
refactor: made ball controller listen to bloc ( #116 )
...
* refactor: included BonusBallController
* feat: made LaunchedBallControler react to states
* refactor: removed isLastBall
* fix: solved tests
* fix: solved BonusLetterActivated test
* refactor: used ensureAdd
3 years ago
Alejandro Santiago
411b489e1e
refactor: Pathway to Shapes ( #87 )
...
* refactor: removed findNested extensions (#77 )
* refactor: changed Pathway for Shapes
* refactor: renamed pathway to shape
* refactor: moved shapes to components package
* fix: fixed arc radius on shapes
* refactor: changed jetpack to shapes
* refactor: modified jetpack ramp to use shapes and blueprint
* refactor: launcher ramp
* test: removed unnecessary tests for ramps
* refactor: refactored baseboard with arcshapes
* chore: doc refactor
* test: coverage tests
* refactor: refactored launcher ramp
* test: tests for shapes
* test: added removed ellipse tests
* test: arcshape coverage
* test: unnecessary tests removed
* chore: params names
* chore: modified doc for Layered and added one test for nested
* test: changed tests names
* test: not layered nested children
* refactor: moved static param and made other private on ramps
* Update lib/game/components/jetpack_ramp.dart
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* Update lib/game/components/jetpack_ramp.dart
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* Update lib/game/components/launcher_ramp.dart
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* chore: renamed straight path vars
* Update packages/pinball_components/lib/src/components/shapes/arc_shape.dart
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* refactor: constructors with rotation instead of separated method
* test: refactored tests
* refactor: moved rotate to separate method
* refactor: rotation on shapes
Co-authored-by: RuiAlonso <rui.alonso@verygood.ventures>
Co-authored-by: Rui Miguel Alonso <ruiskas@gmail.com>
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
3 years ago
Alejandro Santiago
823cdb6af5
feat: include DashNest bonus ( #80 )
...
* feat: included dash nest logic
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
3 years ago
Erick
1754602634
feat: adding bonus score to the user when they complete the bonus ( #36 )
...
* feat: adding bonus score to the user when they complete the bonus
* feat: pr suggestions
3 years ago
Erick
03d48eac40
feat: adding bonus letters to board ( #35 )
...
* feat: adding ball spawming upon click on debug mode
* PR suggestions
* fix: rebase
* feat: adding bonus letter component
* feat: bonus letter callback
* feat: removing flip
* feat: adding bonus letters to board
* Apply suggestions from code review
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* feat: improving bonus letters grouping
* feat: removing not needed pump
* feat: rebase fix
* fix: re adding wrongly removed code during rebase
* fix: lint
* fix: flaky test
* Apply suggestions from code review
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
3 years ago
Erick
07d16fbac0
feat: adding bonus logic to the game bloc ( #24 )
...
* feat: adding bonus logic to the game bloc
* feat: PR suggestions
* Apply suggestions from code review
Co-authored-by: Alejandro Santiago <dev@alestiago.com>
* feat: pr suggestions
* chore: main rebase
* feat: pr suggestions
* Apply suggestions from code review
Co-authored-by: Alejandro Santiago <dev@alestiago.com>
* feat: pr suggestion
* feat: pr suggestions
* feat: pr suggestions
* Apply suggestions from code review
Co-authored-by: Alejandro Santiago <dev@alestiago.com>
* feat: pr suggestions
Co-authored-by: Alejandro Santiago <dev@alestiago.com>
3 years ago
Erick Zanardo
e4cd4342c0
feat: pr suggestions
3 years ago
Erick Zanardo
df2ce91b06
feat: adding bonus letter feature state management
3 years ago
Erick
adcc43d04a
Apply suggestions from code review
...
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
3 years ago
Erick Zanardo
dba7761e01
feat: addressing PR comments
3 years ago
Alejandro Santiago
18e1f950ad
feat: implement GameBloc ( #3 )
...
* chore: generated bloc using VS extension
* chore: included equatable dependency
* feat: implemented BallLost and Scored events
* refactor: renamed ballsLeft to balls
* chore: exported bloc in barrel file
* feat: tested and improved GameState
* feat: tested and improved GameState
* feat: tested and improved GameEvent
* feat: tested GameBloc
* refactor: modified redundant test message
* refactor: included initial factory constructor
* refactor: corrected class doc comment
* feat: made GameEvent support value equality
* refactor: adapted equality test to pick coverage
* refactor: moved linter ignore comment
* refactor: removed const from equality comparison
* refactor: changed factory constructor for named constructor
* refactor: added trailing commas
3 years ago