Skip to content

ShotaAk/rqt_tic_tac_toe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RQt Tic-Tac-Toe

build_and_test

Let's play Tic-Tac-Toe on rqt!

rqt_tic_tac_toe.mp4

Requirements

  • ROS 2 Humble

Installation

cd ~/ros2_ws/src
git clone https://github.com/ShotaAk/rqt_tic_tac_toe.git
rosdep install -r -y -i --from-paths .

cd ~/ros2_ws
colcon build --symlink-install

Usage

First, register rqt_tic_tac_toe in rqt by executing the following command:

source ~/ros2_ws/install/setup.bash
rqt --force-discover

Next, start Tic-Tac-Toe.

rqt_tic_tac_toe_on_rqt

PvP

  1. Start rqt_tic_tac_toe with each other.
  2. Enter the player name in frame ID.
  3. Click on the board and the frame ID will be sent to the other player.
  4. Select your opponent's ID from sync ID and you are ready to play.
  5. Reset and start the game. Enjoy!
tic_tac_toe_pvp.mp4

Game Rule

https://en.wikipedia.org/wiki/Tic-tac-toe

LICENSE

Apache 2.0

About

A Python GUI plugin to play Tic-Tac-Toe

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published