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
Alejandro Santiago
902aacce2c
feat: geometric centroid ( #38 )
...
* docs: rephrased description
* feat: included geometry method
* feat: simplified centroid
* Update packages/geometry/test/src/geometry_test.dart
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
* chore: rebase
* refactor: removed throwsAssertionError for throwsA matcher
* docs: rephrased doc comment
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
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
Allison Ryan
2671ec4020
chore: anchor plunger internally ( #43 )
...
* chore: anchor plunger internally
* chore: remove group
* Update lib/game/components/plunger.dart
Co-authored-by: Alejandro Santiago <dev@alestiago.com>
Co-authored-by: Alejandro Santiago <dev@alestiago.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
Alejandro Santiago
e9d2d13bb3
chore: removed unecessary end callback ( #30 )
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
Rui Miguel Alonso
b73cddc1a3
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>
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
Allison Ryan
07db88d355
chore: add code owners ( #31 )
3 years ago
Erick
ff938a26ee
Merge pull request #26 from VGVentures/feat/flipper-placeholder-art
...
feat: adding placeholder art for the flippers
3 years ago
Erick Zanardo
b92ee475a2
fix: misisng doc
3 years ago
Erick
9aab90efe3
Merge branch 'main' into feat/flipper-placeholder-art
3 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
3 years ago
Erick
6ed0203054
Update lib/game/components/flipper.dart
...
Co-authored-by: Alejandro Santiago <dev@alestiago.com>
3 years ago
Erick
42bcd3c012
Merge branch 'main' into feat/flipper-placeholder-art
3 years ago
Alejandro Santiago
61ba65ce61
feat: include `public_member_api_docs` ( #13 )
...
* feat: included public_member_api_docs lint rule
* docs: included ignore comment
* docs: included Ball method comment
3 years ago
Erick Zanardo
c1a25df01a
feat: adding placeholder art for the flippers
3 years ago
Rui Miguel Alonso
24edc0118a
Merge pull request #14 from VGVentures/feat/paths
...
feat: path component
3 years ago
RuiAlonso
f75d5514cc
doc: geometry doc refactored
3 years ago
RuiAlonso
78eb18eb0e
chore: updated package geometry readme file
3 years ago
RuiAlonso
3a092f8a1c
test: removed old group
3 years ago
RuiAlonso
85cbe42958
refactor: renamed wall1 and wall2 vars
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
064ae1b1ed
Merge pull request #22 from VGVentures/feat/hud
3 years ago
Erick Zanardo
84282fe83a
fix: test from rebase
3 years ago
Erick Zanardo
884d8b36b0
fix: lint
3 years ago
Erick Zanardo
38b8a28ffc
feat: pr suggestions
3 years ago
Erick
f9f109ba5a
Apply suggestions from code review
...
Co-authored-by: Alejandro Santiago <dev@alestiago.com>
3 years ago
Erick Zanardo
a3dc9d09cf
feat: adding game hud
3 years ago
Erick
1af0c2e058
Merge pull request #23 from VGVentures/feat/google-letter-mechanic
...
feat: adding bonus letter feature state management
3 years ago