{"id":17015556,"url":"https://github.com/zsarge/snake","last_synced_at":"2025-09-01T12:03:24.611Z","repository":{"id":154585795,"uuid":"398675632","full_name":"zsarge/snake","owner":"zsarge","description":"Inspired by this video: https://youtu.be/TOpBcfbAgPg","archived":false,"fork":false,"pushed_at":"2021-09-18T05:12:52.000Z","size":81,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-27T14:49:33.267Z","etag":null,"topics":["cpp","snake"],"latest_commit_sha":null,"homepage":"","language":"C++","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/zsarge.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-08-21T23:33:23.000Z","updated_at":"2021-09-18T05:12:55.000Z","dependencies_parsed_at":null,"dependency_job_id":"408f472a-b308-4b78-a533-e27ba46290da","html_url":"https://github.com/zsarge/snake","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/zsarge%2Fsnake","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zsarge%2Fsnake/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zsarge%2Fsnake/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zsarge%2Fsnake/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zsarge","download_url":"https://codeload.github.com/zsarge/snake/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244973696,"owners_count":20541022,"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":["cpp","snake"],"created_at":"2024-10-14T06:29:02.391Z","updated_at":"2025-03-22T14:44:23.305Z","avatar_url":"https://github.com/zsarge.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# snake\n\nInspired by [this video](https://youtu.be/TOpBcfbAgPg)\n\nThis project uses the snake_case naming convention, for obvious reasons.\n\nThis project uses C++ 17.\n\n-------\n\n## in the project directory, build and run with:\n\n```\nmake\n```\n\n```\n./build/snake.out\n```\n\n-------\n\n## To do: \n\n- add [Hamiltonian pathing](https://en.wikipedia.org/wiki/Hamiltonian_path)\n\n-------\n\n### Other:\n\nI used a program structure that made sense to me, but it's one I haven't seen before.\nI seperated the different topics in my code into namespaced functions (i.e. IMAGE_GEN \u0026 AI)\nthat operate on one snake object. I guess the alternative is having all that code in the main\nsnake class, but I like the way that namespaces seperate the concerns of the code.\n\nTL;DR: idk what I'm doing, but I'm learning\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzsarge%2Fsnake","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzsarge%2Fsnake","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzsarge%2Fsnake/lists"}