- Official Dev Site
- Live Demo
- Old repo
- See also: Dragon Scourge
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!
- Found a bug? Have a suggestion, or a question? Open an Issue!
- Fixed a bug? Implemented a cool idea? Open a Pull Request!
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).
- Clone this repo or download the zip.
- Create a new database for Dragon Knight to use, if you don't already have one set up.
- Edit
config.php
to include the correct values for your database setup. - Upload the contents of the Dragon Knight folder to your site.
- In your browser, run
install.php
and follow the instructions. - After completing installation, delete
install.php
from your Dragon Knight directory for security. - Enjoy the game.
This project uses the MIT license, meaning you can do anything you'd like with it! See the
license
file for the full license.