* feat: throttle assets loading for more stability
* lint
* coveragE
* chore: remove instances of e
Co-authored-by: Allison Ryan <allisonryan0002@gmail.com>
* chore: create app_ui package
* chore: add dialog asset
* chore: create DialogDecoration
* chore: import app_ui
* feat: use DialogDecoration in app
* fix: update description
* fix: rename package
* fix: update README
* fix: exlude generated files from analysis
* fix: update workflow file
* fix: update tests
* fix: update description
* added how to play content
* added how to play screen for mobile devices (#245)
* ui: added how to play dialog for mobile
* chore: added mobile dialog content test
* fix: apply code review
* chore: addressed refactor feedback
* feat: how to play dialog is timed and manually dismissible (#251)
* chore: autoclose how to play dialog after 3 seconds
* test: added test for barrier dismiss on tap
* fix: update description
* fix: add Material to decoration
* chore: swapped asset for the spacebar
* chore: removed duplicate variable
* chore: moved timer logic to how to play dialog
* ui: added rocket to mobile launch directions
* feat(platform_helper): created a platform helper package to detect web vs mobile
* feat(platform_helper): import platform helper into pinball
* test: wrote tests for platform detection on how to play dialog
* chore: added platform helper package to ci
* chore: address foreseen nits
Co-authored-by: arturplaczek <arturp1989@gmail.com>
Co-authored-by: arturplaczek <33895544+arturplaczek@users.noreply.github.com>
* 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>
* refactor: move user score to gameover dialog
* feat: added input textfield
* feat: fixed ui
* feat: send user added to bloc and firebase
* chore: todo for future ui refactor
* feat: capitalize playerinitials to bloc
* refactor: show button on success add user
* test: fixed tests
* test: adding more tests for tap
* test: fixed tests
* test: fixed tests for gameover dialog pressed buttons
* fix: fixed tests and doc