Overview

Colored Trails is a cooperitive game used to test and study social interaction between players. We are using it to specifically study Human Robot interaction.

The game is a 2-player game consisting of an n x m board (where n and m are integers) of colored squares and a common goal square. Each player starts on one of the squares on the board and get a starting hand of k chips. These chips can be used to create a trail from the players starting position to the goal.

In our scenario n,m, and k all equal 4.

The code for this project is in: game/server/server.py, game/server/games/colored_trails, and game/ui/colored_trails

Colored Trails

Game Modes

  • Automatic

  • Manual

Automatic Mode Game Phases

  • Set Up

  • Trade Proposal and Counter Proposal

  • Trade & Score

  • More information here

Manual Mode Game Phases

  • Set Up

  • Pick and Take an Action

  • Score

  • More information here

GUI and Server

To read more on the inplementation of the GUI and Server go here

Implementations So Far

  • Linux GUI for human human play

  • Windows GUI for human human play

In Progress

  • Web interface implemented

  • Connection with S# algorithm for human AI play

  • Connection with ROS for human robot play

To run full game from sawyer_ws

  • cd src/game/ui/colored_trails
  • derry run linux

To run GUI from sawyer_ws

  • cd src/game/ui/colored_trails
  • flutter run -d Linux

To run Server from sawyer_ws

  • cd src/game/server
  • python3 server.py

Further Reading

For more reading on Colored Trails, go here