61 lines
No EOL
3 KiB
Markdown
61 lines
No EOL
3 KiB
Markdown
# Dragon Forks
|
|
|
|
A long time ago, when I was young and wanted to learn how to code, I discovered a small PHP game, [Dragon Knight](https://github.com/renderse7en/dragon-knight) by renderse7en. It was a little game inspired on a game I never played (*Dragon Warrior* for the NES), and it was a fun little text-based RPG game. It had a small community that created mods, variant of the game, etc. It wasn't open-source, but it helped a lot of us to learn.
|
|
|
|
He has since turned it to the open-source community under the MIT licence, and I decided to do a fork in order to try revive the engine ! It's a fun little side-project, so it might not evolve very fast, it'll depend of my motivation.
|
|
|
|
The aim of this fork is to :
|
|
|
|
- Make it work with PHP 8
|
|
- Make it more secure (modern database practice, better encryption of password, of cookies, etc)
|
|
- Use a more modern code structure
|
|
- Use more modern librairies to handle some functionnalities (templating for instance with twig)
|
|
- Implement the functionnalities of the most popular mods and of dragon-scourge
|
|
|
|
I'm inspired by other forks of dragon knight and scourge that tried the same things several years ago. I'm starting with knight, because it's a simpler engine to begin with and modernize.
|
|
|
|
## System Requirements
|
|
- PHP (8.1 and higher)
|
|
- MySQL
|
|
- zlib compression enabled on your server (optional)
|
|
|
|
## 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.
|
|
|
|
## Crédits
|
|
|
|
- Original Author : Jamin Blount
|
|
- A lot of code is inspired by Bludit by Diego Nagar
|
|
- Fork by Kazhnuz
|
|
|
|
## License
|
|
|
|
```
|
|
MIT License
|
|
|
|
Copyright (c) 2017 renderse7en
|
|
|
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
of this software and associated documentation files (the "Software"), to deal
|
|
in the Software without restriction, including without limitation the rights
|
|
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
copies of the Software, and to permit persons to whom the Software is
|
|
furnished to do so, subject to the following conditions:
|
|
|
|
The above copyright notice and this permission notice shall be included in all
|
|
copies or substantial portions of the Software.
|
|
|
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
SOFTWARE.
|
|
``` |