Rui Miguel Alonso
fdc3039f72
feat: sparky bumpers game logic ( #154 )
...
* feat: added event for sparky bumpers hit
* test: test sparky bumper bloc event
* refactor: added sparky bumpers actives to GameState
* refactor: removed active sparky bumper from game bloc logic
* refactor: moved sparky bumpers logic to SparkyBumperController
* test: tests for SparkyBumperController
* chore: removed unused import
* refactor: changed sparky fire zone
* refactor: changed sparky fire zone
* chore: analysis errors
* chore: analysis error
* Update test/game/bloc/game_bloc_test.dart
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* Update lib/game/components/sparky_fire_zone.dart
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* chore: formatting file
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
3 years ago
Alejandro Santiago
655007b2d2
feat: improved extra ball logic ( #151 )
3 years ago
Rui Miguel Alonso
d798fdf9fe
feat: plunger asset ( #145 )
...
* feat: added plunger asset and move
* feat: fixed plunger assets and position
* fix: set limits to plunger compression correctly
* chore: unused import
* fix: placed plunger correctly
* test: refactor test game
* refactor: changed spawnBall initialPosition
* chore: plunger golden test
3 years ago
Alejandro Santiago
1a8f534ece
refactor: test with an empty game ( #147 )
...
* refactor: used EmptyPinballGame
* refactor: removed extension
* refactor: used EmptyPinballGame
* fix: merge conflicts
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
d857a784b2
fix: ball spawn logic ( #136 )
...
* fix: ball spawn logic
* Update lib/game/components/controlled_ball.dart
Co-authored-by: Alejandro Santiago <dev@alestiago.com>
Co-authored-by: Alejandro Santiago <dev@alestiago.com>
3 years ago
Rui Miguel Alonso
b40dccb6bf
refactor: move spaceship exit rail ( #130 )
...
* refactor: moved SpaceshipExitRail to pinball components
* test: refactor tests and coverage
* chore: ignore cascade invocations on tests
* refactor: renamed SpaceshipExitRail to SpaceshipRail
3 years ago
Alejandro Santiago
b67b08a18d
refactor: moved ChromeDino to pinball_components ( #134 )
3 years ago
Alejandro Santiago
b243c063a3
refactor: moved Kicker to pinball_components ( #133 )
3 years ago
Alejandro Santiago
5e2ab9bf7b
refactor: renamed flipper_controller.dart to controlled_flipper.dart ( #128 )
...
* refactor: renamed files
* refactor: renamed barrel file export
3 years ago
Rui Miguel Alonso
c8bc7c1942
feat: spaceship drop assets ( #110 )
...
* feat: added assets for drop rail
* feat: placed assets and base bodies
* feat: assets and bases
* refactor: hide spaceship hole
* refactor: redimension curves
* fix: lint
* test: fix geometry tests
* refactor: tube to fit spaceship opening
* refactor: applied priority changes to drop tube
* test: fixed tests for ball contact with exit rail
* Update test/game/components/spaceship_exit_rail_test.dart
Co-authored-by: Alejandro Santiago <dev@alestiago.com>
* chore: formatted test file
Co-authored-by: Allison Ryan <allisonryan0002@gmail.com>
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
Co-authored-by: Alejandro Santiago <dev@alestiago.com>
3 years ago
Alejandro Santiago
e6fd5f90fa
feat: disallowed adding components to `ComponentController` ( #121 )
...
* feat: disallowed adding components to a ComponentController
* docs: rephrased text
* refactor: fixed variable typo
* feat: included addAll test
3 years ago
Alejandro Santiago
40d0fd0995
refactor: implemented FlameBlocTester ( #122 )
...
* refactor: implemented FlameBlocTester
* refactor: renamed parameter bloc to blocBuilder
3 years ago
Alejandro Santiago
e5c3708952
feat: implemented DashBumper assets ( #119 )
...
* chore: rebase
* chore: rebase
* chore: rebase
* docs: removed extra paragraph
* fix: removed checks
* refactor: removed ephemeral state
* refactor: uncommented code
* feat: automatically sized Sprites
* docs: included TODO comment
* refactor: corrected typo
* docs: updated doc comment
* feat: adjusted tests
* chore: rebase
* feat: included mustCallSuper
* feat: implemented FlutterForest controllers
* feat: improved tests
* fix: analyzer
* refactor: removed unneccessary mock
* feat: include DashNestBumper tests
* docs: improved doc comment
* refactor: fixed test name grammar
* fix: fixed test
3 years ago
Rui Miguel Alonso
8b86656412
refactor: priority layer ( #83 )
...
* refactor: removed findNested extensions (#77 )
* feat: added new Elevation for manage priority of BodyComponents
* refactor: changed ball with Elevated
* refactor: changed spaceship with Elevated
* test: tests for Elevated
* test: fix tests
* chore: removed unused
* test: fixed tests
* refactor: changed Elevated mixin to Priority extension
* test: fixed priority test changes
* chore: ignore for file
* test: fixed tests for PriorityX
* chore: unused import
* chore: removed unecessary ignore
* refactor: removed unnecessary comma
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* refactor: fixed grammatical error in test named
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* refactor: moved priority set to constructors
* chore: tests names
* doc: doc priority
* refactor: moved priority to flame dir
* feat: added priority to rampopening
* fix: fixed priority changes
* test: fixed tests for spaceship priority changes
* fix: fixed tests for priority
* chore: renamed pathwayLayer and pathwayPriority to inside
* Update packages/pinball_components/lib/src/components/ramp_opening.dart
Co-authored-by: Alejandro Santiago <dev@alestiago.com>
Co-authored-by: Alejandro Santiago <dev@alestiago.com>
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
3 years ago
Allison Ryan
90588d95c4
feat: add `Baseboard` assets ( #106 )
...
* feat: add baseboard assets
* refactor: move to components package
* test: coverage fix
* chore: small suggestions
* refactor: adjust size
* style: make angle readable
3 years ago
Alejandro Santiago
07ddb1f7b6
refactor: made ball controller listen to bloc ( #116 )
...
* refactor: included BonusBallController
* feat: made LaunchedBallControler react to states
* refactor: removed isLastBall
* fix: solved tests
* fix: solved BonusLetterActivated test
* refactor: used ensureAdd
3 years ago
Alejandro Santiago
79687c8ea3
feat: implemented `ComponentController` ( #111 )
...
* feat: defined component controller
* feat: inclued flame barrel file
* feat: implemented ComponentController
* feat: implemented PlungerBallController
* feat: improved tests
* feat: enhanced component_controller
* feat: included instantiation test
* feat: removed attach method for mixin
* docs: improved doc comment
* feat: included Controls tests
* fix: commented golden test
3 years ago
Alejandro Santiago
631c1e9860
fix: made mocked instance late ( #114 )
3 years ago
Erick
84d7ab8564
feat: updating flame versions ( #112 )
3 years ago
Rui Miguel Alonso
f44c2bc25e
feat: spaceship drop tube ( #79 )
...
* feat: added spaceship drop ramp to board
* refactor: removed findNested extensions (#77 )
* refactor: placed drop ramp below spaceship, fixed position and layers
* test: tests coverage
* chore: analysis errors
* refactor: named SpaceshipExitRail
* chore: doc
* Update lib/game/components/spaceship_exit_rail.dart
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* Update test/game/components/spaceship_exit_rail_test.dart
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* Update test/game/components/spaceship_exit_rail_test.dart
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* refactor: changed name for spaceshipexit layer
* refactor: placed curve for spaceship exit rail
* fix: fixed drop tube sizes
* refactor: placed drop tube and fixed layers from spaceship
* fix: fixed exit hole contact size
* refactor: reordered mocks at tests
* chore: reorder params and typo
* fix: moved drop tube
* test: fixed spaceship exit test
Co-authored-by: Alejandro Santiago <dev@alestiago.com>
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
Co-authored-by: Erick <erickzanardoo@gmail.com>
3 years ago
Alejandro Santiago
dd88114d1c
feat: included FlutterSignPost ( #107 )
...
* feat: loaded flutter_sign_post.png
* feat: added board priority
* feat: included FlutterSignPost
* feat: included tests
* refactor: renamed tests names for consistency
* chore: refactored exception
* docs: fixed incorrect grammar
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* docs: fixed typo
* refactor: cleaned SpriteComponent logic
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
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
Erick
90131d9724
feat: applying assets to the spaceship ( #101 )
...
* feat: applying assets to the spaceship
* fix: rebase issues
* feat: adding missing coverage
* fix: lint
* feat: improving test
* Apply suggestions from code review
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
Co-authored-by: Alejandro Santiago <dev@alestiago.com>
* feat: pr suggestions
* feat: pr suggestions
* Update packages/pinball_components/lib/src/components/spaceship.dart
Co-authored-by: Alejandro Santiago <dev@alestiago.com>
* feat: pr suggestions
* fix: rebase issues
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
Co-authored-by: Alejandro Santiago <dev@alestiago.com>
3 years ago
Alejandro Santiago
72b8213f74
feat: including black and white Flipper assets ( #102 )
...
* feat: included left and right flipper assets
* feat: loaded left and right flipper assets
* feat: moved Flipper to components and defined controller
* refactor: moved lock to FlipperJoint
* refactor(sandbox): rephrased description
* feat(sanbox): including Flipper example
* feat: included Tracing story
* feat: defined trace method
* feat(sandbox): included right flipper
* feat: sized Flipper to match asset
* refactor: moved tests
* feat: tested flipper_controller
* feat: adjusted flipper size
* feat(sandbox): removed TapDetector
* refactor: removed unused import
* fix: increased test coverage
* docs: improved doc comments
* fix: changing merge imports
* refactor: simplified loading asset logic
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* chore: removed old Flipper asset
* fix: used correct variable
* feat: enchanced tracing example
* refactor: renamed circleAssetShadow to assetShadow
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
3 years ago
Alejandro Santiago
6f32c4f2b8
feat: implemented ChromeDino mechanics ( #76 )
...
* feat: included ChromeDino in Board
* feat: made ChromeDino sweep
* feat: enclosed ChromeDino
* feat: included ChromeDino in Board
* feat: included initial file
* feat: made ChromeDino sweep
* feat: enclosed ChromeDino
* feat: positioned and clean
* feat: used ChromeDinoJoint
* feat: used a Timer in ChromeDino animation
* feat: positioned ChromeDino
* feat: adjusted motor values
* feat: created test file
* feat: included tests
* refactor: used TimerComponent
* feat: adjusted ChromeDino
* refactor: renamed test variable
* refactor: removed redundant test
* fix: included components import
* refactor: removed joint member
* refactor: included missing new line
* docs: fixed "dinosaur" typo
Co-authored-by: Erick <erickzanardoo@gmail.com>
Co-authored-by: Rui Miguel Alonso <ruiskas@gmail.com>
3 years ago
Alejandro Santiago
fad355b2f8
feat: positioned FlutterForest bumpers ( #104 )
...
* feat: positioned FlutterForest bumpers
* feat: removed unused parameters
3 years ago
Alejandro Santiago
411b489e1e
refactor: Pathway to Shapes ( #87 )
...
* refactor: removed findNested extensions (#77 )
* refactor: changed Pathway for Shapes
* refactor: renamed pathway to shape
* refactor: moved shapes to components package
* fix: fixed arc radius on shapes
* refactor: changed jetpack to shapes
* refactor: modified jetpack ramp to use shapes and blueprint
* refactor: launcher ramp
* test: removed unnecessary tests for ramps
* refactor: refactored baseboard with arcshapes
* chore: doc refactor
* test: coverage tests
* refactor: refactored launcher ramp
* test: tests for shapes
* test: added removed ellipse tests
* test: arcshape coverage
* test: unnecessary tests removed
* chore: params names
* chore: modified doc for Layered and added one test for nested
* test: changed tests names
* test: not layered nested children
* refactor: moved static param and made other private on ramps
* Update lib/game/components/jetpack_ramp.dart
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* Update lib/game/components/jetpack_ramp.dart
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* Update lib/game/components/launcher_ramp.dart
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* chore: renamed straight path vars
* Update packages/pinball_components/lib/src/components/shapes/arc_shape.dart
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* refactor: constructors with rotation instead of separated method
* test: refactored tests
* refactor: moved rotate to separate method
* refactor: rotation on shapes
Co-authored-by: RuiAlonso <rui.alonso@verygood.ventures>
Co-authored-by: Rui Miguel Alonso <ruiskas@gmail.com>
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
3 years ago
Alejandro Santiago
ce8917e17d
refactor: used `descendants` to retrieve tested subject ( #94 )
...
* refactor: used descendants to retrieve the subject
* fix: included game.ready in tests
3 years ago
Allison Ryan
db29e5c7b1
refactor: position and dimension google letters ( #93 )
...
* refactor: relative positions
* chore: remove unused code
* test: fix failing tests
* refactor: position logic
* refactor: position logic
* chore: clean up bonus word
* refactor: use relative positions
* refactor: await adding letters
* refactor: remove local variable
* chore: remove empty line
Co-authored-by: Alejandro Santiago <dev@alestiago.com>
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
Erick
cf92856dc1
feat: implementing composable blueprints ( #92 )
...
* feat: implementing composable blueprints
* fix: coverage
3 years ago
Alejandro Santiago
cfd4e790fa
feat: bumping all `DashNestBumper`s summons a new `Ball` ( #89 )
...
* refactor: rename RoundBumper to DashNestBumper
* feat: implemented DashNestBumper
* refactor: renamed files and tests
* chore: removed unused import
* refactor: renamed file to be a test file
* feat: added a new Ball on new state
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
3 years ago
Allison Ryan
e2c67571d5
feat: reshape `Baseboards` ( #85 )
...
* refactor: removed findNested extensions (#77 )
* refactor: baseboard shape and position
* chore: remove unused asset
* test: update fixture test
Co-authored-by: Alejandro Santiago <dev@alestiago.com>
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
d5d3640f0a
refactor: define `FlipperJoint` ( #72 )
...
* refactor: defined FlipperJoint
* refactor: simplified logic
* refactor: removed tests
* docs: included TODO comment
* refactor: simplified shape logic
* docs: included asset TODO comment
* refactor: removed verbose constructors
* refactor: reordered classes
* refactor: used renderBody
* chore: removed unused import
* refactor: moved renderBody to onLoad
3 years ago
Rui Miguel Alonso
f1b35d3eb2
feat: create ellipses from geometry ( #84 )
...
* feat: create ellipses from geometry
* test: geometry test for ellipse
* feat: removed required angle and added tests
* test: completed tests for geometry
* chore: unused import
* Update lib/game/components/pathway.dart
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* refactor: renaming params
* chore: missed test saved
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
3 years ago
Rui Miguel Alonso
573e16d0d5
refactor: leaderboard model ( #78 )
...
* refactor: changed name of LeaderboardEntry at LeaderboardRepository to LeaderboardEntryData
* chore: doc and analysis errors
* refactor: removed findNested extensions (#77 )
* Update lib/leaderboard/bloc/leaderboard_bloc.dart
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* Update lib/leaderboard/bloc/leaderboard_bloc.dart
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* fix: leaderboard gen file
* refactor: moved leaderboard models to separate path
* test: fixed tests with leaderboard model
* 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
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
c03cf6b2a2
chore: refactoring to use flutter gen on the game ( #73 )
...
* chore: refactoring to use flutter gen on the game
* fix: lint
* Update lib/game/components/spaceship.dart
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* fix: lint
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
3 years ago
Rui Miguel Alonso
5f90e62258
fix: deactivate bonus word while effect ( #61 )
...
* fix: fixed error activating bottom letter while bonus word animation
* test: coverage for test isEnabled
* Update lib/game/components/bonus_word.dart
Co-authored-by: Alejandro Santiago <dev@alestiago.com>
* chore: test method name
Co-authored-by: Alejandro Santiago <dev@alestiago.com>
Co-authored-by: Erick <erickzanardoo@gmail.com>
3 years ago
Erick
a111fd417e
feat: fixed positioning ( #70 )
...
* feat: game uses fixed positioning now
* feat: fixed positioning
* feat: pr suggestion
* lint
3 years ago
Rui Miguel Alonso
e0e8fabce5
feat: leaderboard bloc ( #57 )
...
* feat: added bloc for request ranking
* feat: added empty repository
* test: tests for bloc
* refactor: adapt bloc events and models to what leaderboard repository has
* feat: extension to convert between CharacterTheme and CharacterType
* doc: documented leaderboard bloc
* refactor: merge with leaderboard_repository
* doc: completed doc
* chore: unused import, trailing comma
* chore: removed ios files
* Update lib/leaderboard/bloc/leaderboard_bloc.dart
Co-authored-by: Erick <erickzanardoo@gmail.com>
* Update lib/leaderboard/bloc/leaderboard_bloc.dart
Co-authored-by: Erick <erickzanardoo@gmail.com>
* refactor: remove props from abstract event class to force childs to implement it
* Update lib/leaderboard/bloc/leaderboard_bloc.dart
Co-authored-by: Alejandro Santiago <dev@alestiago.com>
* Update lib/leaderboard/bloc/leaderboard_event.dart
Co-authored-by: Alejandro Santiago <dev@alestiago.com>
* Update lib/leaderboard/bloc/leaderboard_event.dart
Co-authored-by: Alejandro Santiago <dev@alestiago.com>
* Update lib/leaderboard/bloc/leaderboard_state.dart
Co-authored-by: Alejandro Santiago <dev@alestiago.com>
* Update lib/leaderboard/bloc/leaderboard_state.dart
Co-authored-by: Alejandro Santiago <dev@alestiago.com>
* Update lib/leaderboard/bloc/leaderboard_state.dart
Co-authored-by: Alejandro Santiago <dev@alestiago.com>
* Update lib/leaderboard/bloc/leaderboard_state.dart
Co-authored-by: Alejandro Santiago <dev@alestiago.com>
* Update lib/leaderboard/bloc/leaderboard_event.dart
Co-authored-by: Alejandro Santiago <dev@alestiago.com>
* chore: ignore doc for file
* chore: wrong reference at doc
* Update lib/leaderboard/bloc/leaderboard_state.dart
Co-authored-by: Alejandro Santiago <dev@alestiago.com>
* Update lib/leaderboard/bloc/leaderboard_state.dart
Co-authored-by: Alejandro Santiago <dev@alestiago.com>
* Update lib/leaderboard/bloc/leaderboard_state.dart
Co-authored-by: Alejandro Santiago <dev@alestiago.com>
* refactor: leaderboard state initial method
Co-authored-by: Erick <erickzanardoo@gmail.com>
Co-authored-by: Alejandro Santiago <dev@alestiago.com>
3 years ago
Alejandro Santiago
79bb95bef9
refactor: rename `SlingShot` to `Kicker` ( #68 )
...
* refactor: renamed SlingShot to Kicker
3 years ago
Alejandro Santiago
5b355ff406
refactor: used size instead of width and height ( #69 )
3 years ago
Rui Miguel Alonso
aa1a2d7674
feat: connect spaceship ramp ( #65 )
...
* refactor: improve layer and ramp to allow connection between different layers outside from board
* refactor: modified spaceship to be Layered and RampOpening
* refactor: moved ramp and game components to connect jetpack ramp with spaceship
* test: test coverage and removed layer unnecessary tests for spaceship
* refactor: jetpack ramp removed rotation
* refactor: hardcoded layer spaceship inside each component
Co-authored-by: Erick <erickzanardoo@gmail.com>
3 years ago
Alejandro Santiago
38b28243a7
feat: allow `Ball` to be stopped and resumed ( #58 )
...
* feat: implemented stop and reusme methods
* feat: included tests
* docs: improved doc comment
* feat: improved tests
* feat: removed gravity from tests
* refactor: renamed tests
3 years ago
Alejandro Santiago
32529e42be
feat: made`SlingShot` rounded ( #63 )
...
* feat: made SlingShot rounded
* feat: updated SlingShot tests
* refactor: defined Shape extension
* refactor: fixed test name typo
Co-authored-by: Rui Miguel Alonso <ruiskas@gmail.com>
3 years ago
Erick
1af0c47328
feat: Blueprints as a method of grouping game components ( #62 )
...
* feat: Blueprints as a method of grouping game components
* fix: lint
* feat: pr suggestions
* feat: pr suggestions
* fix: test from merge
3 years ago
Erick
4c0774b792
feat: adds the spaceship component ( #60 )
...
* feat: implementing spaceship
* feat: spaceship working
* feat: adding dartdoc to spaceship
* feat: more tests and improving sizes
* fix: lint
* fix: lint
* feat: pre fetching spaceship assets
* fix: typo
* Apply suggestions from code review
Co-authored-by: Alejandro Santiago <dev@alestiago.com>
* feat: pr suggestion
* fix: removing duplicated class
* feat: pr suggestions
Co-authored-by: Alejandro Santiago <dev@alestiago.com>
3 years ago
Rui Miguel Alonso
6867187659
feat: crossing upper ramps ( #40 )
...
* feat: added generic area and area callback for ramps crossing
* feat: added jetpack ramp (blue one) and own area, contact callback and maskbits
* feat: added sparky ramp (yellow one) and own area, contact callback and maskbits
* feat: included ramp components
* feat: added maskbits to ball for collisions
* feat: added paths to pinball game
* feat: added maskbits to paths
* fix: fixed collisions of a ball that only touch path entrance but doesn't get into
* fix: analysis warnings
* feat: ball default maskbits
* chore: refactor some names and vars
* test: tests for ramps and callbacks, and coverage
* test: pinball game check ramps are added
* test: tests for ramps check childrens
* test: fixing tests for ramps
* test: fix tests
* chore: increase sparky angle
* fix: placed plunge aligned with straight launcher path
* fix: fixed maskBits change for ball on crossing ramps and tests coverage
* doc: public member api docs
* chore: placed launcher ramp
* test: moved mock from crossing ramps to helpers file
* fix: build and dep where broken by forge2d/position_body_component
* Update lib/game/components/crossing_ramp.dart
Co-authored-by: Erick <erickzanardoo@gmail.com>
* Update lib/game/components/jetpack_ramp.dart
Co-authored-by: Erick <erickzanardoo@gmail.com>
* Update test/game/components/crossing_ramp_test.dart
Co-authored-by: Erick <erickzanardoo@gmail.com>
* Update test/game/components/jetpack_ramp_test.dart
Co-authored-by: Erick <erickzanardoo@gmail.com>
* Update test/game/components/sparky_ramp_test.dart
Co-authored-by: Erick <erickzanardoo@gmail.com>
* Update lib/game/components/jetpack_ramp.dart
Co-authored-by: Erick <erickzanardoo@gmail.com>
* chore: fixed formatting
* chore: removed coverage tool
* Update lib/game/components/crossing_ramp.dart
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* Update test/game/components/ball_test.dart
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* Update lib/game/components/crossing_ramp.dart
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* Update lib/game/components/jetpack_ramp.dart
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* Update test/game/components/crossing_ramp_test.dart
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* Update test/game/components/pathway_test.dart
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* Update test/game/pinball_game_test.dart
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* Update test/game/components/pathway_test.dart
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* test: fix tests and groups
* chore: ramp area name changed to opening
* refactor: ball with mixin Layer for mask collisions
* chore: avoid foreach in a function literal
* refactor: hide maskbits and manage only with layer param
* chore: formatting file
* refactor: changed name for ramp area
* refactor: sparky+launcher into one path
* doc: doc layer for ball
* refactor: sparky to launcher
* feat: allow jetpack ramp to be over the board
* feat: refactor to allow jetpack ramp to be above board and launcher ramp
* test: coverage
* fix: fixed conflict with merge Component position
* chore: analysis fixes
* chore: doc and comments
* refactor: initial position to ramps and cleaned ramp callbacks
* refactor: improved ramp contact callback
* refactor: ball layer and ramp addAll components
* refactor: create fixtures for pathways and opening improved
* refactor: placed ramps on pinball game
* refactor: splitted layer from rampopening
* refactor: rampopening with layered mixin
* test: fixed all changes with tests
* test: fixed tests after Layer mixin changes
* chore: refactor names, test and doc
* chore: review docs and names
* fix: fixed tests and bug with initialposition collision
* chore: analysis error
* fix: fixed collision end from ramps
* test: coverage
* chore: fixed spaces between methods and other comments from pr
* chore: remove unnecessary layer set on Layered
* fix: removed unrelated files from pr
* chore: removed unused import
* refactor: ballsInside private and removed from tests
* chore: todo comment
* chore: removed unused import
* chore: removed podfile
* doc: changed Layered doc
* doc: changed Layered doc
* Update test/game/components/ramp_opening_test.dart
Co-authored-by: Alejandro Santiago <dev@alestiago.com>
* Update lib/game/components/layer.dart
Co-authored-by: Alejandro Santiago <dev@alestiago.com>
* docs: improved punctuation
Co-authored-by: Erick <erickzanardoo@gmail.com>
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
Co-authored-by: Alejandro Santiago <dev@alestiago.com>
3 years ago
Alejandro Santiago
81396d337f
refactor: renamed ball_test.dart group ( #59 )
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
Alejandro Santiago
aba49660c2
feat: include DashForest area ( #49 )
...
* feat: removed Wall friction
* feat: included SlingShot
* feat: adjusted SlingShot size
* feat: included tests
* refactor: fixed tests
* feat: included DashForest
* feat: included tests
* docs: used correct reference
* docs: fixed typo in comment
* docs: improved doc comments
* refactor: used initialPosition API
3 years ago
Alejandro Santiago
dc3de740d3
fix: used `initialPosition` in `BodyDef` ( #52 )
...
* fix: using BodyDef
* feat: included test
* refactor: removed TODO
3 years ago
Alejandro Santiago
0dc8851e3b
feat: implemented `InitialPosition` on `BodyComponent`s ( #50 )
...
* feat: made Baseboard use InitialPosition
* feat: made Plunger use InitialPosition
* feat: made SlingShot use InitialPosition
* fix: fixed plunger not initialised
* feat: made RoundBumper use InitialPosition
* feat: made Pathway use InitialPosition
* feat: made JointAnchor use InitialPosition
* feat: made BonusWord use InitialPosition
* feat: changed override to onLoad
* feat: made Flipper use InitialPosition
* feat: made Ball use InitialPosition
* feat: made InitialPosition position the body
* feat: included default value
* feat: removed unnecessary positioning
* refactor: removed old test
* refactor: removed unnecessary tests
* refactor: improved assertion message
Co-authored-by: Erick <erickzanardoo@gmail.com>
Co-authored-by: Erick <erickzanardoo@gmail.com>
3 years ago
Alejandro Santiago
401244a8c0
feat: defined InitialPosition mixin ( #37 )
...
* feat: defined InitialPosition mixin
* docs: included doc comments
* refactor: cleaned test file
* fix: solved ball_test loading
* feat: included generics
3 years ago
Alejandro Santiago
1d30278ee4
feat: group Slingshots ( #48 )
...
* feat: removed Wall friction
* feat: included SlingShot
* feat: adjusted SlingShot size
* feat: included tests
* refactor: fixed tests
3 years ago
Alejandro Santiago
7a8f808822
feat: group Baseboards and Flipper ( #47 )
...
* feat: connected baseboards to flipper
* chore: removed FlipperGroup
* refactor: simplified Baseboard constructor
* refactor: simplified BottomGroup
* refactor: changed constructors
* refactor: removed unecessary import
* refactor: modified Flipper constructor
* docs: updated doc comment
* docs: used macro for BottomGroupSide
* docs: improved doc comment
* refactor: renamed magnitude to direction
* refactor: renamed bumper to baseboard
* feat: included board tests
* docs: improved doc comment
* feat: include boardSide.direction (#46 )
* feat: implemented BoardSide.direction
* docs: included doc comment
* refactor: used _side.direction
* refactor: used ensureAdd
* chore: removed old test
* docs: improved comments
3 years ago
Alejandro Santiago
413900e89f
feat: define SlingShot component ( #39 )
...
* feat: created sling-short.dart
* refactor: used appropiate file name
* chore: included sling_shot export
* refactor: simplified _createFixtureDefs
* doc: included SlingShot in doc comment
* feat: implemented basic SlingShot
* feat: used EdgeShape instead of PolygonShape
* feat: implemented _addSlingShot method
* feat: adding placeholder art for the flippers
* Update lib/game/components/flipper.dart
Co-authored-by: Alejandro Santiago <dev@alestiago.com>
* 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
* fix: misisng doc
* chore: add code owners (#31 )
* 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
* refactor: remove Flutter dep from geometry (#27 )
* fix: removed flutter dependency
* test: fixed tests for assertions
* test: check assertion with isA
* ci: added geometry workflow file
* refactor: changed flame dep to vector_math for vector2
* fix: changed import for vector to vector_math_64
* Update .github/workflows/geometry.yaml
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* chore: rename pinball game test extension (#33 )
* chore: rename pinball game test extension
* refactor: initial to create
* docs: small change
* chore: removed unecessary end callback (#30 )
* 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
* feat: moved triangle to centroid
* feat: made SlingShot a PositionBodyComponent
* feat: removed PositionBodyComponent
* refactor: moved centroid function
* refactor: simplified centroid function
* docs: typo in macro
* feat: modified restitution value
* refactor: added variable for incline
* docs: included TODO comment
* feat: included tests
* feat: removed friction from SlingShot
* feat: removed adding slinghsots
* refactor: used variables for fixtures
* feat: included side in SlingShot
* feat: included different shapes test
* docs: fixed typo
* refactor: removed unused import
* refactor: used centroid from geometry package
* docs: fixed typo
* refactor: improved triangleVertices readability
* refactor: removed EmptyGame class
Co-authored-by: Erick Zanardo <erickzanardoo@gmail.com>
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
Co-authored-by: Rui Miguel Alonso <ruiskas@gmail.com>
3 years ago
Allison Ryan
6a68bf1ed7
feat: add round bumper ( #42 )
...
* feat: add round bumper
* refactor: PR suggestions
* fix: remove unused import 🤦♀️
3 years ago
Alejandro Santiago
b93e104b08
feat: include boardSide.direction ( #46 )
...
* feat: implemented BoardSide.direction
* docs: included doc comment
3 years ago
alestiago
963b400c41
refactor: simplified testing for components in tree
3 years ago
alestiago
b0932799eb
refactor: used Forge2DGame where possible
3 years ago
Allison Ryan
45f1c6e48b
feat: add how to play dialog ( #45 )
...
* feat: add how to play dialog
* style: comma for readability
3 years ago
Erick
78a616ccd1
feat: adding effect on completing bonus word ( #44 )
...
* feat: adding effect on completing bonus word
* Apply suggestions from code review
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* feat: pr suggestions
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
3 years ago
Erick
1754602634
feat: adding bonus score to the user when they complete the bonus ( #36 )
...
* feat: adding bonus score to the user when they complete the bonus
* feat: pr suggestions
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
Allison Ryan
f6f171b7c7
feat: add baseboards ( #34 )
...
* feat: add baseboards
* docs: baseboard
* fix: test extension
* chore: simplify rectangle
* refactor: PR suggestions
3 years ago
Alejandro Santiago
ddec3c0f44
feat: implemented Flipper grouping ( #32 )
...
* feat: started implementing FlipperGroup
* refactor: simplified Flipper logic
* refactor: used extension instead of condition
* docs: used "loads" over "adds"
* feat: used size rather than width and height
* refactor: removed unecessary mixin
* feat: reorder methods
* refactor: removed _joint over joint
* docs: fixed macro typo
* feat: unawait add operation
* feat: included tests
* refactor: remove Flutter dep from geometry (#27 )
* fix: removed flutter dependency
* test: fixed tests for assertions
* test: check assertion with isA
* ci: added geometry workflow file
* refactor: changed flame dep to vector_math for vector2
* fix: changed import for vector to vector_math_64
* Update .github/workflows/geometry.yaml
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* chore: rename pinball game test extension (#33 )
* chore: rename pinball game test extension
* refactor: initial to create
* docs: small change
* chore: removed unecessary end callback (#30 )
* 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
* 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>
* feat: add plunger to board (#25 )
* feat: add plunger to board
* refactor: leave spawn ball synchronous
* fix: ball test
* refactor: position ball internally
* fix: ball position test
* refactor: use joint specific anchor
* refactor: remove ballSize
* fix: plunger position
* refactor: use relative positioning
Co-authored-by: Alejandro Santiago <dev@alestiago.com>
* refactor: added missing white space
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* refactor: adding missing white space
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* refactor: renamed test
* refactor: used ! instead of ?
* chore: rebasing
* refactor: simplified Flipper logic
* refactor: used extension instead of condition
* docs: used "loads" over "adds"
* feat: used size rather than width and height
* refactor: removed unecessary mixin
* feat: reorder methods
* refactor: removed _joint over joint
* docs: fixed macro typo
* chore: rebasing
* refactor: added missing white space
* refactor: used ! instead of ?
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
Co-authored-by: Erick <erickzanardoo@gmail.com>
3 years ago
Allison Ryan
19c0172cac
feat: add plunger to board ( #25 )
...
* feat: add plunger to board
* refactor: leave spawn ball synchronous
* fix: ball test
* refactor: position ball internally
* fix: ball position test
* refactor: use joint specific anchor
* refactor: remove ballSize
* fix: plunger position
* refactor: use relative positioning
Co-authored-by: Alejandro Santiago <dev@alestiago.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
7da7055957
chore: rename pinball game test extension ( #33 )
...
* chore: rename pinball game test extension
* refactor: initial to create
* docs: small change
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
c1a25df01a
feat: adding placeholder art for the flippers
3 years ago
RuiAlonso
696ace8bff
chore: removed unused import
3 years ago
RuiAlonso
ec300bec9c
fix: fix merge conflicts with imports from main
3 years ago
Alejandro Santiago
360b5876cf
feat: Flipper ( #15 )
...
* feat: explicitely imported Anchor
* feat: implemented Flipper
* feat: implemented Flipper in PinballGame
* feat: implemented calculateRequiredSpeed
* feat: included right and left constructors
* feat: used right and left constructors
* refactor: cleaned calcualteSpeed method
* refactor: used width and height instead of size
* feat: implemented FlipperAnchor
* feat: implemented BoardSide enum
* docs: used prose in doc comment
* feat: implemented BoardSideX
* refactor: used isLeft instead of isRight
* refactor: implemented unlock method
* refactor: same line assignment
Co-authored-by: Erick <erickzanardoo@gmail.com>
* feat: add themes
* feat: add theme cubit
* test: character themes
* test: remove grouping
* refactor: move themes to package
* chore: add workflow
* fix: workflow
* docs: character themes update
* refactor: one theme for entire game
* chore: add to props
* fix: changing ball spawning point to avoid context errors
* refactor: modified unlock method due to invalid cast
* feat: included test for BoardSide
* refactor: removed sweepingAnimationDuration
* feat: tested flipper.dart
* refactor: included flippersPosition
* refactor: implemented _addFlippers method
* feat: centered vertices
* feat: modified test to match new center
* refactor: removed unecessary parenthesis
* refactor: removed unecessary calculation
* fix: changing ball spawning point to avoid context errors
* chore: rebasing
* docs: included FIXME comment
* feat: moved key listening to Flipper
* docs: include TOOD comment
* feat: including test and refactor
* docs: fixed doc comment typo
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* docs: fixed do comment template name
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* refactor: removed unnecessary verbose multiplication
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* refactor: removed unnecessary verbose multiplication
* refactor: used ensureAddAll instead of ensureAdd
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* docs: fixed doc comment typo
* refactor: used bigCircleShape.radius
* refactor: reorganized methods
* docs: improved doc comment
* refactor: removed unecessary class variables
* docs: fix doc comment typo
* refactor: removed unused helper
* fix: simplified keyEvents
* fix: corrected erroneous key tests
* refactor: modified component tests
* refactor: capitalized Flipper test description
* refactor: changed angle calculations
* fix: tests
* refactor: removed exta line
Co-authored-by: Erick <erickzanardoo@gmail.com>
Co-authored-by: Allison Ryan <allisonryan0002@gmail.com>
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
3 years ago
RuiAlonso
45dc583c86
test: fixed bug with radius in radians :S
3 years ago
RuiAlonso
bbab659b85
refactor: changed docs and use angles in radians instead of degrees
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
RuiAlonso
5bff54f3d8
Merge branch 'main' into feat/paths
3 years ago
Erick Zanardo
df2ce91b06
feat: adding bonus letter feature state management
3 years ago
Erick Zanardo
a2093811fa
feat: adding tests
3 years ago
RuiAlonso
4faf703648
chore: applied changes from GH comments, doc descriptions, var names, asserts, etc
3 years ago
RuiAlonso
631688f821
refactor: path changed to pathway, as well as tests
3 years ago
Allison Ryan
530f110fb9
Merge pull request #11 from VGVentures/feat/character-theming
...
feat: add theming for different characters
3 years ago
RuiAlonso
7e43e0042e
refactor: changed name of Path to Pathway
3 years ago
RuiAlonso
d6f7bb853d
test: names for tests
3 years ago
RuiAlonso
aeb289fce6
fix: changed paths area default color to transparent
3 years ago
RuiAlonso
c693e9a109
chore: analysis errors fixed on tests
3 years ago
RuiAlonso
53f24643b7
test: tests for Path component
3 years ago
Allison Ryan
ca18de6172
refactor: one theme for entire game
3 years ago
Allison Ryan
f802e592f5
Merge branch 'main' into feat/character-theming
3 years ago
Allison Ryan
1651676462
test: same position
3 years ago
Allison Ryan
3ef9cb878b
test: provide mock game bloc
3 years ago
Allison Ryan
0e98a74b17
refactor: move themes to package
3 years ago
Allison Ryan
bb1663111f
refactor: suggestions
3 years ago
Allison Ryan
d66261581f
Merge branch 'main' into feat/plunger
3 years ago
Alejandro Santiago
9891931ffe
feat: anchor component ( #12 )
...
* feat: implemented Anchor component
* docs: included initialize example
* docs: improved Anchor doc comment
* chore: fixed white space difference
3 years ago
Erick Zanardo
5a2ee2c2ac
feat: applying suggestions
3 years ago
Allison Ryan
8f3fc4b248
test: remove grouping
3 years ago
Allison Ryan
5a44f0abf3
test: character themes
3 years ago
Allison Ryan
5c095e8f93
feat: add theme cubit
3 years ago
Allison Ryan
85936df74e
test: joint tests
3 years ago
Erick Zanardo
4ccd172b4f
feat: pr suggestions
3 years ago
Erick
adcc43d04a
Apply suggestions from code review
...
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
3 years ago
Erick Zanardo
902d3092ee
fix: plunger tests
3 years ago
Allison Ryan
7048618ce5
test: plunger and joint
3 years ago
Erick Zanardo
ca989eac8d
feat: addressing PR comments
3 years ago
Erick Zanardo
dba7761e01
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
8865c2f32e
fix: lint
3 years ago
Erick Zanardo
518e183ad8
feat: game over mechanics
3 years ago
Alejandro Santiago
afeaf4a058
feat: implemented `ScorePoints` mixin and callback ( #7 )
...
* feat: implemented ScorePoints mixin
* refactor: renamed BallHasScoreCallback to BallScorePointsCallback
* feat: included test for end method
* chore: included TODO comment
* docs: included doc comments
* feat: set ScorePoints mixin on BodyComponent
* feat: rewrote test for mixin only extending BodyComponent
* feat: registered BallScorePointsCallback in PinballGame
* docs: improved BallScorePointsCallback doc comment
* docs: changed PR url to issue url
* refactor: fixed analyzer warnings
* refactor: used real class names instead of Mock class names
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
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
0d27b7f762
feat: included initial Ball body component ( #6 )
...
* feat: included initial ball body component
* feat: included loads correctly test
* chore: moved test to correct directory
* refactor: replaced vector instances
* refactor: modified exists test
* refactor: reused flameTester
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
Alejandro Santiago
5ab34687a0
chore: remove generated counter example ( #1 )
3 years ago
Allison Ryan
a12f1d388d
feat: very good core
3 years ago