mirror of
https://github.com/kristoferssolo/Tetris.git
synced 2025-12-31 13:42:40 +00:00
Compare commits
9 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b69cb4d9ff | ||
|
|
f7b0bc8da4 | ||
|
|
8298aef8b4 | ||
|
|
e9ee2e31fb | ||
|
|
3299732976 | ||
|
|
1631ff8894 | ||
|
|
ac2e568a26 | ||
|
|
714c145316 | ||
|
|
782bf70531 |
1
.gitignore
vendored
1
.gitignore
vendored
@ -162,3 +162,4 @@ debug
|
||||
.logs/
|
||||
checkpoints
|
||||
assets/highscore
|
||||
typst/*.pdf
|
||||
|
||||
@ -40,7 +40,7 @@ cd Tetris
|
||||
|
||||
3. Install the required dependencies:
|
||||
```bash
|
||||
pip install .
|
||||
pip install -e .
|
||||
```
|
||||
|
||||
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 (WIP[^WIP]).
|
||||
- `pause`: Defines the keys to pause the game. Currently a work in progress.
|
||||
- `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).
|
||||
- `hold`: Defines the keys to hold the tetromino (WIP[^WIP]).
|
||||
- `drop`: Defines the keys to instantly drop the tetromino.
|
||||
|
||||
### Volume Settings
|
||||
|
||||
@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
||||
|
||||
[project]
|
||||
name = "tetris"
|
||||
version = "0.1.2"
|
||||
version = "0.1.3"
|
||||
description = "Tetris game"
|
||||
authors = [{ name = "Kristofers Solo", email = "dev@kristofers.xyz" }]
|
||||
readme = "README.md"
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
[General]
|
||||
pause = ["escape", "F1"] # WIP
|
||||
pause = ["escape", "F1"]
|
||||
quit = ["q"]
|
||||
colorscheme = "tokyonight-night" # tokyonight-night / tokyonight-storm / tokyonight-day / tokyonight-moon
|
||||
|
||||
@ -20,7 +20,7 @@ ccw = [
|
||||
|
||||
[Action]
|
||||
hold = ["left shift", "right shift", "c", "keypad 0"] # WIP
|
||||
drop = ["space", "keypad 5"]
|
||||
drop = ["space", "keypad 8"]
|
||||
|
||||
[Volume.Music]
|
||||
enabled = true
|
||||
|
||||
BIN
typst/main.pdf
BIN
typst/main.pdf
Binary file not shown.
@ -99,7 +99,7 @@ cd Tetris
|
||||
|
||||
3. Instalējiet nepieciešamās atkarības:
|
||||
```bash
|
||||
pip install .
|
||||
pip install -e .
|
||||
```
|
||||
|
||||
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 (WIP #footnote[WIP (Work In Progress) -- nepabeigts darbs: darbs vai produkts, kas ir sākts, bet nav pabeigts vai gatavs.]<WIP>).
|
||||
/ `pause`: definē taustiņu(-s), lai apturētu spēli.
|
||||
/ `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 @WIP).
|
||||
/ `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>).
|
||||
/ `drop`: definē taustiņ(-s), lai nekavējoties nomestu tetromino.
|
||||
])
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user