Skip to main content

A gym environment for the Schieber variant of the Swiss card game Jass

Project description

Copyright (c) 2018 Joel Niklaus

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Description: # gym-jass

This is a gym environment for the Schieber variant of the Swiss Card Game Jass.

# Brief description The jass server (pyschieber) is requesting a card from the player which invokes the choose_card method in the jass client. But in the gym environment, the rl algorithm wants to initiate control by invoking the step function. So when the rl player wants to make a step, he provides an action. This action can only be processed when the jass server is waiting for input, aka when he requested a card. Then the card is sent to the jass server. The jass server computes the stich with the other players and then sends the current state back to the client (aka the observation). This observation is returned from the step function of the gym environment.

Platform: UNKNOWN Classifier: Programming Language :: Python :: 3 Classifier: License :: OSI Approved :: MIT License Classifier: Operating System :: OS Independent Description-Content-Type: text/markdown

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gym_jass-0.1.19.tar.gz (7.9 kB view details)

Uploaded Source

Built Distribution

gym_jass-0.1.19-py3-none-any.whl (11.5 kB view details)

Uploaded Python 3

File details

Details for the file gym_jass-0.1.19.tar.gz.

File metadata

  • Download URL: gym_jass-0.1.19.tar.gz
  • Upload date:
  • Size: 7.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.3

File hashes

Hashes for gym_jass-0.1.19.tar.gz
Algorithm Hash digest
SHA256 2c1d368cd73d59d8da0a97ab0e609a8a8788111f3d7764b9467a26e9d1235661
MD5 4c89840645393704323d5ce9a3cb8582
BLAKE2b-256 f4a2863e8aa839c0031473ebe23235c0099d722ccdb6d71eb5acf47d3e78e5be

See more details on using hashes here.

File details

Details for the file gym_jass-0.1.19-py3-none-any.whl.

File metadata

  • Download URL: gym_jass-0.1.19-py3-none-any.whl
  • Upload date:
  • Size: 11.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.3

File hashes

Hashes for gym_jass-0.1.19-py3-none-any.whl
Algorithm Hash digest
SHA256 ab2098f69f7764d4149752b0e99626c7c1a39b3ce7e2550c631446bf585e8565
MD5 f6c822d5a214cb48c028819f61b54375
BLAKE2b-256 7c717b4a692df2b16a1f97fe59364d24674e08d1ccec9e247142961d594b10c4

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page