GithubHelp home page GithubHelp logo

paris-ci / werewolves Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 46 KB

Jeu du loup garou dans le village de thiercelieux, basé sur une API RESTful

Python 100.00%
rest-api restfull-api server client-server werewolf werewolf-game werewolves game game-api python36

werewolves's Introduction

Werewolves

A werewolves game based on a RESTful API. Uses python3 & hug for the server, and no "exotic" dependencies for the client.

A sample python client is provided, but because of the API server side, you can and are encouraged to make a client in another language or using a different philosophy, as it will still be operating well with others.

Server-side

You'll find more documentation about the server in the docstrings and in the server/README.txt

Client-side

You'll find more documentation about the client in the docstrings and in the client/README.txt

Official server

I currently host a server, located at werewolves.api-d.com:8000 (status)

Installation and developpement

Installation on a local machine

Clone the repository using git : git clone https://github.com/paris-ci/Werewolves.git

Change to the project directory : cd Werewolves

(Optional, but needed by some IDE) Create a simlink to make common avalable in the Server Directory : cd server/ && ln -s ./common ../common

Then, mark the client/ and server/ directory as source directories in your IDE if you use one.

Install hug pip3 install hug

Start the server using hug : cd server/; hug -f ./launch.py

Installation on a server

Follow instructions for installing in a local machine, then install gunicorn for python3(.6) using your server package manager.

You can launch the server using gunicorn3 launch:__hug_wsgi__ --bind 0.0.0.0:8000

Installation using Docker

You can also try installing hug using docker as stated here. However, I never tested this method.

werewolves's People

Contributors

paris-ci avatar

Watchers

 avatar  avatar

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.