GithubHelp home page GithubHelp logo

demiosvayl / legend-of-the-green-dragon Goto Github PK

View Code? Open in Web Editor NEW

This project forked from stephenkise/legend-of-the-green-dragon

0.0 0.0 0.0 2.84 MB

:dragon: Legend of the Green Dragon, a BBS Door game!

License: Other

PHP 90.61% JavaScript 1.25% HTML 2.01% CSS 6.13%

legend-of-the-green-dragon's Introduction

Legend of the Green Dragon

Legend of the Green Dragon (LotGD) is a text-based RPG originally developed by Eric Stevens and JT Traub, directly based on Seth Able's Legend of the Red Dragon (LoRD). There are numerous versions of the game you can play, with the original core (before this fork) located [here] (http://lotgd.net). The LotGD source code was then passed on to the [DragonPrime Development Team] (http://dragonprime.net) where it was kept up to date until the latest release of 1.1.2. Since the core is outdated, I have taken it upon myself to update the core for future use.

Requirements

  • PHP 7.0
  • MariaDB 10.0 (Or similar MySQL database)
  • Composer

Installation

Before you install, it is best to have an understanding of what a linux server is, how to work with PHP and MySQL, as well as touch up on modern practices such as composer. For this example, we are using Ubuntu Trusty (14.04) and assuming you have all of the required programs installed. You must set up extensionless PHP rewrites for your NGINX or Apache server as well (examples will be included later).

# Install database, using your {user} and {password}.
mysql -u {user} -p{password} -e 'CREATE DATABASE LOTGD;'

# Clone LotGD
cd /var/www
git clone [email protected]:stephenKise/Legend-of-the-Green-Dragon.git

# Navigate to /installer in your browser.

Modules

This forked core, just like it's original source, supports modules. The reason they are not present here is because of the desire to decouple core modules from the core source. Modules should be hosted separate of the game, so that this repository doesn't override any functionality used on multiple servers. You can simply create a module directory yourself, or make a GitHub hosted repository!

cd /var/www/Legend-of-the-Green-Dragon
mkdir modules
# You can stop here and just upload your modules, or create a new repository:
cd modules
echo "# Modules" >> README.md
git init
git add README.md
git commit -m ":dragon: Initial commit for modules!"
# Be sure to replace {username} with your username.
git remote add origin [email protected]:{username}/lotgd-modules.git
git push -u origin master
# You can now push modules into the repository and add them into your sever with 'git pull'!

legend-of-the-green-dragon's People

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.