mirror of
https://github.com/Soccera1/agg.git
synced 2026-02-04 12:13:40 +01:00
Compare commits
2 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
826cda95f0 | ||
|
|
e756cede3a |
2 changed files with 5 additions and 0 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -1,3 +1,4 @@
|
||||||
src/agg
|
src/agg
|
||||||
bin
|
bin
|
||||||
obj
|
obj
|
||||||
|
AGENTS.md
|
||||||
|
|
|
||||||
|
|
@ -85,6 +85,10 @@ int main(void) {
|
||||||
int playtime;
|
int playtime;
|
||||||
printf ("\nHow long would you like to play for? Answer in seconds.\n");
|
printf ("\nHow long would you like to play for? Answer in seconds.\n");
|
||||||
scanf ("%d", &playtime);
|
scanf ("%d", &playtime);
|
||||||
|
if (playtime < 1) {
|
||||||
|
printf ("Error! You must select at least one second.\n");
|
||||||
|
exit(1);
|
||||||
|
}
|
||||||
|
|
||||||
int number_length;
|
int number_length;
|
||||||
printf ("Please enter maximum possible number\n");
|
printf ("Please enter maximum possible number\n");
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue