Pong
A downloadable game for Windows
Pong (YesodScript Tech Demo)
This is a small, complete Pong game as a working showcase of YesodScript: a custom scripting language designed to drive game logic from plain text scripts on top of a very thin C# host layer.
What you can play
- 1 Player: face a simple AI opponent
- 2 Players: local head-to-head on one keyboard
- Serve, score, pause, and return to the menu
- Light "game juice": hit feedback, UI motion, and sound
Controls
Menu
- [1] 1 Player
- [2] 2 Players
- [Esc] Quit
In-game
- Player 1: W / S
- Player 2: Up / Down arrows
- [Space] Serve / Confirm
- [Esc] Pause
Pause
- [Esc] Resume
- [Enter] Quit to Menu
About YesodScript
YesodScript is a lightweight scripting language with its own VM for engine-agnostic projects in C#.
It is also usable as a NuGet package for .NET 8.0 and above (YesodScript.Engine)
This demo shows it handling real game concerns:
- game state and variables
- control flow (jumps, labels, calls)
- input branching
- frame timing and waits
- rendering hooks (sprites, text, tweens)
- audio triggers
Assets and scripts ship beside the executable, so the demo is both a game and a readable example of how the language is meant to be used. You can also fully mod the game without even touching the Github source code or rebuilding the executable.
Links
YesodScript source code and latest versions:
https://github.com/johnmichaeljimenez/YesodScript
Pong game source code:
https://github.com/johnmichaeljimenez/YesodScript/tree/main/YesodScript.Examples...
| Updated | 1 day ago |
| Published | 6 days ago |
| Status | Released |
| Platforms | Windows |
| Author | rateater93 |
| Made with | raylib |
| Tags | 2D, Arcade, Open Source, Retro |
| Average session | A few minutes |
| Languages | English |
| Inputs | Keyboard |
| Multiplayer | Local multiplayer |
| Player count | 1 - 2 |
| Links | GitHub |
Download
Click download now to get access to the following files:


Leave a comment
Log in with itch.io to leave a comment.