]> git.seodisparate.com - EN605.607.81.SP22_ASDM_Project/commitdiff
Add GPL3 Licence headers to sources
authorStephen Seo <seo.disparate@gmail.com>
Wed, 6 Apr 2022 11:49:54 +0000 (20:49 +0900)
committerStephen Seo <seo.disparate@gmail.com>
Wed, 6 Apr 2022 11:49:54 +0000 (20:49 +0900)
12 files changed:
back_end/src/db_handler.rs
back_end/src/json_handlers.rs
back_end/src/main.rs
back_end/src/random_helper.rs
front_end/src/ai.rs
front_end/src/constants.rs
front_end/src/game_logic.rs
front_end/src/html_helper.rs
front_end/src/main.rs
front_end/src/random_helper.rs
front_end/src/state.rs
front_end/src/yew_components.rs

index f174c3174b3e982a7a3d0ca2b22dfc9c6afca6a0..5e18ea4d02a340924c669ba211f206e975efda38 100644 (file)
@@ -1,3 +1,11 @@
+//Four Line Dropper Backend - A server enabling networked multiplayer for Four Line Dropper
+//Copyright (C) 2022 Stephen Seo
+//
+//This program 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.
+//
+//This program 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/>.
 use crate::ai::{get_ai_choice, AIDifficulty};
 use crate::constants::{
     COLS, GAME_CLEANUP_TIMEOUT, PLAYER_CLEANUP_TIMEOUT, PLAYER_COUNT_LIMIT, ROWS, TURN_SECONDS,
index 5c5602748c8043109b479b911069170e2fad5fad..8984f265549a1e9c45f9b9960a4692deaae866af 100644 (file)
@@ -1,3 +1,11 @@
+//Four Line Dropper Backend - A server enabling networked multiplayer for Four Line Dropper
+//Copyright (C) 2022 Stephen Seo
+//
+//This program 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.
+//
+//This program 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/>.
 use crate::db_handler::{CheckPairingType, DBHandlerRequest, GetIDSenderType};
 
 use std::{
index b078ae5e14b026bb25b34380218cd6f118e6651a..e34b272c26d30fc9a9ad1141a8ed7bea64c168e7 100644 (file)
@@ -1,3 +1,11 @@
+//Four Line Dropper Backend - A server enabling networked multiplayer for Four Line Dropper
+//Copyright (C) 2022 Stephen Seo
+//
+//This program 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.
+//
+//This program 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/>.
 mod ai;
 mod constants;
 mod db_handler;
index 208589ec39f269bcabb6ac6650f5aed338c2d0ca..96d2d28d8e96643894a08f11e00876b5359c9564 100644 (file)
@@ -1,3 +1,11 @@
+//Four Line Dropper Backend - A server enabling networked multiplayer for Four Line Dropper
+//Copyright (C) 2022 Stephen Seo
+//
+//This program 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.
+//
+//This program 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/>.
 use oorandom::Rand32;
 use rand::prelude::*;
 
index 6b78424509e54b0441153af355da9ab0dccbed09..3554084d2757c0fb2dbf5c811b7ecdcef2bea1a9 100644 (file)
@@ -1,3 +1,11 @@
+//Four Line Dropper Frontend/Backend - A webapp that allows one to play a game of Four Line Dropper
+//Copyright (C) 2022 Stephen Seo
+//
+//This program 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.
+//
+//This program 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/>.
 use std::collections::BTreeMap;
 
 use crate::constants::{AI_EASY_MAX_CHOICES, AI_NORMAL_MAX_CHOICES, COLS, ROWS};
index dcac6ea8ce50f8809cc647c710765b620e4014c3..e4eceb7c1fe16858634e3b8e85f5f3ac826a4718 100644 (file)
@@ -1,3 +1,11 @@
+//Four Line Dropper Frontend/Backend - A webapp that allows one to play a game of Four Line Dropper
+//Copyright (C) 2022 Stephen Seo
+//
+//This program 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.
+//
+//This program 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/>.
 pub const ROWS: u8 = 8;
 pub const COLS: u8 = 7;
 
index ef22724b5c72bb51db619d02c37a38e01ecac3cf..9d007688c8c6287f51d0158fac76b07a45a4169c 100644 (file)
@@ -1,3 +1,11 @@
+//Four Line Dropper Frontend/Backend - A webapp that allows one to play a game of Four Line Dropper
+//Copyright (C) 2022 Stephen Seo
+//
+//This program 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.
+//
+//This program 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/>.
 use crate::constants::{COLS, ROWS};
 use crate::state::{BoardState, BoardType};
 
index 8da238e892fbd6fd8d234adf0cd4551e37e970ce..a727393e3b438e0afe3a2051115c7d3080f05e94 100644 (file)
@@ -1,3 +1,11 @@
+//Four Line Dropper Frontend - A webapp that allows one to play a game of Four Line Dropper
+//Copyright (C) 2022 Stephen Seo
+//
+//This program 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.
+//
+//This program 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/>.
 use js_sys::{Function, JsString, Promise};
 use std::collections::HashMap;
 use wasm_bindgen::{JsCast, JsValue};
index a200b4e8eacd8c84737c22d34cc6324d376c2613..32a8202e9f64315d9a6679b5d9658cf0e1eed69e 100644 (file)
@@ -1,3 +1,11 @@
+//Four Line Dropper Frontend - A webapp that allows one to play a game of Four Line Dropper
+//Copyright (C) 2022 Stephen Seo
+//
+//This program 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.
+//
+//This program 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/>.
 mod ai;
 mod constants;
 mod game_logic;
index 16456dbed55b0c70ac6b5abd5b9e162c056d9747..beeb69425aac46f8375c940a8c631bea0e78845c 100644 (file)
@@ -1,3 +1,11 @@
+//Four Line Dropper Frontend - A webapp that allows one to play a game of Four Line Dropper
+//Copyright (C) 2022 Stephen Seo
+//
+//This program 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.
+//
+//This program 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/>.
 use js_sys::Math::random;
 use oorandom::Rand32;
 
index abea9a8386ff65de7fe632bfe656ccf5592e5dd1..2fd5d6fb96e309232e230fe395ae3b007dcb7594 100644 (file)
@@ -1,3 +1,11 @@
+//Four Line Dropper Frontend/Backend - A webapp that allows one to play a game of Four Line Dropper
+//Copyright (C) 2022 Stephen Seo
+//
+//This program 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.
+//
+//This program 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/>.
 use crate::ai::AIDifficulty;
 use crate::constants::{COLS, ROWS};
 use crate::game_logic::{check_win_draw, WinType};
index 567ad175a8e4b24d2558857e172872e23d4cbe22..d587b1e41963f2ed0a582193dcf98e58e8f2be90 100644 (file)
@@ -1,3 +1,11 @@
+//Four Line Dropper Frontend - A webapp that allows one to play a game of Four Line Dropper
+//Copyright (C) 2022 Stephen Seo
+//
+//This program 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.
+//
+//This program 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/>.
 use crate::ai::{get_ai_choice, AIDifficulty};
 use crate::constants::{
     AI_CHOICE_DURATION_MILLIS, BACKEND_TICK_DURATION_MILLIS, BACKEND_URL, COLS,