Shardy · Template · Unity client · Report Bug
This is a simplest game server for Tic-Tac-Toe (T3) game made on Shardy. Popupal game in multiplayer implementation on TypeScript and Node.js.
Shardy is framework for online games and applications on Node.js. It provides the basic functionality for building microservices solutions: mobile, social, web, multiplayer games, realtime applications, chats, middleware services, etc.
- Start/stop search free games
- Matchmaking
- Send player's turn
- Send
leaveto opponent - Detect draw and game over
- Save current game score
It's really easy to run your own T3 backend for testing:
- Clone it
git clone [email protected]:mopsicus/shardy-tictactoe.git - Install Shardy and all dependencies:
npm install - Edit
.env.dev - Run debug mode
npm run debug
- Reconnect to game
- Save results to DB
- Foolproofing
Rightfiles structure and code organization
Important
This is a simplest game server for T3, don't expect full backend functionality, it's just a demo :)
See the template for example how to start develop your own backend or service and documentation for all API methods and examples.
To connect and play on this demo game server use sample from the Unity client repo. The Unity client allows you to create apps for Android, iOS, and WebGL for Shardy services.
You can support Shardy by using any of the ways below:
- Bitcoin (BTC): 1VccPXdHeiUofzEj4hPfvVbdnzoKkX8TJ
- USDT (TRC20): TMHacMp461jHH2SHJQn8VkzCPNEMrFno7m
- TON: UQDVp346KxR6XxFeYc3ksZ_jOuYjztg7b4lEs6ulEWYmJb0f
- Visa, Mastercard via Boosty
- MIR via CloudTips
Before you ask a question, it is best to search for existing issues that might help you. Anyway, you can ask any questions and send suggestions by email or Telegram.
Tic-Tac-Toe for Shardy is licensed under the MIT License. Use it for free and be happy. 🎉