Erick
5e8ac20d37
feat: throttle assets loading for more stability ( #443 )
...
* feat: throttle assets loading for more stability
* lint
* coveragE
* chore: remove instances of e
Co-authored-by: Allison Ryan <allisonryan0002@gmail.com>
2 years ago
Alejandro Santiago
0ac9cb3140
fix: replaying resets game state ( #441 )
...
* feat: added replay functionality
* feat: resetting google word bonus
* Merge remote-tracking branch 'origin' into feat/replay-functionality
* test: tested Replay overlay
* docs: fixed typo
* test: renamed test
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
2 years ago
Allison Ryan
5bc02eb570
fix: disable backgrounds on mobile ( #411 )
...
* fix: disable backgrounds on mobile
* refactor: inject platform helper
* refactor: make platformHelper public
* fix: suggestion
2 years ago
Jorge Coca
4a199aa908
perf: remove Info icon and use material icon instead ( #413 )
2 years ago
Rui Miguel Alonso
80da24b43c
feat: social networks `ShareDisplay` ( #406 )
...
* feat: share screen and tests
* chore: assets gen
* feat: added share repository
* feature: injecting sharerepository
* feat: share url
* feat: state for showing ShareDisplay at Backbox
* test: tests for sharing links
* test: backbox tests
* Update lib/game/components/backbox/displays/share_display.dart
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* Update lib/game/components/backbox/displays/share_display.dart
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* Update lib/game/components/backbox/displays/share_display.dart
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/displays/share_display_test.dart
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* Update test/game/components/backbox/displays/share_display_test.dart
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/backbox_test.dart
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* refactor: moved down social networks icons
* refactor: url and text for share
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
2 years ago
Allison Ryan
c3094850fd
feat: add arcade backgrounds ( #405 )
...
* feat: add arcade backgrounds
* chore: lighter assets
* chore: swap for smaller assets
2 years ago
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>
2 years ago
Erick
52085fdfd3
refactor: renaming to `PinballPlayer` to `PinballAudioPlayer` ( #396 )
...
* refactor: renaming to
* fix merge
* lint
* suggestions
* suggestions
* suggestions
2 years ago
Jorge Coca
28a3c15fe2
refactor: improve performance of loading screen and load I/O Pinball asset ( #394 )
2 years ago
Erick
7fb634bf96
feat: pre fetch leaderboard ( #389 )
2 years ago
Erick
9d184fedf9
feat: adding mobile controls ( #377 )
...
* feat: adding mobile controls
* adding tests for pinball dpad button
* feat: tests
* lint
* Apply suggestions from code review
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* suggestions
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
2 years ago
Jorge Coca
4a3e9f7abc
chore: cleanup public api docs annotations ( #382 )
2 years ago
Allison Ryan
698085a79c
feat: provide and listen to `CharacterThemeCubit` in game ( #375 )
...
* feat: connect game ball to theme selection
* chore: swap out ball assets
* chore: swap out flipper assets
* fix: ball spawn layer
* refactor: use readBloc and fix tests
* refactor: update ball sprite only
2 years ago
Felix Angelov
2c0f8b045c
refactor: provide GameBloc in App ( #370 )
2 years ago
arturplaczek
49fc1aa7f8
feat: added More Information (footer) dialog ( #363 )
2 years ago
Jochum van der Ploeg
24ac6a536d
fix: keep focus on game ( #311 )
...
* fix: keep focus on game
* fix: keep focus on game
* fix: keep focus on game
* fix: keep focus on game
Co-authored-by: Tom Arra <tarra3@gmail.com>
2 years ago
arturplaczek
43d3a4fd51
fix: hide GameHud on game over ( #361 )
2 years ago
arturplaczek
ca1f0c31da
fix: add Row above FittedBox to align `ScoreView` to left ( #351 )
2 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
2 years ago
arturplaczek
28606241df
fix: update fonts size on game hud ( #347 )
2 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>
2 years ago
Alejandro Santiago
2ad0196e44
refactor: include `GameStatus` on `GameBloc` ( #345 )
2 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>
2 years ago
arturplaczek
4438f6124a
fix: changed `GameHud` position and size ( #289 )
...
* fix: clamp game hud margin
* feat: add opacity to game hud
* fix: update GameHud size & position
* fix: calculate game hud size
2 years ago
arturplaczek
03f60fbffe
chore: restore GameHud visibility and control game flow ( #247 )
2 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>
2 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>
2 years ago
Jorge Coca
58468bde2f
feat: improve UI of the initial loading screen ( #309 )
2 years ago
arturplaczek
e7717643fd
feat: use PinballButton to start the game ( #288 )
2 years ago
Jorge Coca
26acb63460
feat: added animations to character selection ( #284 )
2 years ago
arturplaczek
6f2344cbc9
fix: update google word animation and change speed of animations to 12fps ( #287 )
2 years ago
Jorge Coca
3fbb2564cc
feat: character selection for desktop and mobile ( #280 )
2 years ago
jonathandaniels-vgv
8fddce60a8
chore: reference the app text styles from theme context ( #264 )
2 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>
2 years ago
arturplaczek
45cd89face
chore: dialog background for select character & how to play ( #236 )
2 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>
2 years ago
arturplaczek
46e9152225
fix: restore GameHud visibility ( #240 )
2 years ago
arturplaczek
b9c2f3a54f
feat: score widget with animation ( #206 )
2 years ago
arturplaczek
bd9d219f0b
chore: rename ThemeCubit to CharacterThemeCubit ( #233 )
2 years ago
arturplaczek
ec52486ece
chore: score bonus animation ( #191 )
2 years ago
arturplaczek
35c23140b5
feat: change screens flow ( #195 )
2 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>
2 years ago
Erick
5fe5fc007d
feat: adding assets manager ( #163 )
2 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
2 years ago
Rui Miguel Alonso
4558acd03d
feat: add user at end game ( #98 )
...
* 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
2 years ago
Rui Miguel Alonso
1f0a0c2f04
feat: leaderboard screen ( #51 )
...
* feat: leader board page
* feat: strings for leader board ui
* feat: navigate to leaderboard from gameover dialog
* feat: set character theme for leaderboard
* test: test leaderboard page
* chore: removed unused var from tests
* chore: leaderboard misspelling, doc and minor fixes
* chore: doc
* chore: api doc
* refactor: pass theme to leaderboard widgets
* Update lib/leaderboard/view/leaderboard_page.dart
Co-authored-by: Alejandro Santiago <dev@alestiago.com>
* chore: removed ios files
* refactor: leaderboard screen now uses leaderboard_repository models
* test: added tests for extensions
* chore: added todo to move model
* feat: added navigator helper method
* feat: add Flame compatibility to test navigator helper
* chore: removed unused import
* test: modify test to avoid time out
* chore: test method name changed
* refactor: changes from pr
* refactor: removed themecubit
* feat: provide leaderbloc
* feat: added leaderbloc to screen
* chore: removed unused imports
* chore: strings names
* fix: fixed test with model changed
* refactor: removed multirepositoryprovider
* test: remove unnecessary tests
* chore: unused variable
* chore: unused imports
Co-authored-by: Alejandro Santiago <dev@alestiago.com>
2 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>
2 years ago
Erick
d0756e0b60
feat: adding ball spawning upon click on debug mode ( #28 )
...
* feat: adding ball spawming upon click on debug mode
* PR suggestions
* fix: coverage
* fix: rebase
* feat: rebase fixes
2 years ago
Allison Ryan
ffef053678
feat: add character selection ( #20 )
...
* chore: lock file
* feat: character selection page
* fix: ignore generated asset coverage
* chore: add suggestions
* feat: tint ball with theme color
* refactor: decrease theme cubit scope
* chore: minimize changes
* chore: typos and readability
* refactor: use extension for initial pinball game
* fix: tests from merge
* refactor: ignore docs for views
* refactor: revert to ignoring for file
* fix: todo analyzer warning
2 years ago
Alejandro Santiago
e9776a8d5e
docs: included missing documentation ( #29 )
...
* chore: ignored lint rue
* docs: documented ball.dart
* docs: ignored lint rule
* docs: documented wall.dart
* docs: documented game_over_dialog.dart
* docs: fixed typo
* docs: included TODO comments
2 years ago