This team consists of 3 people.
SnowballSH
12944qwerty
NotLuka
This project is a generator that generates a python file based on how blocks are placed in a GUI. We have 3 main files for this functionality.
Writer.py
- A file that writes to the python file. It has a bunch of functions that will write to the file based on the arguments given. The functions are the functions that was parsed fromcompiler.py
compiler.py
- A file that grabs the data fromblocks.json
and parses through it. It then passes the data to the functions inWriter.py
.gui.py
- A file that has the actual GUI. It uses pygame to create the blocks and allows you to drag the blocks. You can type in them as well. Based on the block's positions and how they're stacked, it passes the data intoblocks.json