Giter Club home page Giter Club logo

Modular Gaming is a open source persistent browser based game framework built upon Kohana 3.3 with modules such as ORM and KOstache.

Released under a BSD license, Modular Gaming can be used legally for any open source, commercial, or personal project.

Requirements

  • PHP 5.3.3+
  • MySQL
  • Composer (Dependency Manager)

Installation

Step 1: Download

Download Modular Gaming from Github and install composer dependencies.

    $ git clone https://github.com/modulargaming/modulargaming.git
    $ cd modulargaming

    $ curl -s https://getcomposer.org/installer | php
    $ php ./composer.phar install --dev

Alternatively you can also use composer create-project to download the project and the dependencies.

    $ composer create-project modulargaming/modulargaming modulargaming dev-master

If you cannot use Composer you can download a packaged copy of Modular Gaming from http://www.sourceforge.net/projects/modulargaming/files/

Step 2: File Permissions

$ chmod 0777 application/{cache,logs}
$ chmod 0777 assets
$ chmod 0777 media

Step 3: Run the installer

Open .htaccess and make the following changes:

  • Set the correct RewriteBase

Start the installer and follow the instructions by browsing to the Modular Gaming install with your web browser.

  • Once you have completed install, delete the install.php file.

Step 4: Admin

Register your admin account at /user/register. Promote your newly created account to admin by using the minion task:

$ php minion User:Promote --username=admin

You should now verify that you have admin access by accessing the administration panel at /admin/.

Step 5: Cron jobs

$ php ./minion Pet:Decrease
$ php ./minion Item:Restock

Step 6: Configuration of modulargaming

Open .htaccess and make the following changes:

  • Set the correct environment, either development or production.

Open application/bootstrap.php and make the following changes:

  • Set the default directory for your application if it does not automatically work

  • Set the default cookie salt

  • Set the default timezone for your application

Open application/config/auth.php and make the following changes:

  • Set the default hash key

Open application/config/email.php and make the following changes:

  • Set the default from address

Testing

We use BDD, with 2 different tools, phpspec and behat.

$ curl -s https://getcomposer.org/installer | php
$ ./composer.phar install --dev

Documentation

The userguide module included in all Modular Gaming releases also allows you to view the documentation locally. It is accessible from your site via /guide

Reporting bugs

If you've stumbled across a bug, please help us out by reporting the bug you have found. Simply log in or register and submit a new issue, leaving as much information about the bug as possible, e.g.

  • Steps to reproduce
  • Expected result
  • Actual result

This will help us to fix the bug as quickly as possible, and if you'd like to fix it yourself feel free to fork us on GitHub and submit a pull request!

Contributing

Contributions are encouraged and welcome; however, please review the Developer Certificate of Origin in the LICENSE.md file included in the repository. All commits must be signed off using the -s switch.

Modular Gaming's Projects

acl icon acl

ACL module for vendo e-commerce framework

admin icon admin

Modular Gaming Admin Module.

bootstrap icon bootstrap

Sleek, intuitive, and powerful front-end framework for faster and easier web development.

core icon core

Modular Gaming Core Module.

email icon email

Email module for Kohana 3.x

forum icon forum

Modular Gaming Forum Module.

game icon game

Modular Gaming Game Module.

installer icon installer

Composer installer for the modulargaming project

item icon item

Modular Gaming Item Module.

kittokittokitto icon kittokittokitto

Basic virtual pet game (in the vein of neopets.com) built using the MVC pattern.

kohana-3.0 icon kohana-3.0

Browser based web game framework - PBBG - unsupported version based on Kohana 3.0

kostache icon kostache

Logic-less View/Mustache Module for Kohana v3

modulargaming icon modulargaming

Browser based web game framework - PBBG - supported version based on Kohana 3.3

paginate icon paginate

Paginate abstraction supporting Database, ORM, ORM-REST and Dispatch.

pet icon pet

Modular Gaming Pet Module.

php-cs-fixer icon php-cs-fixer

Analyzes some PHP source code and tries to fix coding standards issues (PSR-1 and PSR-2 compatible)

purifier icon purifier

A HTMLPurifier module for the Kohana Framework

search icon search

Search module for Modular Gaming.

user icon user

Modular Gaming User Module.

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.