Giter VIP home page Giter VIP logo

turtlesim_snake_game's Introduction

TurtleSim Snake Game

This is a fun implementation of the classic snake game on the turtlesim simulator used to learn Robot operating system (ROS).

This game uses the turtlesim and turtlesim_teleop packages to move a snake turtle in order to capture the target turtle, upon catching the target turtle, a new turtle appears in the screen as the new target and the captured turtle will now be a part of the snake turtle. This process repeats with every capture of the target turtle.

Usage

To run the game, clone the package in your catkin workspace, and use the launch file below.

cd ~/catkin_ws/src
git clone https://github.com/sakthibalanv/TurtleSim_Snake_Game.git
cd ~/catkin_ws
catkin_make
source devel/setup.bash
roslaunch turtle_snake_game start.launch

ROS Node Graph

Missing Features

  • It would be nice to add a collision feature on the snake, like if it self collides or collides with the wall then the game is over.
  • Add obstacles for the snake like barriers.
  • Speed up the snake every time it eats a turtle, to make it difficult for the players.

Note

Contributions to improving the existing code or new features and ideas are most welcome.

Version

Version 1.0.0

Video Links

Demo

Turtle Snake Game Demo

turtlesim_snake_game's People

Contributors

sakthibalanv avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.