-
Notifications
You must be signed in to change notification settings - Fork 0
Program structure
Victor Dumbrava edited this page Jan 22, 2018
·
3 revisions
Each Triangularity program must be padded with dots such that the overall shape of the program is rectangular, but the dots themselves must be laid out in nice, right-angled and isosceles triangles. Basic rules:
- If you have N lines of code, each line must consist of 2N - 1 characters.
- The Kth line, counting from the bottom, must be padded with K - 1 dots on each side.
- Any character that is not a command is ignored. The obvious exceptions are newlines and dots.