Coder Social home page Coder Social logo

gamemaster's Introduction

Game Master

This is the code of Game Master project, aiming at helping gamers organize online or offline tournament.

The platform plays a middle role between the host and participants, providing a universial interface for hosting different kinds of games. The registration of users, arrangement of gaming schedules, and publishing game results are all integrated in our system.

This system is a web application, with Flask as its back-end platform. The technical detail is described below.

Travis Badge

Travis Badge

Dependency

  • Python2 with virtualenv
  • MongoDB 2.6.1 or latter

Installation

Make sure you have python2 and virtualenv in PATH, then run the following command:

cd manage
./quickinstall

Notice If you are using Mac, you may need to install libevent with you package manger. And if you are using macports, run following command instead:

cd manage
CLAGS="-I /opt/local/include -L /opt/local/lib" ./quickinstall

Configuration

Website configuration lies in common/gmconfig.py. You can specify your own configuration (such as database host and post other than given) in common/config.py, which will be ignored by git.

Run

Hooray! To start the website:

./start.py

Modules

The website is decoupled into several modules:

  • api: RESTful apis
  • common: configurations
  • manage: scripts that helps better manage the development
  • model: mongoengine Document definitions
  • tests: unit test
  • routes: routes of the website
  • gm: application entrance

Test

If you are not familiar with python unittest, please read through http://docs.python.org/2/library/unittest.html to understand basic concepts and practices.

To test:

./tests/run_tests.py

gamemaster's People

Contributors

matt-zhang avatar rip-tyang avatar velicue avatar

Watchers

 avatar

Forkers

velicue

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.