{"id":20036879,"url":"https://github.com/mecaneer23/python-snake-game","last_synced_at":"2025-05-05T06:30:31.318Z","repository":{"id":155112204,"uuid":"440035807","full_name":"mecaneer23/python-snake-game","owner":"mecaneer23","description":"Simple snake game using python curses.","archived":false,"fork":false,"pushed_at":"2025-02-17T20:23:46.000Z","size":70,"stargazers_count":1,"open_issues_count":1,"forks_count":3,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-08T18:39:25.966Z","etag":null,"topics":["curses","game","ncurses","python","python-snake","python-snake-game","python3","simple","snake","snake-game"],"latest_commit_sha":null,"homepage":"http://mecaneer23.net/python-snake-game/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mecaneer23.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-12-20T03:52:12.000Z","updated_at":"2025-02-17T20:23:49.000Z","dependencies_parsed_at":"2024-03-29T04:30:13.259Z","dependency_job_id":"73aca4fa-bd4e-4804-bc57-986b00abbbcc","html_url":"https://github.com/mecaneer23/python-snake-game","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/mecaneer23%2Fpython-snake-game","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mecaneer23%2Fpython-snake-game/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mecaneer23%2Fpython-snake-game/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mecaneer23%2Fpython-snake-game/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mecaneer23","download_url":"https://codeload.github.com/mecaneer23/python-snake-game/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252451304,"owners_count":21749914,"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":["curses","game","ncurses","python","python-snake","python-snake-game","python3","simple","snake","snake-game"],"created_at":"2024-11-13T10:17:06.921Z","updated_at":"2025-05-05T06:30:31.313Z","avatar_url":"https://github.com/mecaneer23.png","language":"Python","readme":"# Python Snake Game\n\n![Snake game in action!](res/snake.png)\n\nThis is a snake game written in Python. The default characters are as below.\n\n- Snake: `#`\n- Food: `*`\n- Background: `.`\n\n[GitHub](https://github.com/mecaneer23/python-snake-game)\n\n## How to play\n\nwasd or arrow keys or Vim hjkl for snake movement. q to quit. Any other key to pause. Press one of the movement keys to resume.\n\n## Running the game\n\n```bash\npython3 snake.py [flags]\n```\n\n### Flags\n\nSee `snake.py --help`\n\n### Example configurations\n\n```bash\npython3 snake.py --char-head='☺' --char-snake='+' --char-bg=' '\npython3 snake.py --color-snake blue --color-food red\n```\n\n## Todo\n\n- [ ] Make horizontal and vertical speeds equal (see commit history for details)\n- [ ] Add support for best score saving/loading (tentative)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmecaneer23%2Fpython-snake-game","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmecaneer23%2Fpython-snake-game","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmecaneer23%2Fpython-snake-game/lists"}