A Pong clone built with Godot 4.6 and C#. The project uses a feature-based structure with domain logic separated from Godot presentation nodes.
- Godot 4.6 with .NET support
- .NET SDK compatible with
net8.0
- Open Godot.
- Import or open this project folder.
- Press Play to run the configured main scene.
The main scene is configured in project.godot, so no manual scene selection is required for normal play.
If the Godot executable is available on your PATH:
godot --path .If it is not on your PATH, run the same command with the full path to your Godot executable:
/path/to/Godot_v4.6-stable_mono_linux.x86_64 --path .Build the C# project with:
dotnet build- Left paddle:
WandS - Right paddle:
Up ArrowandDown Arrow - Pause:
Esc
This repository includes VS Code tasks and launch settings for building and running the game. The launch configurations use the GODOT4_BIN environment variable for the Godot executable path.
Set it before opening VS Code or launching from a terminal:
export GODOT4_BIN=/path/to/Godot_v4.6-stable_mono_linux.x86_64Add that export to your shell profile if you want it to persist across terminal sessions.
The Godot Tools extension may also need to know where your Godot editor is installed. Configure godotTools.editorPath.godot4 in your VS Code user settings if the extension cannot find it automatically.
src/Main/- Main Godot scene and game entry point.src/Features/- Game features grouped by domain and presentation code.src/Core/- Shared constants, events, interfaces, and value objects.documentation/ARCHITECTURE.md- Architecture notes for the project layout and dependency flow.documentation/FEATURE_CATALOG.md- Feature inventory for gameplay, menus, options, scoring, and audio.