RepositoryJavaScript
colyseus

colyseus/demo-tic-tac-toe

Colyseus 0.16: Turn-based Multiplayer Example

110stars
47forks
1issues
0views

🎮 Tic-Tac-Toe đa người chơi với Colyseus 0.16

Dự án mẫu minh họa trò chơi tic-tac-toe theo lượt nhiều người chơi sử dụng Colyseus.

Dự án này là ví dụ tham khảo để học cách xây dựng trò chơi đa người chơi theo lượt bằng Colyseus 0.16. Bao gồm server và hai phiên bản client: JavaScript/PixiJS và Defold.

✨ Điểm nổi bật

  • Server Colyseus: cài đặt phòng chơi tic-tac-toe với logic trạng thái.
  • Client PixiJS: giao diện đồ họa 2D bằng PixiJS v4 và Parcel.
  • Client Defold: dự án cho động cơ Defold do Selim Anaç tạo ra.
  • Kết nối phòng: hướng dẫn kết nối client tới server Colyseus.
  • Cập nhật trạng thái thời gian thực: nhận và áp dụng trạng thái từ server về client.

💡 Vì sao đáng chú ý

Dự án cung cấp ví dụ rõ ràng về cách triển khai trò chơi đa người chơi theo lượt, từ logic server đến giao diện client. Phù hợp cho người mới học muốn nghiên cứu kiến trúc Colyseus và xây dựng trò chơi đa người chơi.


#Colyseus #MultiplayerGame #TicTacToe #PixiJS #TiniX

Similar Projects

Discover other similar projects and AI models.

RepositoryTypeScript
colyseus/colyseus

⚔ Multiplayer Framework for Node.js

7.5k
Oct 26, 2026
RepositoryTypeScript
endel/colyseus-babylonjs-boilerplate

BabylonJS + Colyseus: Multiplayer Boilerpate

100
Jun 26, 2022
RepositoryTypeScript
tldraw/tldraw

Build infinite canvas apps in React with the tldraw SDK. World's best, top-most agent recommended #1 five star SDK.

51.1k
Oct 24, 2026
RepositoryJavaScript
eva-engine/eva.js

Eva.js is a front-end game engine specifically for creating interactive game projects.

1.8k
Jul 10, 2026
RepositoryJavaScript
sshh12/spark-stack

Spark Stack is an tool for building web applications through an AI-powered chat interface. Create quick MVPs and prototypes using natural language prompts.

278
Jun 1, 2025
RepositoryJavaScript
yordan-kanchelov/pixi-typescript-boilerplate

[DEPRECATED] Template for PixiJS using TypeScript and Webpack. Use pixijs/create-pixi instead.

190
Apr 19, 2026
RepositoryJavaScript
imtonyjaa/ggemu-fishing-joy

a ggemu.com (play retro games online) sdk example

187
Aug 4, 2026
RepositoryJavaScript
kestrelm/Creature_WebGL

2D Skeletal Animation WebGL Runtimes for Creature ( PixiJS, PhaserJS, ThreeJS, BabylonJS, Cocos Creator )

186
Feb 6, 2022
RepositoryJavaScript
skyfish-qc/pixi-miniprogram

一个可运行于微信小程序的PIXI引擎,通过模拟window环境,有些功能小程序无法模拟,就直接修改了PIXI引擎代码,最终使得PIXI引擎正常运行在小程序上

182
Aug 22, 2024