A downloadable game for Windows, macOS, Linux, and Android

Buy Now$25.50 USD or more

GunBound Clone HTML5 Source Code: Node.js Backend

This package contains the complete server-side source code for a feature-rich, scalable clone of the classic artillery game, GunBound/Dragonbound. This is a production-ready foundation for your next large-scale multiplayer project.

Technology Stack:

  • Primary Language: JavaScript / Node.js
  • Web Server: Express (web.js)
  • Real-Time Communication: WebSockets (ws module in game.js)
  • Database: Configured for MySQL/MariaDB (using dotenv for easy configuration).

Core Features Included:

  • 🎯 Complete Game Engine Logic (game.js, account.js): Physics, turn management, gravity, map interaction (map.GetUnder).
  • 🌐 Scalable Multiplayer System: Supports multiple server instances or "Worlds" (this.multiworld[1], this.multiworld[2]) designed for high concurrency.
  • 💰 Advanced Economy and Progression: Includes robust logic for GP, Gold, and Cash systems. Ranks and user statuses are updated in real-time.
  • 💥 Detailed Bonus & Penalty System (Bonus.js): Specific formulas for calculating bonuses for actions like Double Kills, Gool, Bunge Shots, and penalties for Team Kills.
  • 🛡️ Account Management: Secure account sessions (account_sessions), anti-flood protection, password decoding, and user creation.
  • ⚙️ Item & Mobile Database (data.js): Structured data for mobiles (avatars) including stats (stat_atk, stat_def, etc.), pricing, and item IDs.

Knowledge Required:

To deploy and customize this source code, you must have working knowledge of:

  1. Node.js and npm (for package management and server execution).
  2. JavaScript/ES6+.
  3. MySQL/MariaDB (Database management and configuration).
  4. WebSockets (For understanding the real-time game loop).

What You Get:

  • All core server files (game.js, web.js, account.js, Bonus.js, data.js, etc.).
  • Configuration examples (uses .env file).
  • The full foundation to build your own custom client.

Purchase

Buy Now$25.50 USD or more

In order to download this game you must purchase it at or above the minimum price of $25.50 USD. You will get access to the following files:

DragonboundClone Source Code.zip 685 MB

Comments

Log in with itch.io to leave a comment.

Hello is working ¿?

Yes, its working

(+1)

Good day, I purchased the files, but I don't know what's misconfigured; the server isn't running locally. Could you please send me a video on how to configure it locally?