跳到正文
GitHub·· 9 天前AI 评分20

benwaar/games:用 PyTorch 从零构建游戏 AI 与机器学习项目集

benwaar/games

AI 导读

GitHub 项目 benwaar/games 汇集了一批用 Python 和 PyTorch 从零实现的机器学习与游戏 AI 项目,涵盖强化学习、深度学习、音频分类、神经网络与模型蒸馏。

正文

Hands-on machine learning and game AI projects — reinforcement learning, deep learning, audio classification, neural networks, and model distillation. Built from scratch in Python with PyTorch.

Development Ethos

These projects are about:

  • understanding algorithms by building them
  • seeing how different approaches think
  • learning by stripping problems down to their nuts and bolts

Everything is text-based, inspectable, and hackable.


Projects

  • Utala: KAOS 9 — card game AI: TD learning, deep RL, distillation ✅
  • Signal Hunt — audio classifier: data pipelines, CNN, transfer learning, chords, CNN-RNN ✅
  • Incant — spec-driven code gen: local LLM + RAG → WAT/WASM + Z80 assembly 🔨
  • Acoustic Odyssey: cast — edge deployment: ONNX, quantisation, sub-100ms on-device inference
  • Acoustic Odyssey: echo — adaptive RL: personalises task difficulty to the user
  • Artefact: dig — binary art scanner: find hidden sprites in ROM using CV and autoencoders
  • Artefact: bloom — pixel art upscaler: super-resolution CNN and GAN
  • Artefact: dream — LoRA fine-tune a diffusion model on extracted sprites
  • Void Duel — ZX Spectrum shooter: classic ML, multi-agent RL, extreme-edge distillation

Utala: KAOS 9

A competitive 2-player tactical duel playable with any standard 52-card deck.

AI research studying skill expression, risk management, and learning algorithms — from random baselines through hand-built TD learning to deep reinforcement learning and model distillation.

Utala KAOS 9 Rules (PDF) · Project folder

Explore the Aerythen Universe

Utala: KAOS 9 contains artificial intelligence code for the card game in the Aerythen universe — a Command Line Punk world created by David Benoy.

The overarching project bridges art, music, AI and a developing series of companion novels and games.


Signal Hunt

A deep learning project — from raw audio to a trained classifier.

Turn raw audio (hums, whistles, claps) into clean Mel-spectrogram tensors, then train a hybrid CNN-RNN to classify them.

Project folder


License

Source code is licensed under the MIT License.

Aerythen, the associated artwork, the game names, rulebook text, and branding are © 2026 David Benoy. All rights reserved.

来源:GitHub · github.com