Pac-Bot

From AIRWiki
Revision as of 23:09, 29 November 2013 by MikelVuka (Talk | contribs) (Work done)

Jump to: navigation, search
Pac-Bot
Short Description: The goal of the project is to develop an interactive game between an autonomous robot and a remotely-controlled one, based on the rules of the well-known Pac-Man game.
Coordinator: AndreaBonarini (andrea.bonarini@polimi.it)
Tutor: AndreaBonarini (andrea.bonarini@polimi.it)
Collaborator:
Students: MikelVuka (mikel.vuka@mail.polimi.it)
Research Area: Robotics
Research Topic: Robogames
Start: 20/09/2012
End: 30/9/2013
Status: Active
Level: Bs
Type: Course

Aim of this project is to develop a strategic realtime Robogame, based on the classic Pac-Man videogame.

An autonomous robot will roam in a maze trying to get the pac-dots. A human controlled robot will try to prevent it from getting to all these dots by contacting it (in case the Pac-Bot is not in Super Mode) or stay away and avoid it when the Pac-Bot is in Super Mode.

This is a project for the Computer Engineering Project Course ("Progetto di Ingegneria Informatica", ord. 270 - 5cfu) for the Academic Year 2012-2013, and is developed on the Spykee robot using the ROS middleware and an Arduino robot.


Work done

  • 31/05/2013: Built and programmed the Phantom robot

The phantom robot is an arduino robot featuring an infrared sensor(which allows the user to command it with a remote), a bluetooth module(to communicate with the pc), and a contact sensor.

  • 5/08/2013: Logic of the game (software that memorizes the pac-dots, state of the robot, state of the game etc)

Pac-Bot can memorize the cards he already got, can change his state in Super Mode in case he just got a special dot (Super Mode lasts 5 seconds). Furthermore he can notice the contact between the two robots and decide who won the match in that case.

  • 6/09/2013: Maze path finding

Pac-Bot can find paths in the maze in which he can get to all the pac-dots. By getting pac-dots Pac-Bot can get information on which part of the maze he is located and which way it's going.

  • 20/09/2013: Noticing the Phantom robot and strategy to apply

Pac-Bot can notice the phantom robot when the latter is in front of him and tries to avoid him if he's not in Super Mode, or attack him otherwise.