GithubHelp home page GithubHelp logo

allchen / splendor Goto Github PK

View Code? Open in Web Editor NEW

This project forked from caeleel/splendor

0.0 1.0 0.0 14.71 MB

For the game

Python 46.38% CSS 20.56% HTML 0.96% Shell 0.10% TypeScript 31.38% JavaScript 0.62%

splendor's Introduction

Splendor

This is an homage to the board game Splendor.

Included are a game server, a python command line client and a javascript web client. The game is hosted at http://splendorlord.xyz.

Differences from the official game rules

There is only one known difference between this version and the official version of the game: in this version you are not allowed to spend gold gems if you have the correct color gem you are substituting for gold. In practice this affects games extremely rarely since in the vast majority of cases you would prefer not to spend your gold gems, but spending gold gems could theoretically be strategically correct to deny a certain chip pile.

How to run

Option 1:

Start server with docker

docker-compose up

Option 2:

Alternatively, install virtualenv and run the installation script:

./install.sh

Then run the server with

ENV/bin/python server/splendor.py

How to play

Open your browser http://127.0.0.1:8000

Use shrek / islove for basic authentication

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.