Coder Social home page Coder Social logo

Land of the Rair

This is a monorepo. For a specific project setup/config, check those project subfolders (for example, the server needs a .env setup before it will run.).

Getting Started

You can either use Docker, or you can use your own installed Node / Mongo / Redis (or, of course, a hosted Mongo / Redis). If you're installing Node, it should be at least version 14.

Other Repos

  • Assets - home of bgm, macicons, sfx, and spritesheets (frontend content)
  • Content - home of droptables, items, maps, npc stats, npc scripts, quests, recipes, and spawners (backend content)

Docker

Just run docker-compose up and it will build, run, and start the client and server (as well as Mongo and Redis).

Your Installed Node

You will want to be using Node 16.12 (at least) to run this project.

Setup

  • npm install - set up the monorepo
  • npm run setup:full - setup both the client and server for development (See "Developing Content" for some advice on running the same instance of the Content folder for client and server).

Developing Code-related Content

Check this wiki page.

Developing Content

One option you have to run Land of the Rair and actively work on the content, is to clone the Content repo right alongside Land of the Rair (meaning you'll have folder/LandOfTheRair and folder/Content). If you have the Content repo available and run npm run setup, it will symlink the Content repo so you can develop it concurrently without having to commit, push, pull, and update. Or copying, or whatever.

The content will need to be rebuilt when it changes. You can either run npm run content:build to do it when needed, or npm run content:watch to watch for changes.

To commit content, you'll still need to go to that folder manually and commit, since it is a separate repository. The helpers above are added for convenience.

Setup Script

Running this sets up the environment entirely, with a symlinked content directory for editing / committing.

git clone https://github.com/LandOfTheRair/LandOfTheRair.git
git clone https://github.com/LandOfTheRair/Content.git
touch LandOfTheRair/.env
cd LandOfTheRair
npm install
npm run setup:full

You'll still need to edit your .env, and do other project-specific setup - see here for server setup. The client should work after running the above.

Running Both Projects

Run npm start and the client and server will both start up.

You can also do npm run start:server and npm run start:client to start the two separately.

Land of the Rair's Projects

assets icon assets

All assets (sfx, bgm, gfx, icon) for Land of the Rair.

content icon content

All content (monsters, items, droptables, etc) for Land of the Rair

desktop icon desktop

The desktop app for Land Of The Rair

dungeon icon dungeon

A configurable and editable dungeon generator using Binary-Space Partitioning and hand-made rooms.

global icon global

A leaderboard for Land of the Rair.

itemgen icon itemgen

An item generator for landoftherair to make keeping items in sync more easily.

landoftherair icon landoftherair

Land of the Rair is a full-blown MORPG styled like the MUDs of olde, featuring hours upon hours of gameplay.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.