Commit Graph

156 Commits

Author SHA1 Message Date
github-actions[bot]
5a78d14c41 chore(build): auto-build pdf 2024-01-16 18:02:28 +00:00
Kristofers Solo
63fdf72cc8
Merge pull request #7 from kristoferssolo/feature/pause
Implement pause feature
2024-01-16 20:02:09 +02:00
Kristofers Solo
280c6be84d feat(game): add pause screen 2024-01-16 19:55:22 +02:00
Kristofers Solo
a136a6ebf7 feat(game): disable movement while paused 2024-01-16 19:07:25 +02:00
Kristofers Solo
36edbacbbc chore(game): adjust block speed 2024-01-15 22:39:57 +02:00
Kristofers Solo
4eed4a18e9 refactor(game): pause 2024-01-15 22:39:39 +02:00
Kristofers Solo
68452de415 refacor(game): add separate _get_keys function 2024-01-15 09:17:58 +02:00
Kristofers Solo
b8604f41c3 feat(game): add pause method
fix: `pause`
2024-01-15 09:08:39 +02:00
Kristofers Solo
ae5b2fc0df chore(game): adjust speed increase 2024-01-15 07:37:49 +02:00
github-actions[bot]
c35f4798e9 chore(build): auto-build pdf 2024-01-15 05:03:24 +00:00
Kristofers Solo
79e6fd3a07 chore: bump up the version 2024-01-15 07:02:59 +02:00
Kristofers Solo
a8748a69a2 Merge branch 'preview' 2024-01-15 07:01:51 +02:00
Kristofers Solo
38301b0688 refactor(game): use attrs 2024-01-15 07:00:16 +02:00
Kristofers Solo
75d873d1eb style(game): rename FigureConfig to FigureParams
fix
2024-01-15 06:58:23 +02:00
Kristofers Solo
5200a1458e feat(game): update preview tetromino color
Preview color is dependant on chosen colorscheme in `settings.toml`.
2024-01-15 06:52:57 +02:00
github-actions[bot]
ef3dbad2d2 chore(build): auto-build pdf 2024-01-15 04:24:09 +00:00
Kristofers Solo
9e47d1bf2d refactor(game): block colors depend on settings 2024-01-15 06:23:31 +02:00
Kristofers Solo
a578731b65 refactor(game): add image property 2024-01-15 06:23:31 +02:00
github-actions[bot]
822dd60bc1 chore(build): auto-build pdf 2024-01-09 17:42:34 +00:00
Kristofers Solo
3ae98435c2
Merge pull request #3 from kristoferssolo/kristoferssolo-patch-1
Delete .github/workflows/release.yml
2024-01-09 19:40:40 +02:00
Kristofers Solo
040a879868
Delete .github/workflows/release.yml 2024-01-09 19:40:20 +02:00
github-actions[bot]
2ec175c3be chore(build): auto-build pdf 2024-01-09 17:34:45 +00:00
Kristofers Solo
fa6a0e97e0
Merge pull request #2 from kristoferssolo/gh-actions
Add GitHub actions
2024-01-09 19:30:25 +02:00
Kristofers Solo
e660844af2 chore: add badges to readme 2024-01-09 19:27:04 +02:00
Kristofers Solo
cbe2b7f6de fix: indentation 2024-01-09 19:23:35 +02:00
Kristofers Solo
f1e8994eb8 chore(gh-actions): add automated release
fix: indentations
2024-01-09 19:21:13 +02:00
Kristofers Solo
c79bdef3b3 refactor(gh-actions): compile and push pdf 2024-01-09 19:16:31 +02:00
Kristofers Solo
1b3f3500ff chore(gh-actions): add typst build
fix: add on pull_request
2024-01-09 18:21:48 +02:00
Kristofers Solo
24e4421b7e chore(gh-actions): add tests 2024-01-09 18:07:00 +02:00
Kristofers Solo
c3443b5385 chore(gh-actions): add linting
fix: typo

style: rename job
2024-01-09 17:55:02 +02:00
Kristofers Solo
12776ee181 revert 2024-01-08 18:46:23 +02:00
Kristofers Solo
e6a2b474e6 chore: remove unnecessary imports 2024-01-08 18:39:03 +02:00
Kristofers Solo
29cc83a2ac docs: update docstrings 2024-01-08 18:15:36 +02:00
Kristofers Solo
a0ff4a438d chore(game): remove unused import 2024-01-08 17:52:42 +02:00
Kristofers Solo
cbe01b3951 fix(game): duplicate tetromino on restart 2024-01-08 17:50:19 +02:00
Kristofers Solo
48d5e1d705 adjust game settings 2024-01-08 17:13:41 +02:00
Kristofers Solo
491886b134 update ruff options 2024-01-08 17:13:18 +02:00
Kristofers Solo
990c98f45e docs: add pdf document 2024-01-08 17:13:05 +02:00
Kristofers Solo
3b7f886f8a delete highscore file
fix highscore path
2024-01-07 21:44:21 +02:00
Kristofers Solo
1175558f52 docs: add readme 2024-01-07 20:43:37 +02:00
Kristofers Solo
c87eafe283 refactor(game): remove main.py 2024-01-07 20:19:17 +02:00
Kristofers Solo
d129ed845f feat(game): read/save highscore 2024-01-07 20:09:12 +02:00
Kristofers Solo
89fbf2e5ab style: cleaned up code 2024-01-07 19:56:11 +02:00
Kristofers Solo
fa31b192e7 feat: make installable 2024-01-07 19:46:06 +02:00
Kristofers Solo
eefa176228 fix mypy issues 2024-01-07 19:06:22 +02:00
Kristofers Solo
442feac0cb refactor: use 1 log file 2024-01-07 19:03:53 +02:00
Kristofers Solo
bdb785303d feat(game): add different colors 2024-01-07 18:34:34 +02:00
Kristofers Solo
4bd4ff00ad feat(game): add phantoms 2024-01-07 18:13:01 +02:00
Kristofers Solo
c58bf61603 feat(game): update music 2024-01-07 17:31:20 +02:00
Kristofers Solo
f85b72a150 refactor(game): use pygame.key.key_code() 2024-01-07 17:14:09 +02:00