Week 7
CodeProgress » Devlog
This week we were asked to make a pyramid out of code, it took much longer than expected and had some fun outcomes.
This is my first attempt, using a for loop I took the parameters given to the function to repeat the code until the initial value had reached zero, only problem is that the pyramid would start in the sky and ask for an unnecessary parameter.
While trying to fix the problem I inadvertently inverted the pyramid which wasn't asked for but funny enough to save, could be useful later.
And finally after a lot of trial and error I managed to get it working correctly, I also included a comparison to the original piece of code above.
Leave a comment
Log in with itch.io to leave a comment.