{"id":20491094,"url":"https://github.com/mataruzz/turtlesnake_game","last_synced_at":"2025-09-12T00:37:12.742Z","repository":{"id":154635520,"uuid":"631373724","full_name":"mataruzz/turtleSnake_game","owner":"mataruzz","description":"The Turtlesim Snake Game is a project that offers a nostalgic twist on the classic Snake game by using the Turtlesim robot simulator in ROS.","archived":false,"fork":false,"pushed_at":"2023-05-08T17:51:01.000Z","size":2281,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-07T03:33:44.316Z","etag":null,"topics":["game","ros","turtlesim"],"latest_commit_sha":null,"homepage":"","language":"C++","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/mataruzz.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-04-22T20:24:48.000Z","updated_at":"2024-06-25T16:40:27.000Z","dependencies_parsed_at":null,"dependency_job_id":"155ec47a-e1cf-421b-b2f0-a1460bf4380f","html_url":"https://github.com/mataruzz/turtleSnake_game","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mataruzz/turtleSnake_game","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mataruzz%2FturtleSnake_game","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mataruzz%2FturtleSnake_game/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mataruzz%2FturtleSnake_game/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mataruzz%2FturtleSnake_game/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mataruzz","download_url":"https://codeload.github.com/mataruzz/turtleSnake_game/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mataruzz%2FturtleSnake_game/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274732448,"owners_count":25339345,"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","status":"online","status_checked_at":"2025-09-11T02:00:13.660Z","response_time":74,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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","ros","turtlesim"],"created_at":"2024-11-15T17:19:53.547Z","updated_at":"2025-09-12T00:37:12.694Z","avatar_url":"https://github.com/mataruzz.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# TurtleSnake Game\n\n## About The Project\nRelive the nostalgia of the classic **Snake** game with a unique twist in the Turtlesim Snake Game repository. Developed using **Turtlesim**, a popular robot simulator in ROS, this project demonstrates the flexibility and fun of ROS in a game setting. Developed with the aim to increase confidence in fundamental **ROS** tools such as *Subscribers*, *Publishers*, *Services*, and *Parameters*, this project provides an engaging and fun way to learn. With the game implemented in both *Python* and *C++*, users can explore the differences between the two and hone their skills in each language. Both the scripts are located in src/game/src folder.\n\nThe game use **turtlesim_node** and **turtle_teleop_key** node to controll the snake. As soon as the game starts, a new turtle spawn, becoming the target to the snake. Once the snake reach the target, it will be moved to the tail of the snake, and a new turtle will be spawn. The game repeat undefinetly... but... stay away from the wall, or the snake will die.\n\n\u003cdiv align=\"center\"\u003e\n\u003cimg src=\"https://github.com/mataruzz/turtleSnake_game/blob/main/turtleSnake_game.gif\"\u003e \n  \nGif speed: x3\n\u003c/div\u003e\n\n## Installation\nSince this game is based on other packages, turtlesim must be installed first\n```sh\nsudo apt-get install ros-$(rosversion -d)-turtlesim\n```\nThen, clone the turtleSnake_game repository:\n```sh\ncd ~/\ngit clone https://github.com/mataruzz/turtleSnake_game.git\n```\n\n## Run\nBuild the project with ***CATKIN BUILD***\n```sh\ncd ~/turtleSnake_game\ncatkin build\n```\nSource the environment\n```sh\nsource devel/setup.bash\n```\nLaunch the game\n```sh\nroslaunch game start_game.launch\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmataruzz%2Fturtlesnake_game","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmataruzz%2Fturtlesnake_game","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmataruzz%2Fturtlesnake_game/lists"}