{"id":21965692,"url":"https://github.com/styts/snakes","last_synced_at":"2025-03-22T21:33:32.272Z","repository":{"id":147302438,"uuid":"4177489","full_name":"styts/snakes","owner":"styts","description":"Machinarium-inspired puzzle game prototype in pygame","archived":false,"fork":false,"pushed_at":"2012-09-04T20:59:22.000Z","size":12220,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-28T01:26:51.555Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://unbeaded.com","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/styts.png","metadata":{"files":{"readme":"README","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}},"created_at":"2012-04-29T20:59:38.000Z","updated_at":"2020-03-31T08:23:45.000Z","dependencies_parsed_at":"2023-03-25T10:38:02.409Z","dependency_job_id":null,"html_url":"https://github.com/styts/snakes","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/styts%2Fsnakes","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/styts%2Fsnakes/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/styts%2Fsnakes/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/styts%2Fsnakes/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/styts","download_url":"https://codeload.github.com/styts/snakes/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245022934,"owners_count":20548622,"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":[],"created_at":"2024-11-29T12:50:11.802Z","updated_at":"2025-03-22T21:33:32.219Z","avatar_url":"https://github.com/styts.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"(Original code form April 2010).\n\nInspired by the puzzle from the game Machinarium.\n\n    http://www.youtube.com/watch?v=UQQML2gKpKg\u0026t=6m\n\nNotes\n=====\nMoves should be counted in single units and not individual steps (a snake pulled 3 blocks should count as 1 and not 3) - better user friendliness / cognitve.\n\n\"Make a hint\" feature.\n\nApp as a touch interface for phones and tablets (bacause a lot of dragging is involved). \n\nRun\n===\npython Snakes.py\n\nShortcuts\n=========\nS : Solve\n    Cntrl+S : and draw graph\n    Alt+S   : and compute all finals (full graph, takes longer and more memory)\n    Cntrl+Alt+S: draws pretty big graph ;)\n\nBugs\n====\nCurrently the Solver crashes on more complicated graphs (larger ones), giving the error:\n    illegal hardware instruction (this only happens with GUI mode, in CLI mode it gives Segmentation Fault ? and the big reason is that we run out of Memory)\n\nWindows-specific bug: level complete screen not shown properly (could it have to do with png transparency?)\n\nTODO:\n====\n* add \"eyes\" or something to distinguish the pullable components (maybe also add arrows?)\n* \"hardcore mode\" : when life decreses consistenly through the leveles with extra moves\n\nProfiling\n=========\ngprof2dot.py is an awesom cpu use visualization tool.\nI need memory profiler though for debugging the exponential growth in my solver.\n\nobjgraph.show_chain( objgraph.find_backref_chain(random.choice(objgraph.by_type(\n'dict')), inspect.ismodule) , filename='chain.png')\n\nSliding puzzle\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstyts%2Fsnakes","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstyts%2Fsnakes","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstyts%2Fsnakes/lists"}