This repository contains the code for turtlesnake
package which is the implementation of classic snake game for Robot Operating System (ROS) using turtlesim.
- Install
turtlesnake
package clone this intocatkin_ws/src
folder.
device:/home/user/catkin_ws/src$ git clone https://github.com/saksham2001/turtlesnake.git
- Build
catkin_ws
device:/home/user/catkin_ws$ catkin_make
- Run the package by using the command
device:/home/user/catkin_ws$ roslaunch turtlesnake turtlesnanke.launch
Note:
- Move the turtle around by using Arrow Keys
- Kill the program using
ctrl+c