diff --git a/LICENSE b/LICENSE index 622ead5457e5b44077533bf8d206be48177e657d..b55203d95f6dd81f9d090231ed4d4ace5b1705c6 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ BSD 3-Clause License -Copyright (c) 2021, be1g19 +Copyright (c) 2021, Bradley Eaton All rights reserved. Redistribution and use in source and binary forms, with or without diff --git a/Readme.md b/Readme.md index 533507d47d36844c6f9783ea85156d6ab5b3716c..09aa89a43f857ca3b297553ed9622eefd375fa9b 100644 --- a/Readme.md +++ b/Readme.md @@ -1,3 +1,9 @@ # Fortuna mines WIP. -Minesweeper for the LaFortuna. +Minesweeper for the LaFortuna. + +## License breakdown +- mines.c, mines.h - BSD 3-Clause +- lcd/\* - CC-BY +- rios - BSD 3-Clause +- ruota - (C) Peter Dannegger diff --git a/compile_commands.json b/compile_commands.json index 02f8d4eb769dd2a4bb7672c183bb5beb5c7d5cad..e1ce1715fe45d86b2d916b862f2576244381ff01 100644 --- a/compile_commands.json +++ b/compile_commands.json @@ -16,9 +16,9 @@ "-Winline", "-o", "_build/main.o", - "main.c" + "mines.c" ], "directory": "/home/bradley/src/c/fortuna-mines", - "file": "t01sk.c" + "file": "mines.c" } ] diff --git a/mines.c b/mines.c index c62700df758bf6ddcd1e36c18e55e0bc85b7d2b5..115e15fe60b7b6970ca4862603261859d1c90ef2 100644 --- a/mines.c +++ b/mines.c @@ -1,4 +1,37 @@ /* Loosly Based on COMP2215 Task 5---SKELETON */ +/* +BSD 3-Clause License + +Copyright (c) 2021, Bradley Eaton +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + +3. Neither the name of the copyright holder nor the names of its + contributors may be used to endorse or promote products derived from + this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, +OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ + + #include "mines.h" diff --git a/mines.h b/mines.h index 75bdaff3c057a6aa2bda2f0d4b0617e06fed2df1..5c34de28947bb4c74415179a9d2057c945772b3c 100644 --- a/mines.h +++ b/mines.h @@ -1,3 +1,35 @@ +/* +BSD 3-Clause License + +Copyright (c) 2021, Bradley Eaton +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + +3. Neither the name of the copyright holder nor the names of its + contributors may be used to endorse or promote products derived from + this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, +OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ + #include <stdio.h> #include <stdlib.h> #include <avr/io.h>