From 9dbde8b96e07fb24cb3957308b7f7337867ae301 Mon Sep 17 00:00:00 2001 From: Robby Zambito Date: Tue, 31 Aug 2021 20:40:46 -0400 Subject: Add GPLv3 and add copyright notice to each file. --- src/game_loop.c | 18 ++++++++++++++++++ src/initialize_board.c | 18 ++++++++++++++++++ src/print_board.c | 18 ++++++++++++++++++ src/valid_moves.c | 18 ++++++++++++++++++ 4 files changed, 72 insertions(+) (limited to 'src') diff --git a/src/game_loop.c b/src/game_loop.c index 5827b09..409e384 100644 --- a/src/game_loop.c +++ b/src/game_loop.c @@ -1,3 +1,21 @@ +/* This file is a part of othello-ai-guile-c + * + * Copyright (C) 2021 Robby Zambito + * + * othello-ai-guile-c is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * othello-ai-guile-c is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + #define _GNU_SOURCE #include diff --git a/src/initialize_board.c b/src/initialize_board.c index cfa92c1..8ebcbee 100644 --- a/src/initialize_board.c +++ b/src/initialize_board.c @@ -1,3 +1,21 @@ +/* This file is a part of othello-ai-guile-c + * + * Copyright (C) 2021 Robby Zambito + * + * othello-ai-guile-c is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * othello-ai-guile-c is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + #include "othello.h" void initialize_board(enum player_color board[8][8]) { diff --git a/src/print_board.c b/src/print_board.c index 9608fe4..7da7f1c 100644 --- a/src/print_board.c +++ b/src/print_board.c @@ -1,3 +1,21 @@ +/* This file is a part of othello-ai-guile-c + * + * Copyright (C) 2021 Robby Zambito + * + * othello-ai-guile-c is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * othello-ai-guile-c is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + #include #include "othello.h" diff --git a/src/valid_moves.c b/src/valid_moves.c index 7dccd7f..7f7658c 100644 --- a/src/valid_moves.c +++ b/src/valid_moves.c @@ -1,3 +1,21 @@ +/* This file is a part of othello-ai-guile-c + * + * Copyright (C) 2021 Robby Zambito + * + * othello-ai-guile-c is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * othello-ai-guile-c is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + #include #include "othello.h" -- cgit v1.2.3