Giter Club home page Giter Club logo

henriwahl / doko3000 Goto Github PK

View Code? Open in Web Editor NEW
11.0 11.0 2.0 21.53 MB

Simple open world Doppelkopf deck simulation for playing online with your friends via browser.

Home Page: https://github.com/HenriWahl/doko3000

License: GNU Affero General Public License v3.0

Dockerfile 0.54% Python 50.34% JavaScript 22.82% HTML 24.55% Shell 0.48% CSS 1.27%
cards couchdb doppelkopf flask game german javascript jquery multiplayer players python server simulator tabletop web

doko3000's People

Contributors

henriwahl avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

doko3000's Issues

After pressing "beitreten" nothing happens

Hello Henri,
if i run docker-compose:
docker-compose -f docker/docker-compose.yml up -d
image

How do i know, how many players are at the table? How do i start the table, i cannot see a menu on the left upper corner like shown in the readme

in the browser i get the following error, if that helps:
image

Feature Request: Pass Cards freely before the game

Hello Henri,

thanks for developing this project! Me and my friends would really appreciate a feature similar to "contra re Austausch" but where the exchanged cards can be passed to, and successively exchanged with, any player, regardless of team.
This way a Armut can be played like we used to do it.

Also, there seems to be a hard limit of three cards which can be exchanged, but in our rule set there are cases where 4 cards can be exchanged. We would like this changed to play the good old "Vierer Armut"

Install Issues with Docker

Hello Henri,
the new release sounds really great. Saldy, after many tries I still cannot get it running.
Neither using docker compose nor using the prebuild image.
I've tried on multiple systems.
However, the most persistent error i get seems to be caused by the couchDB.

See the error below:

`docker run henriwahl/doko3000
ash: PYCHARM_HOSTED: unknown operand
[2022-02-10 15:05:21 +0000] [8] [ERROR] Exception in worker process
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/urllib3/connection.py", line 174, in _new_conn
conn = connection.create_connection(
File "/usr/local/lib/python3.9/site-packages/urllib3/util/connection.py", line 72, in create_connection
for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
File "/usr/local/lib/python3.9/socket.py", line 954, in getaddrinfo
for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name does not resolve

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/urllib3/connectionpool.py", line 703, in urlopen
httplib_response = self._make_request(
File "/usr/local/lib/python3.9/site-packages/urllib3/connectionpool.py", line 398, in _make_request
conn.request(method, url, **httplib_request_kw)
File "/usr/local/lib/python3.9/site-packages/urllib3/connection.py", line 239, in request
super(HTTPConnection, self).request(method, url, body=body, headers=headers)
File "/usr/local/lib/python3.9/http/client.py", line 1285, in request
self._send_request(method, url, body, headers, encode_chunked)
File "/usr/local/lib/python3.9/http/client.py", line 1331, in _send_request
self.endheaders(body, encode_chunked=encode_chunked)
File "/usr/local/lib/python3.9/http/client.py", line 1280, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File "/usr/local/lib/python3.9/http/client.py", line 1040, in _send_output
self.send(msg)
File "/usr/local/lib/python3.9/http/client.py", line 980, in send
self.connect()
File "/usr/local/lib/python3.9/site-packages/urllib3/connection.py", line 205, in connect
conn = self._new_conn()
File "/usr/local/lib/python3.9/site-packages/urllib3/connection.py", line 186, in _new_conn
raise NewConnectionError(
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7ff8a0e35d30>: Failed to establish a new connection: [Errno -2] Name does not resolve

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/requests/adapters.py", line 440, in send
resp = conn.urlopen(
File "/usr/local/lib/python3.9/site-packages/urllib3/connectionpool.py", line 785, in urlopen
retries = retries.increment(
File "/usr/local/lib/python3.9/site-packages/urllib3/util/retry.py", line 592, in increment
raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='couchdb', port=5984): Max retries exceeded with url: /_session (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7ff8a0e35d30>: Failed to establish a new connection: [Errno -2] Name does not resolve'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/gunicorn/arbiter.py", line 589, in spawn_worker
worker.init_process()
File "/usr/local/lib/python3.9/site-packages/gunicorn/workers/geventlet.py", line 143, in init_process
super().init_process()
File "/usr/local/lib/python3.9/site-packages/gunicorn/workers/base.py", line 134, in init_process
self.load_wsgi()
File "/usr/local/lib/python3.9/site-packages/gunicorn/workers/base.py", line 146, in load_wsgi
self.wsgi = self.app.wsgi()
File "/usr/local/lib/python3.9/site-packages/gunicorn/app/base.py", line 67, in wsgi
self.callable = self.load()
File "/usr/local/lib/python3.9/site-packages/gunicorn/app/wsgiapp.py", line 58, in load
return self.load_wsgiapp()
File "/usr/local/lib/python3.9/site-packages/gunicorn/app/wsgiapp.py", line 48, in load_wsgiapp
return util.import_app(self.app_uri)
File "/usr/local/lib/python3.9/site-packages/gunicorn/util.py", line 359, in import_app
mod = importlib.import_module(module)
File "/usr/local/lib/python3.9/importlib/init.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1030, in _gcd_import
File "", line 1007, in _find_and_load
File "", line 986, in _find_and_load_unlocked
File "", line 680, in _load_unlocked
File "", line 850, in exec_module
File "", line 228, in _call_with_frames_removed
File "/doko3000/main.py", line 8, in
from doko3000.web import app,
File "/doko3000/doko3000/web.py", line 36, in
db = DB(app)
File "/doko3000/doko3000/database.py", line 13, in init
self.couch = CouchDB(app.config['COUCHDB_USER'],
File "/usr/local/lib/python3.9/site-packages/cloudant/client.py", line 122, in init
self.connect()
File "/usr/local/lib/python3.9/site-packages/cloudant/client.py", line 190, in connect
self.session_login()
File "/usr/local/lib/python3.9/site-packages/cloudant/client.py", line 231, in session_login
self.change_credentials(user=user, auth_token=passwd)
File "/usr/local/lib/python3.9/site-packages/cloudant/client.py", line 241, in change_credentials
self.r_session.login()
File "/usr/local/lib/python3.9/site-packages/cloudant/_client_session.py", line 150, in login
resp = super(CookieSession, self).request(
File "/usr/local/lib/python3.9/site-packages/cloudant/_client_session.py", line 65, in request
resp = super(ClientSession, self).request(
File "/usr/local/lib/python3.9/site-packages/requests/sessions.py", line 529, in request
resp = self.send(prep, **send_kwargs)
File "/usr/local/lib/python3.9/site-packages/requests/sessions.py", line 645, in send
r = adapter.send(request, **kwargs)
File "/usr/local/lib/python3.9/site-packages/requests/adapters.py", line 519, in send
raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='couchdb', port=5984): Max retries exceeded with url: /_session (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7ff8a0e35d30>: Failed to establish a new connection: [Errno -2] Name does not resolve'))`

Do you have any idea how this can be fixed or am I doing something wrong?

I would really appreciate your help, since we would really like to start gaming on your newest upgraded realese.

Thanks in advance!

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.