summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRobby Zambito <contact@robbyzambito.me>2021-08-31 20:40:46 -0400
committerRobby Zambito <contact@robbyzambito.me>2021-08-31 20:40:46 -0400
commit9dbde8b96e07fb24cb3957308b7f7337867ae301 (patch)
treea5cd8b5b69322ac4542ffcf48baa822d662091c3 /src
parent951f8d2161693138582fd0ac7c57bde812ad0102 (diff)
Add GPLv3 and add copyright notice to each file.
Diffstat (limited to 'src')
-rw-r--r--src/game_loop.c18
-rw-r--r--src/initialize_board.c18
-rw-r--r--src/print_board.c18
-rw-r--r--src/valid_moves.c18
4 files changed, 72 insertions, 0 deletions
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 <https://www.gnu.org/licenses/>.
+ */
+
#define _GNU_SOURCE
#include <errno.h>
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 <https://www.gnu.org/licenses/>.
+ */
+
#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 <https://www.gnu.org/licenses/>.
+ */
+
#include <stdio.h>
#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 <https://www.gnu.org/licenses/>.
+ */
+
#include <stdbool.h>
#include "othello.h"