Ein einfaches Snake-Spiel programmiert mit Python Pygame
Find a file
codex 704657e67a
All checks were successful
CI Smoke / host-smoke (push) Successful in 0s
CI Smoke / container-smoke (push) Successful in 1s
docs(agents): repoint remote State Hub URL to the in-cluster address
The remote row pointed at 127.0.0.1:18000, a reverse tunnel back to the
workstation. On railiance01 the State Hub runs in the cluster on that same
machine, so the request left the box and came back to reach a local service.

Refs CUST-WP-0067-T07

Assistant: claude-code
Assistant-Model: opus
Assistant-Process: 2583210@bnt-lap001
Assistant-Session: f2bff2d5-e9b2-4338-92ca-10282a927006
2026-08-25 00:21:37 +02:00
.claude/rules docs: workplan-first agent guidance prose (CUST-WP-0055 T04 batch 4) 2026-07-08 17:22:13 +02:00
.forgejo/workflows Add Forgejo CI smoke workflow (enablement template) 2026-07-08 14:18:47 +02:00
.custodian-brief.md chore(consistency): sync task status from DB [auto] 2026-07-08 15:49:04 +02:00
.gitignore Initial commit 2026-04-19 14:04:54 +00:00
.repo-classification.yaml Add repo classification for State Hub registration 2026-07-08 14:25:54 +02:00
AGENTS.md docs(agents): repoint remote State Hub URL to the in-cluster address 2026-08-25 00:21:37 +02:00
CLAUDE.md Regenerate agent instructions from state-hub templates (CUST-WP-0055 T01) 2026-07-08 14:50:33 +02:00
LICENSE Adopt Target Revenue Source License V1C1 (org-wide preliminary rollout) 2026-07-30 00:46:29 +02:00
README.md Add local run instructions to README 2026-07-08 14:41:55 +02:00
SCOPE.md docs: workplan-first agent guidance prose (CUST-WP-0055 T04 batch 4) 2026-07-08 17:22:13 +02:00
snake.py Manueller Upload erster Stand 2026-04-19 14:47:12 +00:00

python-snake

Ein einfaches Snake-Spiel programmiert mit Python Pygame

Lando, 19.4.2026

Voraussetzungen

  • Python 3.10+
  • Pygame
  • Ein grafisches Display (unter WSL: WSLg mit DISPLAY=:0)

Lokal starten

cd python-snake
python3 -m venv .venv
.venv/bin/pip install pygame
.venv/bin/python snake.py

Auf Systemen mit PEP 668 (z. B. Ubuntu) bitte die virtuelle Umgebung verwenden statt pip install global.

Steuerung

  1. Spielfenster fokussieren und Enter drücken, um zu starten.
  2. Pfeiltasten bewegen die Schlange.
  3. Rote Felder fressen erhöht den Zähler („Count“).
  4. Nach Game Over: Y für eine neue Runde, eine andere Taste zum Beenden.