Giter Club home page Giter Club logo

cs190b-f23-dancetillyoupi-amey's Introduction

unnamed

CS190B-F23-DanceTillYouPI-amey

Dance Till You Pi is a play on the phrase, “Dance till you die”. Inspired by games we love playing in arcades, such as "Dance Dance Revolution," or DDR, this is a mini version of such rhythm/timing games! Dance Till You Pi game rewards players with good coordination, reaction time, and a musical ear. React to the colored light flash and press the matching colored buttons on every beat! In contrast to typical DDR games, which are large and expensive, our version is much more compact and can be enjoyed from the comfort of your room!

Link to the repo which holds our Python scoreboard site app, which should be ran locally: https://github.com/ucsb/CS190B-F23-DanceTillYouPI_site-amey

System/Hardware Requirements

  • Hardware
    • Raspberry Pi 3+ with the correct materials wired according to the circuit design in CS190B_F23_DanceTillYouPI.pdf
    • Speaker connected to the RPi through the 3.5mm audio input port
  • Additional system tools
    • Python 3.9+

Installation and the first step

The following should be done on the RPi:

git clone https://github.com/ucsb/CS190B-F23-DanceTillYouPI-amey.git
cd ./CS190B-F23-DanceTillYouPI-amey
sudo apt-get update
sudo apt-get install pigpio
sudo apt-get install python3-rpi.gpio
sudo apt-get install python3-pygame
sudo pigpiod
python3 ./game_controller.py

Environment variables

Environment variables for a dynamoDB to store the leaderboard must be set prior to running the game.

  • AWS_ACCESS_KEY
    • An AWS access key associated with an IAM account.
  • AWS_SECRET_ACCESS_KEY
    • The secret key associated with the access key. This is essentially the "password" for the access key.
  • REGION
    • The AWS Region to send the request to.
  • TABLE_NAME
    • The name of the DynamoDB table to store the leaderboard.

cs190b-f23-dancetillyoupi-amey's People

Contributors

justinchung712 avatar ameymwalimbe avatar nhs-wobuzhidao avatar anushkal1 avatar

Watchers

Kevin Wu avatar  avatar  avatar

Forkers

anushkal1

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.