Truco Paulista 1v1 - Unity ASP.NET Core

Description
Truco Paulista 1v1 is a complete card game template developed with Unity and an ASP.NET Core backend.
The project includes a fully playable Solo mode against a CPU and an online 1v1 Multiplayer mode using SignalR.
The multiplayer architecture uses an authoritative ASP.NET Core server. Important game actions such as card distribution, turns, Truco requests, scoring, match results and player statistics are validated and controlled by the backend.
The project also includes user registration, login, JWT authentication, player profiles, matchmaking, PostgreSQL persistence, surrender support and a multiplayer reconnect system.
Both Solo and Multiplayer use the same GamePlay scene, making the project easier to understand, customize and expand.
The full Unity project and ASP.NET Core source code are included.
The package is configured for local development and testing. Production server hosting, VPS, domain and SSL configuration are not included.
Features
- Complete Truco Paulista card game - Unity full source code - ASP.NET Core backend full source code - Solo mode against CPU - Online 1v1 Multiplayer - Automatic matchmaking - SignalR real-time communication - Authoritative multiplayer server - PostgreSQL database - JWT authentication - User registration and login - Refresh token system - Player profile - Wins, losses and matches played statistics - 40-card Truco deck - Vira and Manilha system - Truco stake progression: 1, 3, 6, 9 and 12 - Eleven Hand system - Turn timers - Truco decision timers - Match surrender system - 80-second disconnect grace period - Automatic SignalR reconnection - Match resume after temporary disconnection - Victory and defeat system - Server-side multiplayer statistics - Shared GamePlay scene for Solo and Multiplayer - Technical PDF documentation included - Organized C# code
Requirements
- Unity Editor - .NET 10 SDK - PostgreSQL - NuGetForUnity - Microsoft.AspNetCore.SignalR.Client - Basic knowledge of Unity and C# - Basic knowledge of ASP.NET Core is recommended - PostgreSQL must be installed and configured for local backend testing
Instructions
1. Extract the downloaded ZIP file.
2. Open the ASP.NET Core backend project.
3. Install and configure PostgreSQL.
4. Configure the PostgreSQL connection string in the backend appsettings file.
5. Configure your JWT secret key.
6. Apply the Entity Framework database migrations.
Example: dotnet ef database update
7. Start the ASP.NET Core API.
Example: dotnet run
8. The default local API address used by the Unity project is:
http://localhost:5000
9. Open the included Unity project.
10. Make sure the API URL used by the Unity authentication and profile systems is:
http://localhost:5000
11. Make sure the SignalR Hub URL is:
http://localhost:5000/gamehub
12. Start the project from LoginScene.
13. Create an account or login with an existing account.
14. Select Solo to play against the CPU.
15. For Multiplayer testing, run two clients using different accounts. For example, use the Unity Editor for one player and a Windows build for the second player.
16. Click Multiplayer on both clients. The matchmaking system will automatically create a 1v1 match.
Please read the included PDF documentation for additional information about Unity, ASP.NET Core, PostgreSQL, gameplay systems, multiplayer architecture and testing.
The project is configured for local development. Production deployment, VPS, domain, SSL certificate and server infrastructure must be configured separately.
| Author | thiagocorreia |
|---|---|
| Category | App Templates / Unity / Templates / Card |
| Price | $75 |
| Extended License | $225 |
| First Release | Aug 27, 2026 |
| Last Update | Aug 27, 2026 |
| Files included | .cs, .csproj |
| Operating systems | Windows 10, Unity 2019 |
Categories
Tags
External listing. code.market does not sell this product and does not process payment for it. Pricing, payment, delivery, licensing, refunds, and support are handled by the third-party merchant on its own website. We may earn an affiliate commission from a referral. Details.
Products of the Week.
Submit馃
Perceptle
Perceptle is a daily browser-based game that challenges you to test your sensory intuition through five quick estimation and rhythm-based rounds.
Other 路 1,489 views 路 9 clicksOther 路 Week 47 路 1,489 views 路 9 clicks
馃
Free LinkedIn Likes From Real
Get free LinkedIn likes on your posts from real members who react by hand. No
SaaS 路 1,632 views 路 10 clicksSaaS 路 Week 47 路 1,632 views 路 10 clicks
馃
STOP GUESSING WHAT TO POST
AI that learns your brand voice and builds a month of consistent, on-brand social content: carousels, posts and hooks that sound like you, not like everyone else's AI.
SaaS 路 9,176 views 路 75 clicksSaaS 路 Week 47 路 9,176 views 路 75 clicks
#4
aaas.market
407 reliable micro tools for solo founders, marketers and creators. They work in your browser
SaaS 路 1,597 views 路 5 clicksSaaS 路 Week 47 路 1,597 views 路 5 clicks