Commit Graph

179 Commits

Author SHA1 Message Date
Kristofers Solo
3ac36d8a58 Merge branch 'feature/algorithm' of github.com:kristoferssolo/Tetris into feature/algorithm 2024-01-16 20:21:27 +02:00
github-actions[bot]
c3358a7295 chore(build): auto-build pdf 2024-01-16 18:03:53 +00:00
Kristofers Solo
f8b18f60fe Merge branch 'main' of github.com:kristoferssolo/Tetris 2024-01-16 20:03:14 +02:00
Kristofers Solo
c0e998b882 chore: bump up the version 2024-01-16 20:02:50 +02:00
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
Kristofers Solo
757faf0f93 tests: add additional field 2024-01-14 19:53:55 +02:00
Kristofers Solo
ea97c0f384 chore(ai): remove logger 2024-01-14 19:47:34 +02:00
Kristofers Solo
5f1492d01e fix(tests) 2024-01-13 22:08:03 +02:00
Kristofers Solo
cf9e2b8c13 fix(tests): mypy and ruff errors 2024-01-13 22:08:03 +02:00
Kristofers Solo
e9f7b2d59d fix(ai): count_holes 2024-01-13 20:05:12 +02:00
Kristofers Solo
d458a56d27 fix(ai): get_bumpiness 2024-01-13 19:49:39 +02:00
Kristofers Solo
e84cacca1c feat(ai): add get_peaks
fix(ai): `aggregate_height`
2024-01-13 19:44:50 +02:00
Kristofers Solo
b2bea7d03a fix(ai): aggregate_height function 2024-01-11 18:59:51 +02:00
Kristofers Solo
18ec2ba562 tests(ai): add new field 2024-01-10 16:27:38 +02:00
Kristofers Solo
20f9b15001 feat(ai): add algorithm 2024-01-10 03:36:36 +02:00
Kristofers Solo
9c4b697722 refactor(ai): rename bumpiness -> get_bumpiness 2024-01-09 20:32:55 +02:00
Kristofers Solo
32d4e69d58 refactor(ai): rename holes -> count_holes 2024-01-09 20:32:55 +02:00
Kristofers Solo
5c0d07ba15 feat(ai): add complete_lines 2024-01-09 20:29:16 +02:00
Kristofers Solo
00da10e482 feat(ai): add holes 2024-01-09 20:28:53 +02:00
Kristofers Solo
9daa4f6509 feat(ai): add aggregate_height 2024-01-09 20:28:31 +02:00
Kristofers Solo
89884d7e2a feat(ai): add bumpiness 2024-01-09 20:27:56 +02:00
Kristofers Solo
76e306bd8a feat(ai): add heuristic templates 2024-01-09 20:27:17 +02:00
Kristofers Solo
e3da29f62b tests(ai): add heuristic tests 2024-01-09 20:22:32 +02:00
Kristofers Solo
e4720c779d tests(ai): set setUp for heuristics 2024-01-09 20:21:28 +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