Genius Invokation TCG (Python binding)
Project description
Genius Invokation TCG (Python binding)
This Python binding of GI-TCG is based on the C Binding and Python ctypes FFI.
A very simple usage example:
from gitcg import Deck, Player, Game
# Set players initial deck
DECK0 = Deck(characters=[1411, 1510, 2103], cards=[214111, 311503, ...])
DECK1 = Deck(characters=[1609, 2203, 1608], cards=[312025, 321002, ...])
class MyPlayer(Player):
# implements on_notify, on_action, etc.
# See `gitcg.Player`'s documentation for detail.
pass
# Initialize the game
game = Game(create_param=CreateParam(deck0=DECK0, deck1=DECK1))
game.set_player(0, MyPlayer())
game.set_player(1, MyPlayer())
# Start and step the game until end
game.start()
while game.is_running():
game.step()
Here is a generated API documentation.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file gitcg-0.20.6-py3-none-win_amd64.whl.
File metadata
- Download URL: gitcg-0.20.6-py3-none-win_amd64.whl
- Upload date:
- Size: 6.3 MB
- Tags: Python 3, Windows x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4672bf4f1df37cf555e89bc6ad4900d5ef0a53e76bfdcab4cec63bb114e9d399
|
|
| MD5 |
cc0ed1fee300de0e276505c9b597936a
|
|
| BLAKE2b-256 |
bd9ef245eb66bbe2997286e99799b46354d278d5068093d3d2c5f08af59f8eea
|
Provenance
The following attestation bundles were made for gitcg-0.20.6-py3-none-win_amd64.whl:
Publisher:
main.yml on piovium/genius-invokation
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
gitcg-0.20.6-py3-none-win_amd64.whl -
Subject digest:
4672bf4f1df37cf555e89bc6ad4900d5ef0a53e76bfdcab4cec63bb114e9d399 - Sigstore transparency entry: 1711002620
- Sigstore integration time:
-
Permalink:
piovium/genius-invokation@80f245f3b027da3c504485a94a909ee2f348833c -
Branch / Tag:
refs/tags/v0.20.6 - Owner: https://github.com/piovium
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
main.yml@80f245f3b027da3c504485a94a909ee2f348833c -
Trigger Event:
push
-
Statement type:
File details
Details for the file gitcg-0.20.6-py3-none-manylinux_2_34_x86_64.whl.
File metadata
- Download URL: gitcg-0.20.6-py3-none-manylinux_2_34_x86_64.whl
- Upload date:
- Size: 10.9 MB
- Tags: Python 3, manylinux: glibc 2.34+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1d8f477b57cdef330259db88619ab8b2efee75bdaee59de16fe2729823efbbed
|
|
| MD5 |
fc3e51018fbd1def5572289e5f67bb8b
|
|
| BLAKE2b-256 |
965edb3d1733a6fd478217e496660c4dcaf820dce529c3f503f9acdc27d3ef05
|
Provenance
The following attestation bundles were made for gitcg-0.20.6-py3-none-manylinux_2_34_x86_64.whl:
Publisher:
main.yml on piovium/genius-invokation
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
gitcg-0.20.6-py3-none-manylinux_2_34_x86_64.whl -
Subject digest:
1d8f477b57cdef330259db88619ab8b2efee75bdaee59de16fe2729823efbbed - Sigstore transparency entry: 1711002608
- Sigstore integration time:
-
Permalink:
piovium/genius-invokation@80f245f3b027da3c504485a94a909ee2f348833c -
Branch / Tag:
refs/tags/v0.20.6 - Owner: https://github.com/piovium
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
main.yml@80f245f3b027da3c504485a94a909ee2f348833c -
Trigger Event:
push
-
Statement type:
File details
Details for the file gitcg-0.20.6-py3-none-macosx_15_0_arm64.whl.
File metadata
- Download URL: gitcg-0.20.6-py3-none-macosx_15_0_arm64.whl
- Upload date:
- Size: 7.6 MB
- Tags: Python 3, macOS 15.0+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e36f6652213f7c292e1dfbe0c9ca3761000b664e4f893303eb70409d6dcb2897
|
|
| MD5 |
2f472290e922c4edd0e299340a719c0e
|
|
| BLAKE2b-256 |
70bef35fb9bf2a1cb2ddb02821b63f1c8566c5f549df211aff75dfa677b387a6
|
Provenance
The following attestation bundles were made for gitcg-0.20.6-py3-none-macosx_15_0_arm64.whl:
Publisher:
main.yml on piovium/genius-invokation
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
gitcg-0.20.6-py3-none-macosx_15_0_arm64.whl -
Subject digest:
e36f6652213f7c292e1dfbe0c9ca3761000b664e4f893303eb70409d6dcb2897 - Sigstore transparency entry: 1711002628
- Sigstore integration time:
-
Permalink:
piovium/genius-invokation@80f245f3b027da3c504485a94a909ee2f348833c -
Branch / Tag:
refs/tags/v0.20.6 - Owner: https://github.com/piovium
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
main.yml@80f245f3b027da3c504485a94a909ee2f348833c -
Trigger Event:
push
-
Statement type: