Purpose:
To enhance existing Lua "recipe" scripts for foldit puzzles.
So far I have:
- Added tons of comments and documentation to make it easier to learn foldit scripting and lua coding in general.
- Changed names of variables and functions to more easily understand their purpose.
- Increased code spacing to allow easier viewing (especially for those of us over 40 years old).
- Added debug functions with random return value generation for debugging locally (also as a learning aide).
Visit https://github.com/CottonPatch/foldit for latest scripts, readme and tips
Tips:
- Download and install ZeroBrane Studio to learn how to write and debug Lua scripts, including the Rebuild2020.Lua script.
- Although ZeroBrane Studio is an awesome Lua development environment, it does not have built-in version control abilities.
- Only attempt to debug scripts in Visual Studio 2019 (VS-2019) or Visual Studio Code (VS-Code) if you want to get frustrated.
- Although you can debug Lua scripts in VS-Code (with a free plug-in) it crashes often.
- You cannot debug lua scripts in VS-2019, but you can check in changes to GitHub directly from VS-2019 (that's what I am doing).
- See GithubTip.md for tips on using GitHub within VS-2019.
Learn more:
- Learn more about the original foldit lua script "Tvdl enhanced DRW 3.0.2" by "Timo van der Laan" here: https://foldit.fandom.com/wiki/EDRW
- See also "Tvdl enhanced DRW 3.1.1" with small fixes and improvements here: https://fold.it/portal/recipe/102840
- See also a different script approach, "Constructor v1.05" by "Grom" here: https://fold.it/portal/recipe/46192