Compare commits

..

No commits in common. "main" and "v0.1.2" have entirely different histories.
main ... v0.1.2

6 changed files with 14 additions and 15 deletions

1
.gitignore vendored
View File

@ -162,4 +162,3 @@ debug
.logs/
checkpoints
assets/highscore
typst/*.pdf

View File

@ -40,7 +40,7 @@ cd Tetris
3. Install the required dependencies:
```bash
pip install -e .
pip install .
```
4. Run the game:
@ -54,7 +54,7 @@ python -m tetris
The `settings.toml` file is a configuration file for customizing various aspects of the game.
### General Settings
- `pause`: Defines the keys to pause the game. Currently a work in progress.
- `pause`: Defines the keys to pause the game. Currently a work in progress (WIP[^WIP]).
- `quit`: Defines the key(s) to quit the game.
- `colorscheme`: Specifies the color scheme for the game interface. Options include:
- `tokyonight-night`
@ -72,7 +72,7 @@ The `settings.toml` file is a configuration file for customizing various aspects
- `ccw (counter-clockwise)`: Defines the keys to rotate the tetromino in a counter-clockwise direction.
### Action Settings
- `hold`: Defines the keys to hold the tetromino (WIP[^WIP]).
- `hold`: Defines the keys to hold the tetromino (WIP).
- `drop`: Defines the keys to instantly drop the tetromino.
### Volume Settings

View File

@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
[project]
name = "tetris"
version = "0.1.3"
version = "0.1.2"
description = "Tetris game"
authors = [{ name = "Kristofers Solo", email = "dev@kristofers.xyz" }]
readme = "README.md"

View File

@ -1,5 +1,5 @@
[General]
pause = ["escape", "F1"]
pause = ["escape", "F1"] # WIP
quit = ["q"]
colorscheme = "tokyonight-night" # tokyonight-night / tokyonight-storm / tokyonight-day / tokyonight-moon
@ -11,16 +11,16 @@ down = ["down", "keypad 2"]
[Rotation]
cw = ["x", "up", "keypad 1", "keypad 5", "keypad 9"] # clockwise
ccw = [
"left ctrl",
"right ctrl",
"z",
"keypad 3",
"keypad 7",
"left ctrl",
"right ctrl",
"z",
"keypad 3",
"keypad 7",
] # counter-clockwise
[Action]
hold = ["left shift", "right shift", "c", "keypad 0"] # WIP
drop = ["space", "keypad 8"]
drop = ["space", "keypad 5"]
[Volume.Music]
enabled = true

Binary file not shown.

View File

@ -99,7 +99,7 @@ cd Tetris
3. Instalējiet nepieciešamās atkarības:
```bash
pip install -e .
pip install .
```
4. Palaidiet spēli:
@ -116,7 +116,7 @@ python -m tetris
=== Vispārīgi iestatījumi
#par(first-line-indent: 0cm, [
/ `pause`: definē taustiņu(-s), lai apturētu spēli.
/ `pause`: definē taustiņu(-s), lai apturētu spēli (WIP #footnote[WIP (Work In Progress) -- nepabeigts darbs: darbs vai produkts, kas ir sākts, bet nav pabeigts vai gatavs.]<WIP>).
/ `quit`: definē taustiņu(-s), lai izietu no spēles.
/ `colorscheme`: norāda spēles saskarnes krāsu shēmu. Iespējas ietver:
- `tokyonight-day`
@ -140,7 +140,7 @@ python -m tetris
=== Papildus darbību iestatījumi
#par(first-line-indent: 0cm, [
/ `hold`: definē taustiņu(-s), lai uzglabātu tetromino (WIP #footnote[WIP (Work In Progress) -- nepabeigts darbs: darbs vai produkts, kas ir sākts, bet nav pabeigts vai gatavs.]<WIP>).
/ `hold`: definē taustiņu(-s), lai uzglabātu tetromino (WIP @WIP).
/ `drop`: definē taustiņ(-s), lai nekavējoties nomestu tetromino.
])