|
|
2 月之前 | |
|---|---|---|
| .. | ||
| .config | 2 月之前 | |
| .vscode | 2 月之前 | |
| Core | 2 月之前 | |
| Platforms | 2 月之前 | |
| README.md | 2 月之前 | |
| Tetris.sln | 2 月之前 | |
This is a cross-platform Tetris clone built with MonoGame 3.8.4 and .NET 8.0. It supports Windows, DesktopGL (cross-platform desktop), Android, and iOS. The game features classic Tetris gameplay, persistent high scores, and platform-specific launchers. All core game logic and assets are shared across platforms.
Tetris.Windows.csproj)Tetris.DesktopGL.csproj)Tetris.Android.csproj)Tetris.iOS.csproj)Build:
dotnet build Platforms/Windows/Tetris.Windows.csproj
Run:
dotnet run --project Platforms/Windows/Tetris.Windows.csproj
Build:
dotnet build Platforms/DesktopGL/Tetris.DesktopGL.csproj
Run:
dotnet run --project Platforms/DesktopGL/Tetris.DesktopGL.csproj
Build:
dotnet build Platforms/Android/Tetris.Android.csproj
Deploy/run using your preferred IDE or CLI tools (Visual Studio, Rider, etc.).
Build:
dotnet build Platforms/iOS/Tetris.iOS.csproj
Deploy/run using your preferred IDE or CLI tools (Visual Studio for Mac, Rider, etc.).
.vscode/tasks.json for building Windows and DesktopGL targets.Core/Content/Content.mgcb is referenced by all platform projects and builds platform-specific .xnb files automatically.Core/ and referenced by all platforms.