Loops && Branches
A downloadable game
Loops && Branches is a game where you have to solve different types of puzzles by coding in a custom programming language.
Using loops and branches (as the name implies) you will have to create algorithms and think like a programmer to overcome the challenges.
Thanks to Zacchary Dempsey-Plante for the Pixellari font.
Level info for level 1 (somehow broken and needed for playing the game):
LEVEL 1 - TUTORIAL
Welcome to Loops && Branches, a game where you will have to code you way for solving puzzles.
First, the syntax of the language:
If branch:
IF <condition>
ELIF <condition>
ELSE
END
While loop
WHILE <condition>
END
Variable declaration:
VAR <name> (initializes to 0)
VAR <name> = <initial value>
Operations:
num + num
num - num
num * num
num / num
num % num (modulo)
num == num
num > num
num < num
The only type supported are integers, that with the limited options make everything a harder challenge.
External functions may be provided to call them:
<name>(<args>)
There is one that you will be able to use throughout the whole game 'LOG(number)' which lets you print a number to the output console.
The challenge for this level will be to write some code that logs the numbers 0 through 9.
| Status | Released |
| Author | Johny Mehlabo |
| Genre | Puzzle |

Leave a comment
Log in with itch.io to leave a comment.