Giter Club home page Giter Club logo

cozmo-capture-the-flag's Introduction

Cozmo Capture the Flag Game Mode

Overview

This is an interactive Python project that allows users to play a Capture the Flag game mode with other users. Users will be able to control their Cozmos with an Xbox controller.

Installation

To run this project:

  1. Clone this repository from the terminal with git clone https://github.com/matthewdargan/Cozmo-Capture-the-Flag.git or download it into a zip file by clicking here
  2. Navigate to the directory where you cloned the repo or unzipped the repository.
  3. Install the required dependencies with pip install -r requirements.txt.
  4. Execute python judge.py from the terminal to enable the main computers to establish a connect to the robot from your mobile device and begin using the controller. Execute python player.py to enable the secondary computers to connect to their robots and begin using the controllers.

Note: You must install Xboxdrv in order to use an Xbox 360 controller on a Linux device; however, Windows devices do not require any 3rd party driver. The Linux driver only supports the Xbox 360 controller but the Windows driver supports both Xbox 360 and Xbox One controllers (wired or wireless).

Requirements

  • A TCP network to play with more than one other player
  • At least two Xbox controllers
  • At least four Cozmos and four computers
  • At least four Android or iOS devices and a USB cable to connect the device to a computer to run the game logic

TODO

  • Abstractions for interactions between more than 2 Cozmos
  • Finish Judge logic
  • Setup the player scripts asynchronously to run the xbox controller modules and listen for messages on the network

Dependencies

cozmo-capture-the-flag's People

Contributors

danstutz avatar matthewdargan avatar

Watchers

 avatar  avatar

Forkers

danstutz

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.