diff options
author | June McEnroe <june@causal.agency> | 2018-12-25 16:05:11 -0500 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2018-12-25 16:05:11 -0500 |
commit | e40a2d2ec2cebb032fd1f5badb102445ab9384e6 (patch) | |
tree | f94fce9f75df38982a4a5637c3687db655f0a831 | |
parent | Add AGPLv3 text (diff) | |
download | play-e40a2d2ec2cebb032fd1f5badb102445ab9384e6.tar.gz play-e40a2d2ec2cebb032fd1f5badb102445ab9384e6.zip |
Add AGPL notice on exit
Diffstat (limited to '')
-rw-r--r-- | play.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/play.c b/play.c index b062a0f..707c6c7 100644 --- a/play.c +++ b/play.c @@ -148,6 +148,7 @@ static void draw(size_t new) { int main(void) { struct Score new = { .date = time(NULL) }; new.score = play2048(); + FILE *file = scoresOpen("2048.scores"); scoresRead(file); size_t index = scoresInsert(new); @@ -168,4 +169,9 @@ int main(void) { curs_set(0); getch(); endwin(); + + printf( + "This program is AGPLv3 Free Software!\n" + "Code is available from <https://code.causal.agency/june/play>.\n" + ); } |