-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
136 changed files
with
124 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,6 @@ | ||
static/cards/* | ||
dixit/static/cards/* | ||
*.pyc | ||
*.swp | ||
*.egg-info | ||
build | ||
dist |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
graft dixit/static | ||
prune dixit/static/cards | ||
include dixit/static/cards/dixit/README.txt | ||
graft dixit/templates | ||
|
||
include LICENSE.txt | ||
include dixit/config.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
.. figure:: http://i.imgur.com/y5Zv9Az.png | ||
:alt: Revealing the correct card | ||
|
||
Installation | ||
------------ | ||
|
||
``pip install dixit`` | ||
|
||
Starting the Server | ||
------------------- | ||
|
||
``dixit`` | ||
|
||
Then go to http://localhost:8888/. | ||
|
||
Configuring the Server | ||
---------------------- | ||
|
||
Edit ``dixit/config.json`` to specify which port to run on (default | ||
8888), and to point to the location of each card deck that you have | ||
(e.g., see ``dixit/static/cards/dixit/README.txt``). | ||
|
||
Notes | ||
----- | ||
|
||
This is an alpha release and may therefore undergo significant changes. | ||
Please request features or submit changes to | ||
https://github.com/arvoelke/Dixit/. | ||
|
||
Thank you to all the developers who have helped so far! | ||
|
||
We do not currently, nor do we plan to, distribute copywritten artwork. | ||
Currently all cards must be supplied by you, the user. This server is | ||
provided for personal use only (there is no license for commercial use). | ||
|
||
Please consider supporting the designers and artists behind Dixit by | ||
purchasing the original board game. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
from dixit.server import start |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
|
||
import time | ||
|
||
from utils import hash_obj | ||
from dixit.utils import hash_obj | ||
|
||
|
||
class ChatLog(object): | ||
|
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
#!/usr/bin/env python | ||
|
||
import io | ||
|
||
try: | ||
from setuptools import find_packages, setup | ||
except ImportError: | ||
raise ImportError( | ||
"'setuptools' is required but not installed. To install it, " | ||
"follow the instructions at " | ||
"https://pip.pypa.io/en/stable/installing/#installing-with-get-pip-py" | ||
) | ||
|
||
|
||
def read(*filenames, **kwargs): | ||
encoding = kwargs.get("encoding", "utf-8") | ||
sep = kwargs.get("sep", "\n") | ||
buf = [] | ||
for filename in filenames: | ||
with io.open(filename, encoding=encoding) as f: | ||
buf.append(f.read()) | ||
return sep.join(buf) | ||
|
||
|
||
install_req = [ | ||
"tornado", | ||
] | ||
|
||
|
||
setup( | ||
name="Dixit", | ||
version="0.1.0", | ||
author="Aaron Voelker", | ||
author_email="[email protected]", | ||
packages=find_packages(), | ||
include_package_data=True, | ||
url="https://github.com/arvoelke/Dixit/", | ||
license="Free for personal (non-commercial) use", | ||
description="Online version of the board game Dixit", | ||
long_description=read("README.rst"), | ||
install_requires=install_req, | ||
zip_safe=False, | ||
entry_points={ | ||
'console_scripts': [ | ||
'dixit = dixit:start', | ||
] | ||
}, | ||
python_requires=">=3.5", | ||
classifiers=[ # https://pypi.python.org/pypi?%3Aaction=list_classifiers | ||
"Development Status :: 3 - Alpha", | ||
"Topic :: Games/Entertainment :: Board Games", | ||
], | ||
) |