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
2 years ago
Alejandro Santiago
e9d2d13bb3
chore: removed unecessary end callback ( #30 )
2 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
2 years ago
Erick Zanardo
b92ee475a2
fix: misisng doc
2 years ago
Erick
9aab90efe3
Merge branch 'main' into feat/flipper-placeholder-art
2 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
2 years ago
Erick
6ed0203054
Update lib/game/components/flipper.dart
...
Co-authored-by: Alejandro Santiago <dev@alestiago.com>
2 years ago
Erick
42bcd3c012
Merge branch 'main' into feat/flipper-placeholder-art
2 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
2 years ago
Erick Zanardo
c1a25df01a
feat: adding placeholder art for the flippers
2 years ago
RuiAlonso
85cbe42958
refactor: renamed wall1 and wall2 vars
2 years ago
RuiAlonso
ec300bec9c
fix: fix merge conflicts with imports from main
2 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>
2 years ago
RuiAlonso
bbab659b85
refactor: changed docs and use angles in radians instead of degrees
2 years ago
Erick Zanardo
884d8b36b0
fix: lint
2 years ago
Erick Zanardo
38b8a28ffc
feat: pr suggestions
2 years ago
Erick
f9f109ba5a
Apply suggestions from code review
...
Co-authored-by: Alejandro Santiago <dev@alestiago.com>
2 years ago
Erick Zanardo
a3dc9d09cf
feat: adding game hud
2 years ago
Erick Zanardo
e4cd4342c0
feat: pr suggestions
2 years ago
Erick
de25974f8c
Update lib/game/bloc/game_state.dart
...
Co-authored-by: Alejandro Santiago <dev@alestiago.com>
2 years ago
RuiAlonso
5bff54f3d8
Merge branch 'main' into feat/paths
2 years ago
Erick Zanardo
df2ce91b06
feat: adding bonus letter feature state management
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
8a5fbda51f
Apply suggestions from code review
...
Co-authored-by: Allison Ryan <77211884+allisonryan0002@users.noreply.github.com>
3 years ago
Erick
0b9a0c2c6a
Merge pull request #16 from VGVentures/doc/wall-docs
...
docs: adding dart docs to the wall component
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
a8c2257ce3
fix: changing ball spawning point to avoid context errors
3 years ago
Erick Zanardo
9587a4fe77
docs: adding dart docs to the wall component
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
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
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
ea3b126b62
Update lib/game/components/plunger.dart
...
Co-authored-by: Alejandro Santiago <dev@alestiago.com>
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
Erick
9fc554927d
Apply suggestions from code review
...
Co-authored-by: Alejandro Santiago <dev@alestiago.com>
3 years ago
Allison Ryan
5c095e8f93
feat: add theme cubit
3 years ago
Allison Ryan
2e28cd1a1d
docs: fix typo
3 years ago
Allison Ryan
64d4677b3f
chore: remove modifications to game
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
45a5b5c320
Merge branch 'feat/game-over-mechanics' of github.com:VGVentures/pinball into feat/game-over-mechanics
3 years ago
Erick Zanardo
d5c84acd8e
feat: making use of isLastBall on ball component
3 years ago
Erick
174cbae1bf
Update lib/game/pinball_game.dart
3 years ago
Erick Zanardo
ca989eac8d
feat: addressing PR comments
3 years ago
Erick Zanardo
dba7761e01
feat: addressing PR comments
3 years ago
Allison Ryan
0eac420e83
feat: add themes
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
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
Erick
0a01e3b5fb
chore: updating flame, flame_forge2d and flame_bloc versions ( #4 )
...
* chore: updating flame, flame_forge2d and flame_bloc versions
* adding FlameBloc to the PinballGame
* refactor: sorted pub dependencies
Co-authored-by: alestiago <dev@alestiago.com>
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