Allison Ryan
3b5af49756
refactor: `SparkyComputer` behaviors and removed `ControlledBall` ( #365 )
...
* refactor: sparky behaviors and remove controlled ball
* fix: test typo
* fix: PR suggestions
3 years ago
Erick
1ce3b374ed
feat: adding sparky sfx ( #364 )
...
* feat: adding sparky sfx
* Apply suggestions from code review
* lint
* feat: better bonus sound implementation
* lint
3 years ago
Erick
f8b6234ab4
feat: adding leaderboard display ( #352 )
...
* feat: adding leaderboard display
* feat: pr suggestions
* fix: conflicts
* lint
Co-authored-by: Alejandro Santiago <dev@alestiago.com>
3 years ago
Allison Ryan
e6005cd735
refactor: add new background and reposition components ( #356 )
...
* refactor: new asset and shape resize
* refactor: add background and move components to match
* chore: update goldens
* chore: swap out computer glow
* chore: pubspec
3 years ago
Alejandro Santiago
b3136e5857
chore: migrating to `flame_bloc` 1.4.0 ( #357 )
...
* refactor: migrating to flame_bloc
* test: passed all tests
* test: updeted ControlledFlipperTest
* test: tested FlameProvider
* test: awaited loading
* test: waited loading ScoreBehavior
* refactor: removed unused files
* refactor: removed FlameBlocTester
* refactor: moved helper
* test: fixed typo name
* refactor: renamed file name to bumper_noise_behavior_test.dart
* refactor: renamed to TestDebugPinballGame
* refactor: removed uncessary KeybordHandler mixin
* refactor: removed unecessary imports
* test: removed testGameWidgets
3 years ago
Erick
135b4ed5c2
refactor: renaming noisy to noise ( #353 )
3 years ago
Erick
df7408728e
feat: adding `Plunger` sound effects ( #324 )
...
* feat: adding launcher sfx
* Apply suggestions from code review
Co-authored-by: Alejandro Santiago <dev@alestiago.com>
* fix test
Co-authored-by: Alejandro Santiago <dev@alestiago.com>
3 years ago
Alejandro Santiago
ace61193fb
refactor: removed `GameBallsController` ( #349 )
3 years ago
Alejandro Santiago
3465c9f1e7
refactor: implemented `CameraFocusingBehavior` ( #346 )
3 years ago
Erick
79da2e9234
feat: game over voice over ( #320 )
...
* feat: game over voice over
* docs nits
* fixing rebase
3 years ago
Allison Ryan
391f9cac8f
refactor: input letter looping and reverse direction ( #335 )
...
* refactor: letter looping and reverse direction
* doc: update test comments to match changes
3 years ago
Erick
e9b902355d
feat: user initials submission ( #341 )
...
* feat: initial implementation
* feat: tests
* fix: lint
* fix: removing wrong commited images
* feat: pr suggestions
* feat: PR suggestions
* Apply suggestions from code review
Co-authored-by: Alejandro Santiago <dev@alestiago.com>
* Apply suggestions from code review
* Apply suggestions from code review
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* fix
* pr suggestions
* fixing comments
* pr suggestions
* lint
Co-authored-by: Alejandro Santiago <dev@alestiago.com>
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
3 years ago
Alejandro Santiago
2ad0196e44
refactor: include `GameStatus` on `GameBloc` ( #345 )
3 years ago
Erick
34d0e7d65a
feat: improving pinball audio code and loading ( #325 )
...
* feat: improving pinball audio code and loading
* fix: some errors
* refactoring the solution
* Apply suggestions from code review
Co-authored-by: Alejandro Santiago <dev@alestiago.com>
* fix: tests
* fix rebase
Co-authored-by: Alejandro Santiago <dev@alestiago.com>
Co-authored-by: Tom Arra <tarra3@gmail.com>
3 years ago
Alejandro Santiago
5fb9a40e66
fix: rendering with `FilterQuality.medium` ( #334 )
...
* feat: defined HighFilterQualityCanvas
* refactor: removed trailing comma
* refactor: started defining CanvasComponent
* feat: implemented CanvasComponent
* docs: fixed typos
* docs: changed template name
* fix: merge conflict
* refactor: set filterQuality to Medium
* refactor: removed nullable from typdef
* test: updated tests to FilterQuality.medium
3 years ago
Allison Ryan
f6719c93cf
fix: barrier obstructing dino movement ( #339 )
3 years ago
Rui Miguel Alonso
de3569c479
feat: include `Ball` final assets ( #279 )
...
* refactor: load ball assets from cache
* feat: new ball assets
* refactor: ball loads new sprites
* refactor: modified ball assets for sandbox
* refactor: removing baseColor from ball
* refactor: moved ball assets to pinball_theme
* refactor: removed all baseColor for ball
* refactor: removed unused imports
* test: golden tests for ball
* test: added missed ball assets to tests
* chore: reorder imports
* refactor: removed all default ball, use dash
* test: fixed test for ball changes
* test: adde ball assets to forest tests
* fix: fixed tests for ball
* refactor: removed baseColor from ball tests
* chore: unused imports
* test: removed golden tests for balls
* refactor: removed unused assets at test and renamed spriteAsset for ball
* refactor: spriteAsset changed for ball sprite
Co-authored-by: Tom Arra <tarra3@gmail.com>
3 years ago
Rui Miguel Alonso
79624f07f1
feat: `SpaceshipRamp` shot logic ( #296 )
...
* feat: spaceship ramp added cubit and behavior to sensor
* refactor: changed spaceshipt ramp sensor, cubit and behavior names
* refactor: added behaviors to AndroidAcres
* refactor: connect rampsensors with android acres bonus
* refactor: move ramp sensor to spaceship ramp children
* test: fixed some tests for ramp
* chore: removed unused imports
* chore: removed unused import
* Update lib/game/components/android_acres/behaviors/ramp_bonus_behavior.dart
Co-authored-by: Alejandro Santiago <dev@alestiago.com>
* refactor: search sensors from parent children
* refactor: moved ramp sensor cubit to spaceship ramp
* refactor: modified ramp behaviors
* refactor: fixed ramp behaviors tests
* refactor: changed ramp behaviors
* chore: analysis errors
* test: fixed ramp contact test
* test: coverage for spaceshipramp
* Update packages/pinball_components/lib/src/components/spaceship_ramp/spaceship_ramp.dart
Co-authored-by: Alejandro Santiago <dev@alestiago.com>
* refactor: fixed test when removing children from spaceship test constructor
* refactor: moved arrow state to cubit inside ramp instead of propagate from behavior
* refactor: sandbox for spaceshipramp modified
* refactor: removed arrow value from spaceship ramp state to sprite logic
* test: golden tests for ramp arrow
* test: coverage
* test: coverage
* refactor: changed name for RampBallAscendingContactBehavior
* refactor: added ScoringBehavior on shot and bonus behaviors
* feat: cancel subscription on ramp behavior remove
* chore: unused import
Co-authored-by: Alejandro Santiago <dev@alestiago.com>
3 years ago
Rui Miguel Alonso
d729a9ac69
refactor: split `GameState` score into `totalScore`, `roundScore` and `displayScore` ( #331 )
...
* refactor: GameState adding totalScore, roundScore and displayScore
* chore: trailing commas
* chore: doc
Co-authored-by: Tom Arra <tarra3@gmail.com>
3 years ago
Allison Ryan
6ed62f37e8
refactor: add `Backbox` asset and localized text ( #319 )
...
* refactor: clean up backboard
* test: backboard changes
* refactor: rename backbox
* fix: tests
* test: localization mocking
* test: initials input display
* chore: remove extra golden file
* chore: small changes
* test: scoreFormat
* style: cascade
* fix: no optimizations for main
* fix: loading assets
Co-authored-by: Tom Arra <tarra3@gmail.com>
3 years ago
Alejandro Santiago
8957b96ae3
feat: defined `ScoringBehavior` and `ScoringContactBehavior` ( #329 )
...
* refactor: renamed ScoringBehavior to ScoringContactBehavior
* feat: defined ScoringBehavior
* docs: improved documentation
3 years ago
Alejandro Santiago
f38f18d60a
refactor: moved noise logic to `BumperNoisyBehavior` ( #326 )
3 years ago
Alejandro Santiago
44566bcbf0
refactor: moved boost logic to `BallTurboChargingBehavior` ( #323 )
...
* feat(pinball_components): defined BallTurboChargingBehavior
* feat: updated boosting logic
* docs: improved BallTurboChargingBehavior
* docs(pinball_components): changed verb
* test: removed empty group
* test: included instantiation and loading tests
3 years ago
Allison Ryan
182e8f56cb
feat: implemented `Flapper` ( #312 )
...
* feat: add flapper
* chore: add assets to pinball game test
* fix: add mocks in file
* test: check animation onComplete
* fix: image cache in test
* Update packages/pinball_components/lib/src/components/flapper/flapper.dart
* style: commas and userData removal
* refactor: make launcher tests more robust
* refactor: removed children parameter
Co-authored-by: alestiago <dev@alestiago.com>
3 years ago
Erick
ca9679ba1d
feat: adding bumper sfx ( #315 )
...
* feat: adding bumper sfx
* feat: adding missing bumpers
* Update packages/pinball_audio/lib/src/pinball_audio.dart
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
Allison Ryan
3e10c5850d
feat: add hole in dino wall ( #306 )
...
* feat: add mouse hole in dino wall
* style: trailing comma
3 years ago
Allison Ryan
9784091f84
feat: add dino game bonus ( #301 )
...
* feat: connect dino bonus
* fix: remove ball on spit
* refactor: move logic to cubit
* chore: update test cases
3 years ago
Alejandro Santiago
30cb1f9daf
feat: implemented new `FlutterForestBonusBehavior` logic ( #303 )
...
* refactor: moved Signpost to own folder
* feat: defined SignpostCubit
* feat: implemented new FlutterForestBonus logic
* chore: changed assets
* test: updated Signpost test and goldens
* feat: updated zoom effect goldens
* feat: adjusted signpost_test
* refactor: defined isFullyProgressed method
* test: tested FlutterForestBonusBehavior
* refactor: uncommented GameHud
* docs: updated FlutterForestBonusBehavior
* test: used canvas
* docs: enhanced documentation
* refactor: swapped active and inactive assets
* test: included canvas
3 years ago
Allison Ryan
f2160feab9
feat: implemented `AndroidSpaceshipBonusBehavior` ( #298 )
...
* refactor: simplify ball entering spaceship
* feat: add bonus logic and scoring
* chore: add animatronic to spaceship sandbox
* chore: remove renderBody change
* chore: remove leftover children change
* chore: test typo
* refactor: re-add children property
* refactor: use firstChild
* refactor: PR suggestions
* Update packages/pinball_components/test/src/components/android_animatronic_test.dart
Co-authored-by: Alejandro Santiago <dev@alestiago.com>
Co-authored-by: Alejandro Santiago <dev@alestiago.com>
3 years ago
Erick
6cca3b84b5
feat: background music ( #299 )
...
* feat: adding background music
* feat: add missing test
* fix: removing uneeded comment
* converting music to OGG
* 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
Rui Miguel Alonso
3a593c2e6e
feat: multiball asset ( #235 )
...
* feat: multiball assets
* feat: added multiball to components
* feat: added controller for multiball
* feat: positioned multiball and changed animation
* feat: added sandbox for multiball
* chore: unused import
* refactor: add rotation to multiball constructor
* test: coverage for multiball
* chore: todos for refactor multiball childrens
* test: removed unused mock
* chore: removed unused imports
* test: removed golden tests
* refactor: changed assets and refactored multiball
* refactor: changed assets and refactored multiball
* test: tests for multiball
* refactor: multiballs group refactored
* chore: names and doc
* refactor: removed duplicated images for multiball
* refactor: changed multiball cubit and state
* refactor: changed multiball and group
* chore: positions of lights
* refactor: changing blink behavior
* test: blink behavior
* refactor: blinking multiball lights
* test: tests for blink behavior
* chore: analysis errors
* test: coverage for blinking
* test: coverage
* test: trying to fix tests
* fix: fixed bloc error on behavior with tests
* refactor: multiball blink
* refactor: blinking behavior to TimerComponent and test coverage
* refactor: modified blinking behavior
* chore: error on merge tests
* test: coverage multiballs
* refactor: cleaned blink behavior
* chore: unused import
* Update packages/pinball_components/test/src/components/multiball/behaviors/multiball_blinking_behavior_test.dart
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* Update packages/pinball_components/test/src/components/multiball/behaviors/multiball_blinking_behavior_test.dart
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* Update test/game/components/multiballs/behaviors/multiballs_behavior_test.dart
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* Update packages/pinball_components/test/src/components/multiball/multiball_test.dart
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* refactor: changed multiball states enum values
* test: multiball descendant test at pinball
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
3 years ago
Rui Miguel Alonso
b9df1006cc
feat: add score assets ( #276 )
...
* feat: added assets for scores
* refactor: modified scoretext component to show sprite with the score
* refactor: changed all ocurrences of scoretext to use score enum as value
* feat: extension to get value
* test: refactor score texts
* refactor: refactored sandbox for scoretexts
* refactor: moved score_text to score_component
* refactor: score enum to Points
* test: golden tests for points
* chore: unused imports
* chore: unused imports
* test: coverage for points extension
* refactor: removed unused points and changed enum names
* test: golden test for kept scores
* Update test/game/components/scoring_behavior_test.dart
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* refactor: score priority over sparky animatronic
* test: reorder tests
* chore: removed empty test group
* fix: missed dino desert points
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
3 years ago
Allison Ryan
431257f831
feat: add `GoogleLetter` assets ( #286 )
...
* chore: add google letter assets
* refactor: reposition letters
* test: update tests
* refactor: renamed GoogleLetterState
* refactor: renamed active/inactive to lit/dimmed
* refactor: renamed Assets paths
Co-authored-by: Alejandro Santiago <dev@alestiago.com>
3 years ago
Allison Ryan
5abfe6ab42
feat: add `ChromeDino` behaviors ( #277 )
...
* feat: included new head and mouth assets
* feat: including sprites
* feat: sized sprites
* feat: included new sprites
* feat: adjusted SpriteAnimationComponent
* feat: adjusted tracing logic
* feat: added Traceable to ChromeDinoGame
* feat: synced dino animation
* refactor: fix crazy rendering
* test: chrome dino
* refactor: dino sandbox
* chore: revert spaceship changes
* chore: move assets for sanbox game
* refactor: move dino walls and bottom boundary
* refactor: move dino for moved dino wall
* test: update goldens
* feat: add behaviors to dino
* test: dino behaviors
* feat: add invisible barrier behind dino
* chore: update boundaries golden
* chore: update dino goldens
* fix: spitting test
* fix: two coverage lines
* fix: unused import
* chore: fix personal nits
* fix: test description error
* chore: dino zIndex
* fix: dino desert test from merge
* refactor: moved Vector2 size
* refactor: removed unused userData
* feat: mvoed ChromeDino slightly back
Co-authored-by: alestiago <dev@alestiago.com>
3 years ago
Allison Ryan
02edc75255
feat: adjusting game physics ( #285 )
...
* feat: adjusting game physics
* refactor: adjust physics and add tests
* fix: imports
* test: coverage
* feat: adjusted FlutterForestBonusBehavior rendering
Co-authored-by: alestiago <dev@alestiago.com>
3 years ago
Allison Ryan
92b83dc892
feat: implement blinking `Kicker` assets ( #283 )
...
* refactor: simplified Fixtures creation
* feat: add blinking assets
* test: blinking and asset updates
* docs: clean kicker docs
* refactor: adjusted Kicker constructor
* refactor: moved Mock
Co-authored-by: alestiago <dev@alestiago.com>
3 years ago
Alejandro Santiago
95fe7a62aa
feat: implemented rendering with `ZIndex` ( #282 )
...
* feat: defined PinballCavas
* refactor: remove unawaited
* feat: defined renderTree
* refactor: made LaunchRamp a Component
* refactor: removed RenderPriority from FlutterForest
* feat: implementing PinballCanvasComponent
* refactor: migrated to zIndex
* refactor: removed old pinball_canvas.dart
* refactor: cleaned PinballCanvasComponent
* refactor: reordered children additions
* refactor: adjusted priorities
* refactor: adjusted RenderPriority
* refactor: improved rendering algorithm
* refactor: removes Blueprint
* test: migrating blueprint tests
* docs: removed Blueprint references
* refactor: renamed PinballCanvas to ZCanvas
* test: tested z_canvas_component
* refactor: renamed LayerSensor to use zIndex
* refactor: renamed RenderPriority to ZIndexes
* refactor: removed priority instances
* refactor: removed priority occurences
* fix: plunger and tapping positions
* test: correctly testes SparkyScorch
* test: adjusted ScoringBehavior test
* docs: documented z_canvas_component
* test: fixed ScoringBehavior tests
* refactor: renamed to ZCanvas
* refactor: applied PR suggestions
3 years ago
Allison Ryan
3bb5f42f58
refactor: `SparkyScorch` and asset renaming ( #268 )
...
* refactor: sparky scorch
* test: update golden
* chore: update preLoad method
* chore: remove constructor
3 years ago
Allison Ryan
3991207d62
feat: add board background asset ( #270 )
...
* feat: add board background sprite
* test: board background sprite
* fix: ignore coverage for dead code
* fix: swap comment order for lint
* fix: comment unused code
* fix: remove unused import 🤦♀️
3 years ago
Allison Ryan
0a1ae053d8
feat: add android assets and fix shapes ( #258 )
...
* feat: add android assets and fix shapes
* refactor: remove docs and size
* fix: asset gen styling
3 years ago
Rui Miguel Alonso
cc3ba899ce
feat: implemented `Multipliers` ( #231 )
...
* feat: added multipliers
* feat: added multipliers to sandbox
* test: tests and golden tests for multipliers
* feat: multipliers controller
* fix: missed assets load
* refactor: multiplier refactored and tested
* refactor: changed sandbox for multipliers
* feat: multiplier controller
* refactor: moved assets to constructor at sandbox
* test: coverage for multipliers
* test: removed test
* refactor: coverage for multiplier
* test: coverage for multiplier
* chore: multiplier doc
* Update packages/pinball_components/sandbox/lib/stories/multipliers/multipliers_game.dart
Co-authored-by: Alejandro Santiago <dev@alestiago.com>
* chore: little code refactor, doc
* refactor: multiplier creation refactored
* test: fixed tests for multipliers
* refactor: changed properties names
* refactor: multipliers cubit
* test: refactored tests for multipliers
* refactored: sandbow for multipliers
* refactor: multipliers controller
* test: tests for multiplier behavior
* chore: analysis errors
* feat: multipliers behavior with multiplier from gamebloc
* refactor: changed toggle to next at multipliers
* test: coverage for cubit
* refactor: refactored multipliers and coverage
* refactor: sandbox
* test: flamebloctester
* Update lib/game/components/multipliers/multipliers.dart
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* Update packages/pinball_components/lib/src/components/multiplier/cubit/multiplier_cubit.dart
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* Update lib/game/components/multipliers/multipliers.dart
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* Update packages/pinball_components/lib/src/components/multiplier/cubit/multiplier_state.dart
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* Update packages/pinball_components/lib/src/components/multiplier/cubit/multiplier_state.dart
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* Update test/game/components/multipliers/behaviors/multipliers_behavior_test.dart
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* test: fixed test names and golden files
* test: golden tests
* fix: fixed bloc bug for tests on multiplier behavior
* chore: renamed rotation
* chore: doc ignore
* test: grouped
* test: golden tests dir
* Update packages/pinball_components/sandbox/lib/stories/multipliers/stories.dart
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* refactor: moved extension for multiplier value
* chore: multiplier extension equalsTo name
* fixed: missed method rename
Co-authored-by: Alejandro Santiago <dev@alestiago.com>
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
3 years ago
Rui Miguel Alonso
7d8cd8c357
feat: implemented `AndroidBumper.cow` ( #257 )
...
* feat: added cow assets
* feat: added cow bumper
* feat: cow sanbox
* Update packages/pinball_components/sandbox/lib/stories/android_acres/android_bumper_cow_game.dart
Co-authored-by: Alejandro Santiago <dev@alestiago.com>
* refactor: sandbox ball color
* fix: cow bumper spriteposition
* fix: cow bumper size
* refactor: cow shape and positioning
Co-authored-by: Alejandro Santiago <dev@alestiago.com>
Co-authored-by: Allison Ryan <allisonryan0002@gmail.com>
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
3 years ago
Jochum van der Ploeg
c0d18445bd
chore: update scores ( #256 )
...
* chore: update scores
* chore: update scores
* chore: update scores
* chore: update scores
* chore: update scores
* Update packages/pinball_components/test/src/components/google_letter/google_letter_test.dart
* Update packages/pinball_components/test/src/components/kicker_test.dart
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
3 years ago
Rui Miguel Alonso
09c841b5e1
feat: updated `RocketSpriteComponent` sprite ( #255 )
...
* feat: updated final rocket asset
* chore: minor changes at test and doc
* fix: rendering
Co-authored-by: Allison Ryan <allisonryan0002@gmail.com>
3 years ago
Allison Ryan
cf688f0f26
chore: removed `Wall` and `Board` ( #224 )
...
* chore: remove wall and board
* fix: lint
* refactor: bottom group test
* chore: remove start and end variables
* refactor: group stories
* refactor: bottom group blueprint
* style: remove whitespace and add comma
* refactor: add drain behavior
* refactor: bottom group to component
* fix: render issue
3 years ago
Allison Ryan
97337938d4
feat: animate chrome dino ( #229 )
...
* feat: included new head and mouth assets
* feat: including sprites
* feat: sized sprites
* feat: included new sprites
* feat: adjusted SpriteAnimationComponent
* feat: adjusted tracing logic
* feat: added Traceable to ChromeDinoGame
* feat: synced dino animation
* refactor: fix crazy rendering
* test: chrome dino
* refactor: dino sandbox
* chore: revert spaceship changes
* chore: move assets for sanbox game
* refactor: move dino walls and bottom boundary
* refactor: move dino for moved dino wall
* test: update goldens
* chore: clean up dino wall fixture defs
* refactor: dino variable and comment fixes
* chore: add todo
* refactor: fix PR nits
* chore: use internal positioning
* refactor: keep positioning
* chore: fix nits and add todo
* fix: update boundaries golden
Co-authored-by: alestiago <dev@alestiago.com>
3 years ago
Rui Miguel Alonso
4524849c29
feat: game bloc multiplier ( #213 )
...
* feat: added events for multiplier
* feat: added events for increment, apply and reset multiplier
* feat: added multiplier to game bloc state
* test: test for multiplier at game bloc
* test: added multiplier to game state
* refactor: multiplier always increased by 1
* refactor: add multiplier state on BallLost
* refactor: added round to game state and changed gameover and ball lost logic
* test: fixed tests for game bloc
* refactor: multiplier max value 6 at game bloc
* test: fixed tests with new game over logic
* chore: properties renamed and removed unused
* Update lib/game/bloc/game_event.dart
Co-authored-by: Alejandro Santiago <dev@alestiago.com>
* fix: pubspec from main
* refactor: pubspec from main
* chore: removed unused import
* feat: ball added event to game bloc
* test: fixed test for ball added
* feat: added BallAdded event on ball mounted
* test: fixing tests for BallAdded
* test: flamebloctester for ball added
* test: refactored tests for pinballgame
* refactor: BallAdded event on ball mounted
* chore: removed unnecessary imports
* test: refactor tests for pinball_game
* refactor: use rounds instead of balls
* refactor: changed BallLost event with RoundLost, and moved part of the logic to controlled_ball
* test: tests for RoundLost
* fix: fixed wrong tests for pinball_game
* test: remove deleted balls property from GameState
* chore: doc
Co-authored-by: Alejandro Santiago <dev@alestiago.com>
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
3 years ago
Allison Ryan
c33d34e42f
refactor: alien to android ( #246 )
...
Co-authored-by: Alejandro Santiago <dev@alestiago.com>
3 years ago
Alejandro Santiago
2673c419b5
feat: migration to new `ContactCallbacks` ( #234 )
...
* feat: migrated to new ContactCallbacks
* refactor: moved renderBody to super call
* feat: defined AlienBumper behaviours
* feat: included ParentIsA mixin
* refactor: modified ContactCallbacksGroup
* feat: resolved missing ContactCallbacks with Behaviors
* refactor: removed unused ParentIsA
* refactor: moved tests
* fix: invalid export
* refactor: renamed behaviours
* test: tested pinball_components
* refactor: removed "Behaviour" typo
* docs: included TODO comment for generics
* docs: included flame_bloc TODO comments
* refactor: renamed ContacCallbacksGroup variable
* docs: included doc comments where possible
* docs: rephrased ContactBehaviour doc comment
* test: included ContactBehavior tests
* feat: implemented FlutterForestBonusBehavior
* refactor: fixed analyser warnings
* test: tested DashNestBumper
* refactor: moved children to last arguement
* test: included closing test
* refactor: used barrel files as imports
* docs: included flutter_bloc TODO
* test: correctly tested GoogleWordBonusBehavior
* refactor: moved flutter_forest_test.dart
* test: fixed AlienZone typo
* feat: removed FlutterForestCubit
* test: closed streams
* refactor: removed optional bloc parameter
* refactor: added flame_bloc TODO comment
* docs: included .test constructor docs
* feat: included GoogleLetter.test
* test: made blink test pass
* fix: renamed theme to CharacterTheme
* refactor: moved timer.stop();
* refactor: renamed hasBonus to achievedBonus
* refactor: ignore public_member_api_docs for cubits
* test: removed beginContact group
* refactor: typos correction
* docs: used correct AlienBumper reference
* docs: removed TODO comment from ContactBehavior subclasses
* docs: includes ScoringBehavior doc
* feat: adjusted FlutterForest priorities
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
3 years ago
arturplaczek
bd9d219f0b
chore: rename ThemeCubit to CharacterThemeCubit ( #233 )
3 years ago