Back to rankings

delaford/game

JavaScriptplay.delaford.com

⚔️ An online JavaScript 2D Medieval RPG.

game-developmentmedievaljavascript-gamecanvasgamedungeon-crawlerrpgmmorpgbrowser-gamenethackmulti-user-dungeonmultiplayer-game
Star Growth
Stars
1.5k
Forks
954
Weekly Growth
Issues
14
5001k
Feb 2018Oct 2020Jun 2023Mar 2026
Artifactsnpmnpm install game
README

Discord

July 2022 update: beta demo available at https://beta.delaford.com/

Let me know your interest on the GitHub discussions thread!

Welcome to Delaford. An online, 2D medieval game using JavaScript and HTML5. Game screenshot

Getting Started

First, fork the repository. Then, go into your favorite terminal.

git clone git@github.com:YOUR_USERNAME/game.git
cd game
npm install
npm run serve

npm run serve will start the development server and watch for changes on the client-side code inside the src folder and otherwise elsewhere applicable.

Now, while still inside the game folder, open another terminal session in that same location. Type and run npm run dev:node. This will start the Node.js game server.

If you want to debug, type npm run ndb. ndb is Google Chrome's Node Debugging tool which allows Node.js programs to be easily debugged and see all its context and variables. Highly recommended for a much easier time.

Now you may visit http://localhost:8080 to login and start developing!

For a better time, make sure to join the Discord channel to talk to other developers for help and exclusive dicussions!

Please be aware of a possible scam in regards to Delaford that promises money for testing or similar action.

Contributing

Please check out our CONTRIBUTING.md guide on how you can actively participate in the development of this medieval game. It's pretty easy and fun!

Systems and Engines

Here are the types of things I will be adding as a minimum viable product (alpha). Not too over the top but enough to cover the basics until more is added. Each section links to a project which will contain its sub-tasks within.

What does a checkmark mean?

When an item is checkmarked, it means the basic foundation is in place but not necessarily complete. For example, Inventory is checkmarked but it currently only supports weapons. You can help fix that.

  • Player
    • Walking / pathfinding
    • Context-menu / Actions
    • Health and stats
    • Inventory
    • Character wear
    • Your first quest
  • User Interface
    • Inventory tab
    • Quests tab
    • Chatbox (for players and actions)
    • Character wear tab
    • Overall look & feel
  • NPC
    • Trading (Shops)
    • Dialog Interaction
    • Walking around
    • Banking
  • Monsters
    • Battle System
    • Looting
    • Spawning
  • Networking
    • Players see each other
    • Non-playable characters
    • Monsters
    • Player trading
    • Items
  • World
    • Respawn system
    • Player versus Player
    • Resource skills
      • Mining
      • Smithing (Almost finished)
      • Fishing
      • Cooking

Once all of these items are checked, Delaford will be stable without breaking changes. But for the time being, please jump in and help add some of these features -- if you'd like!

Debugging

Learning how to debug in this game is critical in order to interact with the Node.js server and to the client. Your primary source should be the ndb tool from Google. It is an improved debugging experience which drastically improved client-side debugging.

Read more at DEBUGGING.md.

Notice

Delaford contains work from multiple sources not organically made by contributions from Delaford directly.

Website Status

Website is not currently up. The number of users did not justify the monthly charge.

Possible Scam Notice

Delaford contributors nor anyone associated with Delaford will never contact you in regards testing or instructing you to download anything in regards to the development of the game for the reward of payment or digital currency such as cryptocurrency.

We have had verifiable reports of users pretending to be owners of Delaford promising money if they download a folder with the repository's contents inside. Please be aware.

Related repositories
godotengine/godot

Godot Engine – Multi-platform 2D and 3D game engine

C++MIT Licensegame-enginegodot
godotengine.org
114.5k26.1k
ocornut/imgui

Dear ImGui: Bloat-free Graphical User interface for C++ with minimal dependencies

C++MIT Licenseguigamedev
74.9k11.9k
bevyengine/bevy

A refreshingly simple data-driven game engine built in Rust

Rustcrates.ioApache License 2.0bevygamedev
bevy.org
47.3k4.7k
phaserjs/phaser

Phaser is a fun, free and fast 2D game framework for making HTML5 games for desktop and mobile web browsers, supporting Canvas and WebGL rendering.

JavaScriptnpmMIT Licensephaserphaserjs
phaser.io
40k7.1k
raysan5/raylib

A simple and easy-to-use library to enjoy videogames programming

Czlib Licenseraylibc
raylib.com
34k3.2k
emilk/egui

egui: an easy-to-use immediate mode GUI in Rust that runs on both web and native

Rustcrates.ioApache License 2.0guirust
egui.rs
29.8k2.1k
BabylonJS/Babylon.js

Babylon.js is a powerful, beautiful, simple, and open game and rendering engine packed into a friendly JavaScript framework.

TypeScriptnpmApache License 2.0webglwebgl2
babylonjs.com
25.8k3.7k
libgdx/libgdx

Desktop/Android/HTML5/iOS Java game development framework

JavaMavenApache License 2.0libgdxjava
libgdx.com
25.2k6.5k
4ian/GDevelop

🎮 Open-source, cross-platform 2D/3D/multiplayer game engine designed for everyone.

JavaScriptnpmOthergamejavascript
gdevelop.io
25k1.5k
leereilly/games

Archived — A list of games, add-ons, maps, etc. hosted on GitHub. Any genre. Any platform. Any engine.

game-enginehtml5-games
24.9k3.5k
clockworklabs/SpacetimeDB

Development at the speed of light

Rustcrates.ioOtherdatabasedataoriented
spacetimedb.com
24.8k1k
Donchitos/Claude-Code-Game-Studios

Turn Claude Code into a full game dev studio — 49 AI agents, 72 workflow skills, and a complete coordination system mirroring real studio hierarchy.

ShellMIT Licenseai-agentsai-assisted-development
23.3k3.3k