diff --git a/.idea/.gitignore b/.idea/.gitignore new file mode 100644 index 0000000..26d3352 --- /dev/null +++ b/.idea/.gitignore @@ -0,0 +1,3 @@ +# Default ignored files +/shelf/ +/workspace.xml diff --git a/.idea/Prog3B.iml b/.idea/Prog3B.iml new file mode 100644 index 0000000..8b8c395 --- /dev/null +++ b/.idea/Prog3B.iml @@ -0,0 +1,12 @@ + + + + + + + + + + \ No newline at end of file diff --git a/.idea/inspectionProfiles/profiles_settings.xml b/.idea/inspectionProfiles/profiles_settings.xml new file mode 100644 index 0000000..105ce2d --- /dev/null +++ b/.idea/inspectionProfiles/profiles_settings.xml @@ -0,0 +1,6 @@ + + + + \ No newline at end of file diff --git a/.idea/misc.xml b/.idea/misc.xml new file mode 100644 index 0000000..a971a2c --- /dev/null +++ b/.idea/misc.xml @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/.idea/modules.xml b/.idea/modules.xml new file mode 100644 index 0000000..c02685d --- /dev/null +++ b/.idea/modules.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml new file mode 100644 index 0000000..94a25f7 --- /dev/null +++ b/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/Praktikumsaufgaben/Moon.py b/Hausaufgaben/Moon.py similarity index 96% rename from Praktikumsaufgaben/Moon.py rename to Hausaufgaben/Moon.py index 90cdee3..5d5bea9 100644 --- a/Praktikumsaufgaben/Moon.py +++ b/Hausaufgaben/Moon.py @@ -1,5 +1,5 @@ import pygame -from Praktikumsaufgaben.compute import matmul, rot_2D, transpose, rotate +from Praktikumsaufgaben.matrixmania.compute import matmul, rot_2D, transpose from game import Game EARTH_RADIUS = 30 diff --git a/Praktikumsaufgaben/__pycache__/game.cpython-311.pyc b/Praktikumsaufgaben/__pycache__/game.cpython-311.pyc new file mode 100644 index 0000000..dcb9916 Binary files /dev/null and b/Praktikumsaufgaben/__pycache__/game.cpython-311.pyc differ diff --git a/.gitignore b/Praktikumsaufgaben/matrixmania/.gitignore similarity index 52% rename from .gitignore rename to Praktikumsaufgaben/matrixmania/.gitignore index 7a60b85..de734a4 100644 --- a/.gitignore +++ b/Praktikumsaufgaben/matrixmania/.gitignore @@ -1,2 +1,3 @@ +.venv/ __pycache__/ -*.pyc +.env diff --git a/Praktikumsaufgaben/matrixmania/AGENTS.md b/Praktikumsaufgaben/matrixmania/AGENTS.md new file mode 100644 index 0000000..aa4bbd7 --- /dev/null +++ b/Praktikumsaufgaben/matrixmania/AGENTS.md @@ -0,0 +1,5 @@ +# Regeln für dieses Projekt + +- Code nach PEP 8, Zeilenlänge maximal 88 Zeichen. +- Jede Funktion und Methode hat einen Docstring und Type Hints. +- Vor jedem Commit: `ruff check` und `ruff format`. diff --git a/Praktikumsaufgaben/compute.py b/Praktikumsaufgaben/matrixmania/compute.py similarity index 100% rename from Praktikumsaufgaben/compute.py rename to Praktikumsaufgaben/matrixmania/compute.py diff --git a/Praktikumsaufgaben/matrixmania/pyproject.toml b/Praktikumsaufgaben/matrixmania/pyproject.toml new file mode 100644 index 0000000..46e3b47 --- /dev/null +++ b/Praktikumsaufgaben/matrixmania/pyproject.toml @@ -0,0 +1,3 @@ +[project] +name = "matrixmania" +version = "0.1.0" \ No newline at end of file diff --git a/__pycache__/Computer.cpython-311.pyc b/__pycache__/Computer.cpython-311.pyc new file mode 100644 index 0000000..eca688c Binary files /dev/null and b/__pycache__/Computer.cpython-311.pyc differ