Rui Miguel Alonso
fdb9075738
feat: `GameOverInfoDisplay` on game over `Backbox` ( #359 )
...
* feat: info screen ui
* feat: info screen ui
* feat: replay button
* feat: added replay button and game flow
* feat: game over info display flow at backbox
* test: fixed tests and coverage
* test: fix tests and coverage
* chore: info display doc"
* refactor: text component name
* Update lib/game/components/backbox/bloc/backbox_state.dart
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* Update lib/game/components/backbox/bloc/backbox_state.dart
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* Update lib/game/components/backbox/bloc/backbox_state.dart
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* Update test/game/components/backbox/displays/info_display_test.dart
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* Update test/start_game/widgets/start_game_listener_test.dart
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* Update test/start_game/widgets/start_game_listener_test.dart
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* Update test/game/view/widgets/replay_button_overlay_test.dart
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* Update test/game/components/backbox/displays/info_display_test.dart
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* Update lib/game/components/backbox/displays/info_display.dart
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* Update lib/game/components/backbox/displays/info_display.dart
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* Update lib/game/components/backbox/displays/info_display.dart
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* Update lib/game/components/backbox/displays/info_display.dart
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* Update lib/game/view/widgets/replay_button_overlay.dart
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* Update lib/l10n/arb/app_en.arb
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* Update test/game/components/backbox/backbox_test.dart
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* Update test/game/components/backbox/bloc/backbox_bloc_test.dart
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* Update lib/l10n/arb/app_en.arb
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* refactor: changed names and removed replaying
* refactor: removed restart logic changes for another pr
* feat: link underscore
* chore: test fixed, names changed
* chore: unused import
* feat: add replayButtonOverlay at GameOverInfoDisplay
* feat: added open source url url launcher
* feat: launch url and test
* chore: removed comments
* fix: remove overlay for Replay to merge info screen
* chore: unused import
* test: load images bug fix
* Update lib/game/components/backbox/displays/game_over_info_display.dart
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* refactor: removed props from state for sharing only score
* feat: moved open links to info display and added link to OS
* test: fixed merge tests
* chore: unused imports and annotation missed
* Update lib/game/components/backbox/bloc/backbox_state.dart
* chore: tappables added to cspell
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
Co-authored-by: Tom Arra <tarra3@gmail.com>
3 years ago
Felix Angelov
b83d5b0393
chore(deps): upgrade to Flutter 2.10.5 ( #368 )
3 years ago
Felix Angelov
82957d7729
ci: remove trailing slash from flame git references ( #367 )
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
Jorge Coca
26acb63460
feat: added animations to character selection ( #284 )
3 years ago
Jorge Coca
07ea110ec3
feat: added support for firebase anonymous authentication ( #274 )
3 years ago
jonathandaniels-vgv
2b0e8b98b8
feat(pinball): added the footer widget with tests ( #253 )
...
* feat(pinball): added the footer widget with tests
* chore: addressed review feedback
* chore: refactor helper methods and mock classes for footer links test
3 years ago
Jorge Coca
874507d14b
feat(authentication_repository): support anonymous authentication ( #269 )
3 years ago
jonathandaniels-vgv
21b54a0cdc
feat: added how to play dialog for desktop and mobile ( #242 )
...
* 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>
3 years ago
arturplaczek
45cd89face
chore: dialog background for select character & how to play ( #236 )
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
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
Rui Miguel Alonso
e63d893a9c
feat: added outer bottom boundary ( #221 )
...
* feat: added outer bottom boundary
* feat: added outer bottom asset to sandbox
* refactor: pubspeck from main
* test: fix tests
* test: fixed load at tests
* test: fixed golden tests
3 years ago
Alejandro Santiago
8f3e1c0c95
chore: updated dependencies ( #216 )
3 years ago
Alejandro Santiago
62244f5a37
refactor: define pinball_flame package ( #199 )
...
* feat: created pinball_theme package
* refactor: moved component_controller to pinball_flame
* ci: defined workflow
* refactor: moved blueprint and priority to pinball_flame
* feat: exported keyboard_input_controller.dart
* feat: made Mocks be Mocks
* docs: updated description
* docs: fixed typo
* fix: merge conflicts
3 years ago
Allison Ryan
707e2e78b0
chore: bump flame versions ( #185 )
...
* chore: bumped version numbers
* refactor: resolved gravityScale problems
* chore: fix inverted y axis issues
* test: update tests related to y directions
* fix: unused math imports
* chore: flame version in sandbox
* fix: merge axis adjustments
Co-authored-by: alestiago <dev@alestiago.com>
3 years ago
Erick
bfba65823f
feat: implementing the new game start flow ( #160 )
...
* feat: implementing the new game start flow
* fix: coverage
* fix: lint
* fix: lint
* Apply suggestions from code review
Co-authored-by: Alejandro Santiago <dev@alestiago.com>
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* feat: PR suggestions
* feat: improve test docs
* feaT: pr suggestions
* feat: adding backboard assets to the pre fetch
* feat: pr suggestions
* feat: pr suggestions
* fix: lint
* fix: ci
* fix: tests
Co-authored-by: Alejandro Santiago <dev@alestiago.com>
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
3 years ago
Erick
c65dfb6001
feat: adds sound effects ( #143 )
...
* feat: adding placeholder sound effects
* feat: adding sound effects
* fix: lint
* fix: adding pinball audio to mock
* fix: tests
3 years ago
Erick
84d7ab8564
feat: updating flame versions ( #112 )
3 years ago
Erick
c8782cfbf4
refactor: splitting `Ball` business from UI logic ( #86 )
...
* feat: refactoring ball component to separate business from ui logic
* fix: tests
* fix: lint
* fix: test coverage
* Update lib/game/components/ball.dart
Co-authored-by: Alejandro Santiago <dev@alestiago.com>
Co-authored-by: Alejandro Santiago <dev@alestiago.com>
3 years ago
Alejandro Santiago
4af09b64fa
chore: bumped flame versions ( #71 )
...
* chore: increased version
* fix: changes due to versions
3 years ago
Allison Ryan
bc5a2f343e
chore: connect app to firebase ( #55 )
...
* docs: changes missed in last PR
* chore: connect to firebase
* chore: hide firebase setup
* refactor: revert ios changes
* chore: update gitignore
3 years ago
Allison Ryan
c0175b0d30
feat: add leaderboard repository ( #54 )
...
* feat: add leaderboard repository
* refactor: move leaderboard ranking to models
* refactor: username to playerInitials
* docs: typo fix
* docs: adjust repo wording
* fix: failing test
3 years ago
Erick
1539ab7bd3
chore: update project to the latest flame and forge2d ( #41 )
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
RuiAlonso
5bff54f3d8
Merge branch 'main' into feat/paths
3 years ago
Erick Zanardo
7a0852642b
feat: updating flame, flame bloc and flame forge2d versions
3 years ago
RuiAlonso
4290cb5a8d
refactor: changed math package to geometry
3 years ago
Erick Zanardo
ac0aca5f8f
feat: adding placeholder sprite for the ball component
3 years ago
RuiAlonso
09464347ef
feat: added maths local dependency
3 years ago
Allison Ryan
0e98a74b17
refactor: move themes to package
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
Alejandro Santiago
be299bcd51
chore: included dependecy on flame_test ( #5 )
3 years ago
Erick
0a01e3b5fb
chore: updating flame, flame_forge2d and flame_bloc versions ( #4 )
...
* chore: updating flame, flame_forge2d and flame_bloc versions
* adding FlameBloc to the PinballGame
* refactor: sorted pub dependencies
Co-authored-by: alestiago <dev@alestiago.com>
3 years ago
Alejandro Santiago
ab77ebec67
feat: include game files ( #2 )
...
* feat: included flame and flame_forge2d dependency
* feat: included initial LandingPage with PinballGame
* feat: included test
* feat: included navigation test
* fix: landing page test
* feat: used l10n string for "Play"
Co-authored-by: Erick Zanardo <erickzanardoo@gmail.com>
3 years ago
Allison Ryan
a12f1d388d
feat: very good core
3 years ago