mirror of
https://github.com/Soccera1/agg.git
synced 2025-09-20 05:37:48 +02:00
Initial commit
This commit is contained in:
commit
dc89c6b2bc
2 changed files with 15 additions and 0 deletions
BIN
src/agg
Executable file
BIN
src/agg
Executable file
Binary file not shown.
15
src/agg.c
Normal file
15
src/agg.c
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
// Made with GNU/Linux
|
||||||
|
#include <stdio.h>
|
||||||
|
#include <stdbool.h>
|
||||||
|
int main(void) {
|
||||||
|
printf ("Hello World!\nThis is a game written for AgnoxGD.\nWould you like to see a tutorial\nType 1 for no, or 0 for yes.\n");
|
||||||
|
int tempInput;
|
||||||
|
bool tutorial;
|
||||||
|
if (scanf ("%d", &tempInput) == 1) {
|
||||||
|
tutorial = tempInput; }
|
||||||
|
if (tutorial) {
|
||||||
|
printf ("OK! Lets continue.\n");
|
||||||
|
} else {
|
||||||
|
printf ("TODO\n"); }
|
||||||
|
return 0;
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue