Winball
A little pinball game made for MS-DOS
Install / Use
/learn @gusruben/WinballREADME
Winball is a little pinball game made for MS-DOS using Allegro. Winball was made for Retrospect.
Messy code alert! This was my first time using C, beware spaghetti code and bad practices!
Running
Unless you're planning on running the game on a 35-year-old computer, Winball can be run on any DOS emulator. During development, I used DOSBox Staging.
From Releases
- Download & extract the latest ZIP file from releases.
- Mount the folder in DOSBox (or an equivalent) using
mount C C:\path\to\folder - Start the game with
run.bat!
From Source
The easiest way to compile Winball with Allegro is likely DJGPP, a C/C++ development system for DOS PCs.
- Download DJGPP from https://www.delorie.com/djgpp/zip-picker.html - Check the box for 'Allegro' under toolkits. Select an HTTP mirror if you don't want to use FTP.
- Download the listed zip files, and extract them all into the same folder. Clone Winball next to it.
- Mount the parent folder in DOSBOX (or your DOS emulator of choice):
mount C C:\path\to\folder - Set the environment variables:
set PATH=C:\DJGPP\BIN;%PATH%(Note: this is the path from inside the DOS emulator, not from your main system)set DJGPP=C:\DJGPP\DJGPP.ENV
cdto the Winball folder, and compile it withgcc -o winball.exe main.c -lalleg- Run
winball.exe!
Demo
Video not working? Try watching it here.
https://github.com/user-attachments/assets/4fc3fa43-2a16-4f3e-a1d3-24e993795fd0
Related Skills
node-connect
343.1kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
90.0kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
343.1kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
343.1kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
