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
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
1651676462
test: same position
3 years ago
Allison Ryan
3ef9cb878b
test: provide mock game bloc
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
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