{"id":16228384,"url":"https://github.com/rdb/hexima","last_synced_at":"2025-03-19T13:31:23.543Z","repository":{"id":67843193,"uuid":"177458484","full_name":"rdb/hexima","owner":"rdb","description":"hexima: a puzzle game involving a six-sided die","archived":false,"fork":false,"pushed_at":"2022-01-23T15:31:53.000Z","size":14715,"stargazers_count":21,"open_issues_count":4,"forks_count":3,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-28T19:01:04.628Z","etag":null,"topics":["game","panda3d","panda3d-game-engine","puzzle","puzzle-game","python","pyweek"],"latest_commit_sha":null,"homepage":"https://rdb.itch.io/hexima","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rdb.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2019-03-24T19:19:31.000Z","updated_at":"2025-02-14T20:43:14.000Z","dependencies_parsed_at":null,"dependency_job_id":"e4032241-0b45-473d-94db-f3c41ef2c140","html_url":"https://github.com/rdb/hexima","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rdb%2Fhexima","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rdb%2Fhexima/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rdb%2Fhexima/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rdb%2Fhexima/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rdb","download_url":"https://codeload.github.com/rdb/hexima/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243992484,"owners_count":20380212,"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":["game","panda3d","panda3d-game-engine","puzzle","puzzle-game","python","pyweek"],"created_at":"2024-10-10T12:55:12.048Z","updated_at":"2025-03-19T13:31:21.380Z","avatar_url":"https://github.com/rdb.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"hexima\n======\n\nThis is an entry in [PyWeek 27](https://pyweek.org/27/), with the theme \"6\".\n\n[Click here to go to the game's page on itch.io.](https://rdb.itch.io/hexima)\n\n[Click here to go to the PyWeek entry page.](https://pyweek.org/e/superleuk27/)\n\n![Screenshot](https://pyweek.org/media/dl/27/superleuk27/screenshot-Sun-Mar-31-01-20-02-2019-1489.jpg)\n\nPlaying the game\n----------------\n\nYou can download binary builds from the [PyWeek entry page](https://pyweek.org/e/superleuk27/).\n\nThe game can be controlled using the arrow, enter and escape keys alone.  The mouse can additionally be used to rotate the camera, and R resets the level.\n\nThe gameplay should be fairly straightforward; navigate the die to the green tile to advance to the next level.  Certain tiles are marked with a die symbol; you can only land on them if your bottom face has the matching number.  If you get stuck, press escape to go to the menu, and select \"reset level\" or \"skip level\", or go to the main menu and choose \"select level\".\n\nIf you complete a level within a certain preset number of moves, you can \"star\" the level, as indicated on the level select screen.  Whether you have exceeded the number of moves to star a level is indicated by the star icon in the top right turning from solid to outlined.\n\nIt is also possible to use a game controller with a directional pad.  The thumbsticks are ignored at this time.\n\nRunning from source\n-------------------\n\nThis game requires Python 3 and Panda3D 1.10.  I recommend installing the dependency via pip, using the command:\n\n```\npip install -r requirements.txt\n```\n\nTo run, open a terminal window, \"cd\" to the game directory and run:\n\n```\npython run_game.py\n```\n\nModifying levels\n----------------\n\nIf you want to play with creating your own puzzles, you can modify the levels in the `levels` folder as desired.  The levels are laid out in a grid, with the format being a kind of ASCII art.  The meaning of the symbols is as follows:\n\n```\n   No tile\n.  Plain tile\nb  Begin tile (must be one)\ne  End tile (may be multiple)\n6  Tile with die number (can be 1-6)\nx  Cracked tile\ns  Ice tile - be careful not to let the player slide out of the level!\nt  Transporter, there must be two of these\no  Button (toggles state of / and \\ tiles)\n/  Tile that is active by default, as switched by button\n\\  Tile that is inactive by default, as switched by button\n```\n\nThe first line is prefixed with `#` and should indicate the minimum number of moves needed to complete the level (in other words, the maximum moves you can make to \"star\" the level).\n\nSorry about the confusing level naming; the numbering is out of order.  See `game/packs.py` to see how they are ordered into the various packs.\n\nAcknowledgements\n----------------\nCoding by rdb, level design by xidram\n\nMusic is made by [hendrik-jan](https://hendrik-jan.bandcamp.com/) for this game.\n\nThis game took inspiration from a puzzle game called Cuboid.\n\nSkybox is by Spiney, licensed under CC-BY 3.0\n\nSound effects are from CC0 sources on OpenGameArt\n\nFonts are downloaded from publicly available font sources; the main font is [Quicksand](https://www.fontsquirrel.com/fonts/quicksand), under the SIL Open Font License, and various displayed symbols are from the fonts DejaVu Sans, Font Awesome 5, and Free Serif.\n\nSome GLSL shader code for the blur shader was adapted from [this repository](https://github.com/Jam3/glsl-fast-gaussian-blur); it is licensed under the MIT license.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frdb%2Fhexima","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frdb%2Fhexima","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frdb%2Fhexima/lists"}