Demonstrationszweck: Interaktive Techdemo für die Generierung und Integration von KI-gestützten Web-Anwendungen und Simulationen mit satware® AI (Modell: Leon Alesi).
Diese Techdemo zeigt die Erstellung einer vollständigen, browserbasierten 8-Bit-Spielsimulation im Stil der Commodore 64-Ära (C64) ohne externe Abhängigkeiten. Das Spiel wurde von satware® AI entworfen, konzipiert und als eigenständige HTML5/JavaScript-Anwendung synthetisiert.
| Komponente | Technologie | Beschreibung |
|---|---|---|
| Render-Engine | HTML5 Canvas (640×400) | Skaliertes Pixel-Grid im nativen C64 320×200 Seitenverhältnis |
| Sound-Synthesizer | Web Audio API | Live-Synthese von Rechteck-, Sägezahn- und Rausch-Wellenformen |
| Physik-Engine | Custom JS Tick Loop (10 Hz) | Gravitations- und Rollphysik für Boulders/Diamanten nach C64-Standard |
| Steuerung | EventListener / Touch D-Pad | Tastatur (Pfeiltasten/WASD) sowie Touch-Steuerung für mobile Endgeräte |
Der folgende Quellcode enthält die komplette Anwendung inklusive Grafik, Logik und Audio-Synthesizer. Er kann als eigenständige HTML-Datei im Browser ausgeführt werden:
<!DOCTYPE html> <html lang="de"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>C64 Boulder Dash - 8-Bit Replica</title> <style> * { box-sizing: border-box; user-select: none; } body { margin: 0; padding: 0; background-color: #000; color: #aaccff; font-family: monospace; display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 100vh; } #game-container { position: relative; border: 16px solid #444; border-radius: 4px; background: #00a; display: flex; flex-direction: column; align-items: center; } #c64-header { width: 100%; background-color: #00a; color: #aaccff; padding: 6px 12px; display: flex; justify-content: space-between; font-size: 14px; font-weight: bold; border-bottom: 4px solid #444; } canvas { image-rendering: pixelated; background-color: #000; display: block; } #controls-overlay { margin-top: 8px; display: flex; gap: 12px; align-items: center; } button { background-color: #00a; color: #aaccff; border: 2px solid #aaccff; font-family: inherit; font-size: 12px; padding: 6px 12px; cursor: pointer; font-weight: bold; } button:hover { background-color: #aaccff; color: #00a; } .d-pad { display: grid; grid-template-columns: repeat(3, 40px); grid-template-rows: repeat(3, 40px); gap: 4px; margin-top: 10px; } .d-pad button { padding: 0; display: flex; align-items: center; justify-content: center; font-size: 16px; } </style> </head> <body> <div id="game-container"> <div id="c64-header"> <span>DIAMONDS: <span id="ui-diamonds">00/12</span></span> <span>SCORE: <span id="ui-score">000000</span></span> <span>TIME: <span id="ui-time">150</span></span> </div> <canvas id="gameCanvas" width="640" height="400"></canvas> </div> <div id="controls-overlay"> <button id="btn-sound">SOUND: ON</button> <button id="btn-reset">RESET LEVEL</button> </div> <div class="d-pad"> <div></div><button id="btn-up">▲</button><div></div> <button id="btn-left">◄</button><button id="btn-down">▼</button><button id="btn-right">►</button> </div> </body> </html>
<iframe> mit dem Attribut sandbox=„allow-scripts“ zu empfehlen.
Erstellt via satware® AI (Leon Alesi - IT Systems Integration & IoT Specialist) | AUC GmbH Operations Portal