diff --git a/JPNB/AI_P1_2.ipynb b/JPNB/AI_P1_2.ipynb index 6541c1a..5f3abfd 100644 --- a/JPNB/AI_P1_2.ipynb +++ b/JPNB/AI_P1_2.ipynb @@ -31,7 +31,7 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 1, "id": "55fa613b", "metadata": { "ExecuteTime": { @@ -39,7 +39,19 @@ "start_time": "2025-05-07T21:40:22.973705Z" } }, - "outputs": [], + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "Requirement already satisfied: pygame in /home/safak/Dokumente/KI/KI/.env/lib64/python3.13/site-packages (2.6.1)\n", + "\n", + "\u001b[1m[\u001b[0m\u001b[34;49mnotice\u001b[0m\u001b[1;39;49m]\u001b[0m\u001b[39;49m A new release of pip is available: \u001b[0m\u001b[31;49m24.2\u001b[0m\u001b[39;49m -> \u001b[0m\u001b[32;49m25.1.1\u001b[0m\n", + "\u001b[1m[\u001b[0m\u001b[34;49mnotice\u001b[0m\u001b[1;39;49m]\u001b[0m\u001b[39;49m To update, run: \u001b[0m\u001b[32;49mpip install --upgrade pip\u001b[0m\n", + "Note: you may need to restart the kernel to use updated packages.\n" + ] + } + ], "source": [ "%pip install pygame" ] @@ -67,7 +79,7 @@ "name": "stdout", "output_type": "stream", "text": [ - "pygame 2.6.1 (SDL 2.28.4, Python 3.13.3)\n", + "pygame 2.6.1 (SDL 2.28.4, Python 3.13.0)\n", "Hello from the pygame community. https://www.pygame.org/contribute.html\n" ] } @@ -414,7 +426,7 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 10, "id": "a8c78a46", "metadata": { "ExecuteTime": { @@ -446,7 +458,7 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 11, "id": "4c138642", "metadata": { "ExecuteTime": { @@ -454,7 +466,15 @@ "start_time": "2025-05-07T21:40:25.146989Z" } }, - "outputs": [], + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "Gefunden\n" + ] + } + ], "source": [ "while not done:\n", " for event in pygame.event.get():\n", @@ -514,7 +534,7 @@ "if len(path) == 0:\n", " print(\"No path between\")\n", "else:\n", - " path.print()\n", + " print(\"Gefunden\")\n", "\n", "pygame.quit()" ] @@ -536,7 +556,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.13.3" + "version": "3.13.0" } }, "nbformat": 4,