goto WORK;
About
This is the start screen for a game that involves cars traversing procedurally generated mazes. The music is procedurally generated with synth tones based off of sfxr.
The following is an excerpt of the code:
Main.cpp
#include <MazeStuff.h> void printCredits() { printf("Coded by Shawn Laptiste!!!\n"); printf("Art assets by Khalkeus\n"); } void main() { goto WORK; WORK: do { traverseMaze(); } while (!finishedTraversingMaze()); printCredits(); }MazeStuff.h
#include <stdio.h> extern int traverseMaze(); extern int finishedTraversingMaze();