ライセンス

諏訪子 <suwako@076.moe>、2026-07-13 12:34
コミット 9f79923c277012dc7289e86a0efc9e14d0dbd4ad ・親 f0888a1 ・ファイルを見る

11個のファイル、+327 -4

変更 LICENSE.md
@@ -1,15 +1,26 @@
1-# 076 Free License
2-
31 Copyright (c) テクニカル諏訪子
42
53 Permission is hereby granted to any person obtaining a copy of the software
6-uuid-c (the "Software") to use, modify, merge, copy, publish, distribute,
4+Tetris (the "Software") to use, modify, merge, copy, publish, distribute,
75 sublicense, and/or sell copies of the Software, subject to the following conditions:
86
97 1. **Origin Attribution**:
108 - You must not misrepresent the origin of the Software; you must not claim
119 you created the original Software.
12- 2. **Notice Preservation**:
10+ - If the Software is used in a product, you must either:
11+ a. Provide clear attribution in the product's documentation, user interface,
12+ or other visible areas, **OR**
13+ b. Pay the original developers a fee they specify in writing.
14+ 2. **Usage Restriction**:
15+ - The Software, or any derivative works, dependencies, or libraries
16+ incorporating it, must not be used for censorship or to suppress freedom of
17+ speech, expression, or creativity. Prohibited uses include, but are not
18+ limited to:
19+ - Censorship of so-called "hate speech", visuals, non-mainstream opinions,
20+ ideas, or objective reality.
21+ - Tools or systems designed to restrict access to information or
22+ artistic works.
23+ 3. **Notice Preservation**:
1324 - This license and the above copyright notice must remain intact in all copies
1425 of the source code.
1526
変更 README.md
@@ -1,1 +1,7 @@
11 # テトリス
2+
3+## ビルド
4+```sh
5+$ cmake -B build -G "Visual Studio 17 2022" -A x64 -DCMAKE_BUILD_TYPE=Release
6+$ cmake --build build --config Release
7+```
@@ -1,3 +1,37 @@
1+/**
2+Copyright (c) テクニカル諏訪子
3+
4+Permission is hereby granted to any person obtaining a copy of the software
5+Tetris (the "Software") to use, modify, merge, copy, publish, distribute,
6+sublicense, and/or sell copies of the Software, subject to the following conditions:
7+
8+ 1. **Origin Attribution**:
9+ - You must not misrepresent the origin of the Software; you must not claim
10+ you created the original Software.
11+ - If the Software is used in a product, you must either:
12+ a. Provide clear attribution in the product's documentation, user interface,
13+ or other visible areas, **OR**
14+ b. Pay the original developers a fee they specify in writing.
15+ 2. **Usage Restriction**:
16+ - The Software, or any derivative works, dependencies, or libraries
17+ incorporating it, must not be used for censorship or to suppress freedom of
18+ speech, expression, or creativity. Prohibited uses include, but are not
19+ limited to:
20+ - Censorship of so-called "hate speech", visuals, non-mainstream opinions,
21+ ideas, or objective reality.
22+ - Tools or systems designed to restrict access to information or
23+ artistic works.
24+ 3. **Notice Preservation**:
25+ - This license and the above copyright notice must remain intact in all copies
26+ of the source code.
27+
28+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
29+INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
30+PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
31+HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
32+CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE
33+OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
34+*/
135 #pragma once
236
337 #include <util/types.hh>
@@ -1,3 +1,37 @@
1+/**
2+Copyright (c) テクニカル諏訪子
3+
4+Permission is hereby granted to any person obtaining a copy of the software
5+Tetris (the "Software") to use, modify, merge, copy, publish, distribute,
6+sublicense, and/or sell copies of the Software, subject to the following conditions:
7+
8+ 1. **Origin Attribution**:
9+ - You must not misrepresent the origin of the Software; you must not claim
10+ you created the original Software.
11+ - If the Software is used in a product, you must either:
12+ a. Provide clear attribution in the product's documentation, user interface,
13+ or other visible areas, **OR**
14+ b. Pay the original developers a fee they specify in writing.
15+ 2. **Usage Restriction**:
16+ - The Software, or any derivative works, dependencies, or libraries
17+ incorporating it, must not be used for censorship or to suppress freedom of
18+ speech, expression, or creativity. Prohibited uses include, but are not
19+ limited to:
20+ - Censorship of so-called "hate speech", visuals, non-mainstream opinions,
21+ ideas, or objective reality.
22+ - Tools or systems designed to restrict access to information or
23+ artistic works.
24+ 3. **Notice Preservation**:
25+ - This license and the above copyright notice must remain intact in all copies
26+ of the source code.
27+
28+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
29+INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
30+PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
31+HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
32+CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE
33+OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
34+*/
135 #pragma once
236
337 #include <raylib.h>
@@ -1,3 +1,37 @@
1+/**
2+Copyright (c) テクニカル諏訪子
3+
4+Permission is hereby granted to any person obtaining a copy of the software
5+Tetris (the "Software") to use, modify, merge, copy, publish, distribute,
6+sublicense, and/or sell copies of the Software, subject to the following conditions:
7+
8+ 1. **Origin Attribution**:
9+ - You must not misrepresent the origin of the Software; you must not claim
10+ you created the original Software.
11+ - If the Software is used in a product, you must either:
12+ a. Provide clear attribution in the product's documentation, user interface,
13+ or other visible areas, **OR**
14+ b. Pay the original developers a fee they specify in writing.
15+ 2. **Usage Restriction**:
16+ - The Software, or any derivative works, dependencies, or libraries
17+ incorporating it, must not be used for censorship or to suppress freedom of
18+ speech, expression, or creativity. Prohibited uses include, but are not
19+ limited to:
20+ - Censorship of so-called "hate speech", visuals, non-mainstream opinions,
21+ ideas, or objective reality.
22+ - Tools or systems designed to restrict access to information or
23+ artistic works.
24+ 3. **Notice Preservation**:
25+ - This license and the above copyright notice must remain intact in all copies
26+ of the source code.
27+
28+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
29+INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
30+PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
31+HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
32+CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE
33+OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
34+*/
135 #pragma once
236
337 #include <util/types.hh>
@@ -1,3 +1,37 @@
1+/**
2+Copyright (c) テクニカル諏訪子
3+
4+Permission is hereby granted to any person obtaining a copy of the software
5+Tetris (the "Software") to use, modify, merge, copy, publish, distribute,
6+sublicense, and/or sell copies of the Software, subject to the following conditions:
7+
8+ 1. **Origin Attribution**:
9+ - You must not misrepresent the origin of the Software; you must not claim
10+ you created the original Software.
11+ - If the Software is used in a product, you must either:
12+ a. Provide clear attribution in the product's documentation, user interface,
13+ or other visible areas, **OR**
14+ b. Pay the original developers a fee they specify in writing.
15+ 2. **Usage Restriction**:
16+ - The Software, or any derivative works, dependencies, or libraries
17+ incorporating it, must not be used for censorship or to suppress freedom of
18+ speech, expression, or creativity. Prohibited uses include, but are not
19+ limited to:
20+ - Censorship of so-called "hate speech", visuals, non-mainstream opinions,
21+ ideas, or objective reality.
22+ - Tools or systems designed to restrict access to information or
23+ artistic works.
24+ 3. **Notice Preservation**:
25+ - This license and the above copyright notice must remain intact in all copies
26+ of the source code.
27+
28+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
29+INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
30+PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
31+HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
32+CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE
33+OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
34+*/
135 #pragma once
236
337 namespace tetris {
変更 main.cc
@@ -1,3 +1,37 @@
1+/**
2+Copyright (c) テクニカル諏訪子
3+
4+Permission is hereby granted to any person obtaining a copy of the software
5+Tetris (the "Software") to use, modify, merge, copy, publish, distribute,
6+sublicense, and/or sell copies of the Software, subject to the following conditions:
7+
8+ 1. **Origin Attribution**:
9+ - You must not misrepresent the origin of the Software; you must not claim
10+ you created the original Software.
11+ - If the Software is used in a product, you must either:
12+ a. Provide clear attribution in the product's documentation, user interface,
13+ or other visible areas, **OR**
14+ b. Pay the original developers a fee they specify in writing.
15+ 2. **Usage Restriction**:
16+ - The Software, or any derivative works, dependencies, or libraries
17+ incorporating it, must not be used for censorship or to suppress freedom of
18+ speech, expression, or creativity. Prohibited uses include, but are not
19+ limited to:
20+ - Censorship of so-called "hate speech", visuals, non-mainstream opinions,
21+ ideas, or objective reality.
22+ - Tools or systems designed to restrict access to information or
23+ artistic works.
24+ 3. **Notice Preservation**:
25+ - This license and the above copyright notice must remain intact in all copies
26+ of the source code.
27+
28+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
29+INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
30+PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
31+HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
32+CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE
33+OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
34+*/
135 #include <tetris/tetris.hh>
236 #include <util/types.hh>
337 #include <tetris/sys/sndman.hh>
@@ -1,3 +1,37 @@
1+/**
2+Copyright (c) テクニカル諏訪子
3+
4+Permission is hereby granted to any person obtaining a copy of the software
5+Tetris (the "Software") to use, modify, merge, copy, publish, distribute,
6+sublicense, and/or sell copies of the Software, subject to the following conditions:
7+
8+ 1. **Origin Attribution**:
9+ - You must not misrepresent the origin of the Software; you must not claim
10+ you created the original Software.
11+ - If the Software is used in a product, you must either:
12+ a. Provide clear attribution in the product's documentation, user interface,
13+ or other visible areas, **OR**
14+ b. Pay the original developers a fee they specify in writing.
15+ 2. **Usage Restriction**:
16+ - The Software, or any derivative works, dependencies, or libraries
17+ incorporating it, must not be used for censorship or to suppress freedom of
18+ speech, expression, or creativity. Prohibited uses include, but are not
19+ limited to:
20+ - Censorship of so-called "hate speech", visuals, non-mainstream opinions,
21+ ideas, or objective reality.
22+ - Tools or systems designed to restrict access to information or
23+ artistic works.
24+ 3. **Notice Preservation**:
25+ - This license and the above copyright notice must remain intact in all copies
26+ of the source code.
27+
28+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
29+INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
30+PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
31+HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
32+CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE
33+OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
34+*/
135 #include <tetris/scene/gamemain.hh>
236 #include <tetris/sys/imgman.hh>
337 #include <tetris/sys/sndman.hh>
@@ -1,3 +1,37 @@
1+/**
2+Copyright (c) テクニカル諏訪子
3+
4+Permission is hereby granted to any person obtaining a copy of the software
5+Tetris (the "Software") to use, modify, merge, copy, publish, distribute,
6+sublicense, and/or sell copies of the Software, subject to the following conditions:
7+
8+ 1. **Origin Attribution**:
9+ - You must not misrepresent the origin of the Software; you must not claim
10+ you created the original Software.
11+ - If the Software is used in a product, you must either:
12+ a. Provide clear attribution in the product's documentation, user interface,
13+ or other visible areas, **OR**
14+ b. Pay the original developers a fee they specify in writing.
15+ 2. **Usage Restriction**:
16+ - The Software, or any derivative works, dependencies, or libraries
17+ incorporating it, must not be used for censorship or to suppress freedom of
18+ speech, expression, or creativity. Prohibited uses include, but are not
19+ limited to:
20+ - Censorship of so-called "hate speech", visuals, non-mainstream opinions,
21+ ideas, or objective reality.
22+ - Tools or systems designed to restrict access to information or
23+ artistic works.
24+ 3. **Notice Preservation**:
25+ - This license and the above copyright notice must remain intact in all copies
26+ of the source code.
27+
28+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
29+INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
30+PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
31+HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
32+CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE
33+OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
34+*/
135 #include <tetris/sys/imgman.hh>
236
337 namespace tetris::sys {
@@ -1,3 +1,37 @@
1+/**
2+Copyright (c) テクニカル諏訪子
3+
4+Permission is hereby granted to any person obtaining a copy of the software
5+Tetris (the "Software") to use, modify, merge, copy, publish, distribute,
6+sublicense, and/or sell copies of the Software, subject to the following conditions:
7+
8+ 1. **Origin Attribution**:
9+ - You must not misrepresent the origin of the Software; you must not claim
10+ you created the original Software.
11+ - If the Software is used in a product, you must either:
12+ a. Provide clear attribution in the product's documentation, user interface,
13+ or other visible areas, **OR**
14+ b. Pay the original developers a fee they specify in writing.
15+ 2. **Usage Restriction**:
16+ - The Software, or any derivative works, dependencies, or libraries
17+ incorporating it, must not be used for censorship or to suppress freedom of
18+ speech, expression, or creativity. Prohibited uses include, but are not
19+ limited to:
20+ - Censorship of so-called "hate speech", visuals, non-mainstream opinions,
21+ ideas, or objective reality.
22+ - Tools or systems designed to restrict access to information or
23+ artistic works.
24+ 3. **Notice Preservation**:
25+ - This license and the above copyright notice must remain intact in all copies
26+ of the source code.
27+
28+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
29+INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
30+PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
31+HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
32+CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE
33+OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
34+*/
135 #include <tetris/sys/sndman.hh>
236
337 namespace tetris::sys {
変更 src/tetris.cc
@@ -1,3 +1,37 @@
1+/**
2+Copyright (c) テクニカル諏訪子
3+
4+Permission is hereby granted to any person obtaining a copy of the software
5+Tetris (the "Software") to use, modify, merge, copy, publish, distribute,
6+sublicense, and/or sell copies of the Software, subject to the following conditions:
7+
8+ 1. **Origin Attribution**:
9+ - You must not misrepresent the origin of the Software; you must not claim
10+ you created the original Software.
11+ - If the Software is used in a product, you must either:
12+ a. Provide clear attribution in the product's documentation, user interface,
13+ or other visible areas, **OR**
14+ b. Pay the original developers a fee they specify in writing.
15+ 2. **Usage Restriction**:
16+ - The Software, or any derivative works, dependencies, or libraries
17+ incorporating it, must not be used for censorship or to suppress freedom of
18+ speech, expression, or creativity. Prohibited uses include, but are not
19+ limited to:
20+ - Censorship of so-called "hate speech", visuals, non-mainstream opinions,
21+ ideas, or objective reality.
22+ - Tools or systems designed to restrict access to information or
23+ artistic works.
24+ 3. **Notice Preservation**:
25+ - This license and the above copyright notice must remain intact in all copies
26+ of the source code.
27+
28+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
29+INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
30+PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
31+HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
32+CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE
33+OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
34+*/
135 #include <tetris/tetris.hh>
236 //#include <tetris/scene/title.hh>
337 #include <tetris/scene/gamemain.hh>