Add run instructions and requirements

This commit is contained in:
2024-04-20 12:58:20 +02:00
parent f65719251c
commit aaf72e7806
3 changed files with 11 additions and 1 deletions

View File

@@ -1,2 +1,11 @@
# GDMC-2024 # GDMC-2024
A procedural city generator for Minecraft as part of the GDMC 2024 competition. A procedural city generator for Minecraft as part of the GDMC 2024 competition.
# Run
Install required packages using `pip`:
```python
pip install -r requirements.txt
```
Run `main.py`.

View File

@@ -6,7 +6,7 @@ editor = Editor(buffering=True)
block = editor.getBlock((0,48,0)) block = editor.getBlock((0,48,0))
# Place a block # Place a block
editor.placeBlock((448, 92, 515), Block("stone")) editor.placeBlock((394, 132, 741), Block("stone"))
# Build a cube # Build a cube
geometry.placeCuboid(editor, (458, 92, 488), (468, 99, 471), Block("oak_planks")) geometry.placeCuboid(editor, (458, 92, 488), (468, 99, 471), Block("oak_planks"))

1
requirements.txt Normal file
View File

@@ -0,0 +1 @@
gdpc==7.1.0