Erick
52085fdfd3
refactor: renaming to `PinballPlayer` to `PinballAudioPlayer` ( #396 )
...
* refactor: renaming to
* fix merge
* lint
* suggestions
* suggestions
* suggestions
3 years ago
Jorge Coca
28a3c15fe2
refactor: improve performance of loading screen and load I/O Pinball asset ( #394 )
3 years ago
Erick
7fb634bf96
feat: pre fetch leaderboard ( #389 )
3 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>
3 years ago
Jorge Coca
b8f26b81de
chore: remove TODO comments form the codebase ( #373 )
...
Co-authored-by: Tom Arra <tarra3@gmail.com>
3 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
3 years ago
Felix Angelov
2c0f8b045c
refactor: provide GameBloc in App ( #370 )
3 years ago
arturplaczek
49fc1aa7f8
feat: added More Information (footer) dialog ( #363 )
3 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>
3 years ago
arturplaczek
43d3a4fd51
fix: hide GameHud on game over ( #361 )
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
Alejandro Santiago
2ad0196e44
refactor: include `GameStatus` on `GameBloc` ( #345 )
3 years ago
arturplaczek
03f60fbffe
chore: restore GameHud visibility and control game flow ( #247 )
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
arturplaczek
0a52583519
fix: mock flame images ( #332 )
3 years ago
Jorge Coca
58468bde2f
feat: improve UI of the initial loading screen ( #309 )
3 years ago
Alejandro Santiago
36f7886f63
refactor: removed `mocks.dart` ( #307 )
...
* refactor: removed mocks.dart
* refactor(pinball_audio): removed callable classes
3 years ago
Jorge Coca
26acb63460
feat: added animations to character selection ( #284 )
3 years ago
arturplaczek
6f2344cbc9
fix: update google word animation and change speed of animations to 12fps ( #287 )
3 years ago
Jorge Coca
3fbb2564cc
feat: character selection for desktop and mobile ( #280 )
3 years ago
jonathandaniels-vgv
8fddce60a8
chore: reference the app text styles from theme context ( #264 )
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
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
arturplaczek
46e9152225
fix: restore GameHud visibility ( #240 )
3 years ago
arturplaczek
a71afb7623
fix: use fake image instead of assets in tests ( #243 )
...
* chore: add fake image to fakes
* fix: update broken tests
* fix: add TODOs
3 years ago
arturplaczek
b9c2f3a54f
feat: score widget with animation ( #206 )
3 years ago
arturplaczek
bd9d219f0b
chore: rename ThemeCubit to CharacterThemeCubit ( #233 )
3 years ago
arturplaczek
ec52486ece
chore: score bonus animation ( #191 )
3 years ago
Allison Ryan
58324adad6
refactor: bumper animation logic ( #204 )
...
* chore: update assets
* refactor: bumpers to use group components
* refactor: update dash nest games
* refactor: load assets in test games
* test: bumper changes
* fix: analyzer warning
* refactor: load assets in sandbox stories
* refactor: back to active/inactive naming
* refactor: sprite sizing
* refactor: use loadAll
* refactor: loadAll in sandbox
* refactor: comments and sizing
* fix: preload assets for pinball page test
* refactor: load signpost assets from cache
* refactor: signpost tests from cache
* refactor: loadAll sprites
3 years ago
arturplaczek
35c23140b5
feat: change screens flow ( #195 )
3 years ago
Alejandro Santiago
831d374705
refactor: Flutter forest logic ( #190 )
...
* refactor: removed FlutterForest logic from Bloc
* refactor: removed ids from Bumpers
* refactor: improved casting
* feat: registered event
* refactor: removed unecessary properties
* feat: properly deactivated bumpers
* refactor: removed unused import
* feat: animated animatronic
3 years ago
Alejandro Santiago
c52db09f77
refactor: renamed test games ( #178 )
3 years ago
Alejandro Santiago
a65fb692b5
feat: implement GoogleWord ( #176 )
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
5fe5fc007d
feat: adding assets manager ( #163 )
3 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
3 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>
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
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
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
3 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
3 years ago
Erick Zanardo
84282fe83a
fix: test from rebase
3 years ago
Erick Zanardo
38b8a28ffc
feat: pr suggestions
3 years ago
Erick Zanardo
a3dc9d09cf
feat: adding game hud
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 Zanardo
ca989eac8d
feat: addressing PR comments
3 years ago
Erick
fbbd04d91b
Apply suggestions from code review
...
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
3 years ago
Erick Zanardo
518e183ad8
feat: game over mechanics
3 years ago