RPG
RPG copied to clipboard
Example of trivial RPG game core based on Nette Framework and Kdyby\Doctrine library. It is meant to be used for study purposes.
RPG example
This repository contains an example of trivial RPG game core based on Nette Framework and Kdyby\Doctrine libraries. It is meant to be used for study purposes.
See this post for motivation.
In order to get the application running please:
- Clone this repository into some empty directory
- Run
composer install
in that directory - Create an empty MySQL database and run
/_resources/schema.sql
and/_resources/data.sql
script on it - Copy
/config/config.local.sample.neon
to/config/config.local.neon
- Update database connection settings in
/config/config.local.neon
- Make sure that the web server can write into directories
/log
and/temp
And that's all. Now you can use "entry point" http://localhost/<pathToApplication>/www/
If you want to switch the application into a dev mode, please place empty file named dev
into /app/config
directory.
Requirements
Application requires PHP 5.5 or newer and MySQL 5 or newer. It is intended for running on Apache or Nginx server.
License
MIT
Copyright (c) 2015 Vojtěch Kohout (aka Tharos)