A real-time multiplayer card battle web game, somewhat similar to Hearthstone. Functions
- Real-time multiplayer battles (1v1)
Inventory system and battlefield display
Attack, Defense, and Recovery cards
Simple UI that also supports extended animations and images
- Open source, hosted on GitHub
Stack
-
Frontend: HTML, CSS, JavaScript, Socket.io
-
Backend: Node.js, Express, Socket.io
-
Real-time Communication: WebSocket via Socket.io
Installation and Running
- Clone the project:
``bash git clone https://github.com/FB-W/virux.io.git
- Install dependencies: cd virux.io
npm install
- Start the server:
node server/server.js
- Open the browser:
Changelog:
v0.1.0 (2025-12-06)
Project Initialization
Create a base game server using Express + Socket.io
Implement basic player connections and inventory system Basic front-end rendering: display HP and cards in hands
我就觉得做个小游戏挺好玩的,稀里糊涂也不知道写了些什么>.<