13 Commits

Author SHA1 Message Date
seppedl dad4740261 [fix] Reset score when game over. 2025-04-07 19:48:04 +02:00
seppedl a8356234a7 Merge branch 'master' of github.com:seppedl/micro-bricks 2025-04-06 21:39:57 +02:00
seppedl ecbc857d80 [refactor] Move objets to separate files.
- ball
- bricks
- paddle
Update documentation and readme.
[fix] Game over: update player score.
2025-04-06 21:39:16 +02:00
seppedl 5597b91bd5 [refactor] Move objets to separate files.
- ball
- bricks
- paddle
Update documentation and readme.
2025-04-06 21:37:01 +02:00
seppedl b8de025881 Merge branch 'master' of github.com:seppedl/micro-bricks 2025-04-05 20:58:24 +02:00
seppedl 0b5b58bb84 [refactor] Move screen class to separate file. 2025-04-05 20:58:11 +02:00
seppedl b7365f0d4a [refactor] Move screen class to separate file. 2025-04-05 20:55:30 +02:00
seppedl d5cf59b739 [refactor] Remove all globals
- Add screen class with all screen paramters.
- Pass screen as parameter to all routines requirering screen access.
2025-04-05 20:10:15 +02:00
seppedl 6679f2aa48 [add] Launch ball from paddle with A 2025-04-04 11:18:10 +02:00
seppedl ebd445eba2 [add] High score
- Implement high score in file
- Fix next_level logic
2025-04-04 10:26:33 +02:00
seppedl ce7add6479 [refactor] Cleanup code
- Rename joystick library to helpers
- Put color565 function in helpers.py
- Switch screen width and height names as game runs in landscrape
- Enumerate levels for readability
- Update docstrings
- Rework splash screen to use binary operators
- Extract create bricks and create lives functions
- Reowrk main game loop logic to support next level
2025-04-04 05:53:14 +02:00
seppedl 0e5b5f67fa [fix] Small errors
- Ball can no longer lock to paddle
- Brick edges are part of the brick
2025-04-03 22:00:57 +02:00
seppedl aa96f89a13 Initial commit 2025-04-03 06:57:23 +02:00