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
RuiAlonso
85cbe42958
refactor: renamed wall1 and wall2 vars
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
bbab659b85
refactor: changed docs and use angles in radians instead of degrees
3 years ago
RuiAlonso
5bff54f3d8
Merge branch 'main' into feat/paths
3 years ago
Erick
aca7022fdb
Merge pull request #19 from VGVentures/feat/ball-placeholder-asset
...
feat: adding ball component placeholder asset
3 years ago
Erick Zanardo
a2093811fa
feat: adding tests
3 years ago
RuiAlonso
6b3158b019
chore: removed unscope Ball refs in doc
3 years ago
RuiAlonso
4290cb5a8d
refactor: changed math package to geometry
3 years ago
RuiAlonso
4faf703648
chore: applied changes from GH comments, doc descriptions, var names, asserts, etc
3 years ago
alestiago
bf4b262a9d
docs: removed erroneous reference
3 years ago
Erick Zanardo
ac0aca5f8f
feat: adding placeholder sprite for the ball component
3 years ago
Erick
618ce97adc
Apply suggestions from code review
...
Co-authored-by: Alejandro Santiago <dev@alestiago.com>
3 years ago
Erick Zanardo
9587a4fe77
docs: adding dart docs to the wall component
3 years ago
RuiAlonso
7e43e0042e
refactor: changed name of Path to Pathway
3 years ago
RuiAlonso
20c8153363
chore: var and test names not saved
3 years ago
RuiAlonso
8901bcec70
chore: var names and lambda method for identity element
3 years ago
RuiAlonso
9ccf85c2ef
doc: documented Path component
3 years ago
RuiAlonso
aeb289fce6
fix: changed paths area default color to transparent
3 years ago
RuiAlonso
b0e8a3be14
feat: created path component to paint pathways for the ball
3 years ago
Allison Ryan
1651676462
test: same position
3 years ago
Allison Ryan
ea3b126b62
Update lib/game/components/plunger.dart
...
Co-authored-by: Alejandro Santiago <dev@alestiago.com>
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
2e28cd1a1d
docs: fix typo
3 years ago
Allison Ryan
85936df74e
test: joint tests
3 years ago
Erick Zanardo
4ccd172b4f
feat: pr suggestions
3 years ago
Allison Ryan
7048618ce5
test: plunger and joint
3 years ago
Erick Zanardo
d5c84acd8e
feat: making use of isLastBall on ball component
3 years ago
Erick Zanardo
dba7761e01
feat: addressing PR comments
3 years ago
Erick Zanardo
ad6afddf15
fix: rebasing issues
3 years ago
Allison Ryan
92590b9c82
docs: plunger issue comments
3 years ago
Erick Zanardo
518e183ad8
feat: game over mechanics
3 years ago
Allison Ryan
6cf2ccb5e0
Merge branch 'main' into feat/plunger
3 years ago
Alejandro Santiago
403d997f17
refactor: renamed method parameter hasPoints to scorePoints ( #8 )
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
Allison Ryan
7338b95ef5
feat: plunger
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