Skip to content

Dragon Knight is a text-based RPG written in old-school PHP! This fork is officially maintained by @surfgg

License

Notifications You must be signed in to change notification settings

surfgg/dragon-knight

 
 

Repository files navigation

Dragon Knight

Many years ago, @renderse7en made a cool little text-based RPG in PHP4. It was a fun side project, helped him learn to code, and a lot of people like it. Then, everything changed when he abandoned the source code to the wastes of the internet in 2007.

Fast forward 3 years and @splashsky finds that abandoned, decrepit code. He learns how to program in PHP from it. Another 10 years into the future, and now he's reviving that project so that other rookies can learn from the same fun project he did!

Server Requirements

  • PHP 7.0
  • A MySQL server; we recommend MariaDB
  • A web server; we use Nginx

You can host the game on your local computer if you'd like, but for maximum fun we recommend hosting your game on the web. Our official demo version runs on a $5 DigitalOcean server, and deployment is handled through Laravel Forge (but that isn't necessary).

Installation Instructions

  1. Clone this repo or download the zip.
  2. Create a new database for Dragon Knight to use, if you don't already have one set up.
  3. Edit config.php to include the correct values for your database setup.
  4. Upload the contents of the Dragon Knight folder to your site.
  5. In your browser, run install.php and follow the instructions.
  6. After completing installation, delete install.php from your Dragon Knight directory for security.
  7. Enjoy the game.

License

This project uses the MIT license, meaning you can do anything you'd like with it! See the license file for the full license.

About

Dragon Knight is a text-based RPG written in old-school PHP! This fork is officially maintained by @surfgg

Topics

Resources

License

Stars

Watchers

Forks

Languages

  • PHP 80.2%
  • HTML 19.8%