{"id":24520999,"url":"https://github.com/nevmenandr/chess_bead","last_synced_at":"2025-04-14T11:13:32.977Z","repository":{"id":57417149,"uuid":"381108202","full_name":"nevmenandr/chess_bead","owner":"nevmenandr","description":"Package for the both chess and Chinese poetry game. Inspired by Das Glasperlenspiel by Hermann Hesse.","archived":false,"fork":false,"pushed_at":"2024-08-01T20:15:51.000Z","size":9270,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-14T11:13:07.689Z","etag":null,"topics":["chess-game","chinese-chess","chinese-language","esoteric","package"],"latest_commit_sha":null,"homepage":"https://chess-bead.readthedocs.io/en/latest/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nevmenandr.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":"CITATION.cff","codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2021-06-28T17:15:27.000Z","updated_at":"2024-08-01T20:15:55.000Z","dependencies_parsed_at":"2024-08-01T22:03:57.486Z","dependency_job_id":"3e670fc6-ad57-4df6-adc3-875caf6c6c6e","html_url":"https://github.com/nevmenandr/chess_bead","commit_stats":{"total_commits":14,"total_committers":1,"mean_commits":14.0,"dds":0.0,"last_synced_commit":"484218477ea0348679e42ee53ee2b2c593d6f282"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nevmenandr%2Fchess_bead","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nevmenandr%2Fchess_bead/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nevmenandr%2Fchess_bead/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nevmenandr%2Fchess_bead/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nevmenandr","download_url":"https://codeload.github.com/nevmenandr/chess_bead/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248868766,"owners_count":21174758,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["chess-game","chinese-chess","chinese-language","esoteric","package"],"created_at":"2025-01-22T02:48:42.943Z","updated_at":"2025-04-14T11:13:32.936Z","avatar_url":"https://github.com/nevmenandr.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":".. image:: https://zenodo.org/badge/DOI/10.5281/zenodo.12814015.svg\n  :target: https://doi.org/10.5281/zenodo.12814015\n|License| |Docs| |Contact| |Site|\n\nChess Bead Game ♖♝♘♟️♕\n=================\n\nDescription\n----------------\n\nPackage for the both chess and Chinese poetry game. The rules of the game involve chess moves from games in pgn format. The board for the game is a Chinese poem of the Tang era, in which the line is equal to 7 characters (the last, 8th vertical is most often punctuation marks). When a piece makes a move, the characters on the board change places. The character on which the piece was is moved to the place of the character to which the move was made.\n\n\n.. figure:: https://github.com/nevmenandr/chess_bead/raw/main/example/game21_poem130.gif\n    :scale: 40 %\n    :align: center\n    :alt: How the game works.\n    \n\n\nYou can get the result texts and visualize it with the package.\n\nYou can use custom game in PGN format. \n\nInspired by Das Glasperlenspiel by Hermann Hesse.\n\n\nQuick start\n----------------\n\n.. code:: python\n\n    import chess_bead as cb\n    \n    g = cb.Game()                       # use random chess game from the example PGN \n                                        # file included in the package\n    verses = g.start_game()             # get all the permutations in the poem\n    v = cb.Viz(verses, g.author, g.title)    # prepare visualization\n    v.gif()                             # make the GIF animation with the name \n                                        #'game.gif' in the working directory\n    del v                               # clean up the tmp dir\n\n\nInstallation\n----------------\n\nThe tool could be installed with pip\n\n::\n\n    pip3 install chess_bead\n\nExamples and Docs\n-------------------\n\nYou can explore the `brief examples \u003chttps://github.com/nevmenandr/chess_bead/blob/main/example/Example.ipynb\u003e`_  that could give you a clue. For the deep sinking read the `documentation \u003chttps://chess-bead.readthedocs.io/en/latest/\u003e`_.\n\n\nExternal resources\n----------------------\n \n* The poems are taken from the collection `selected from this repository \u003chttps://github.com/snowtraces/poetry-source\u003e`_.\n* The package uses cwTeXFangSong font licensed with SIL Open Font License (Version 1.1), `see here \u003chttps://github.com/l10n-tw/cwtex-q-fonts\u003e`_ .\n* `Compiled TTFs \u003chttps://github.com/l10n-tw/cwtex-q-fonts-TTFs\u003e`_ .\n\n\n.. |License| image:: https://img.shields.io/badge/license-GPL-blue.svg\n    :target:  https://opensource.org/licenses/GPL-3.0\n.. |Docs| image:: https://readthedocs.org/projects/numeral-system-py/badge/?version=latest\u0026style=flat\n    :target:  https://chess-bead.readthedocs.io/en/latest/\n.. |Contact| image:: https://img.shields.io/badge/telegram-write%20me-blue.svg\n    :target:  https://t.me/nevmenandr\n.. |Site| image:: https://img.shields.io/badge/site-nevmenandr-yellowgreen.svg\n    :target:  http://nevmenandr.net/bo.php\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnevmenandr%2Fchess_bead","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnevmenandr%2Fchess_bead","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnevmenandr%2Fchess_bead/lists"}