Open Monarchz3ro opened 3 months ago
If there's significant benefit of using dictionaries over OS, then yes. Stop thinking get coding. If no, let things be.
there is a huge benefit - the game suddenly becomes more portable over different OSes and doesn't need to consider things crashing because of permissions
Then let's
I think too that using dictionaries as a filestructure would be way better. I also think that every json files should be changed into yaml files. It'd be way better for us to modify the files.
I have a suggestion: maybe these yaml files could also by encrypted (in a simple way). I just think it could be cool. Like that, the player can't simply open these files and modify them. He'll need to go through the kernel code and find the encryption key.
Alright, I'll make a separate branch for a restructuring using dictionaries. Unfortunately I'm not amazing enough to think of a way to implement this right about immediately, but I'm going to try regardless.
I have some ideas on how I'd do it, if you ever need any help, just ask!
Sure! I'll try to spin up something myself then ask if I need help.
Good luck and have fun coding!
Now that I've made significant strides on the story and 'engine implementation' part of the game, it's time to discuss commands that will take a LOT of our time implementing.
The first one we'll want to go with is
grep
.grep
?awk
andsed
too? Maybesed
, butawk
is probably a bit too huge for what we have in mind, right?And lastly, a huge question I have been considering. Should we refactor our code so that it uses argparse? Should we refactor our ENTIRE codebase so that it no longer relies on
os
, but uses dictionaries to store the filestructures?