Thanks to visit codestin.com
Credit goes to github.com

Skip to content

mopsicus/shardy-tictactoe

Repository files navigation

Static Badge Static Badge

Tic-Tac-Toe game on Shardy

Tic-Tac-Toe game on Shardy

Framework for online games and apps

Shardy · Template · Unity client · Report Bug

💬 Overview

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.

Read about Shardy 💪

✨ Features

  • Start/stop search free games
  • Matchmaking
  • Send player's turn
  • Send leave to opponent
  • Detect draw and game over
  • Save current game score

🚀 Quick start

It's really easy to run your own T3 backend for testing:

  1. Clone it
    git clone [email protected]:mopsicus/shardy-tictactoe.git
    
  2. Install Shardy and all dependencies:
    npm install
    
  3. Edit .env.dev
  4. Run debug mode
    npm run debug
    

Here's something you won't find in this repo

  • Reconnect to game
  • Save results to DB
  • Foolproofing
  • Right files 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.

Client for Tic-Tac-Toe

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.

🤝 Support

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

✉️ Contact

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.

🔑 License

Tic-Tac-Toe for Shardy is licensed under the MIT License. Use it for free and be happy. 🎉