GithubHelp home page GithubHelp logo

cen4725-motion-based-tetris's Introduction

CEN4725-Motion-Based-Tetris

To run first just open up a new venv in the folder you cloned this repo

To run it you should be able to open up a terminal and it should open up the venv if it doesn't run the command in a terminal window

venv\scripts\activate

then if you are in the venv

run the command

pip install -r requirements.txt

then now that dependencies are installed

run the command

python main.py

and now the app should have started it checks for new input every 20 frames so to get it to run with tetris first head here https://tetris.com/play-tetris then click on the page to make sure it is in focus (the app will not work if the browser is not in focus)

then put your hand up in front of your camera and start making gestures!

Controls: DOWN - all fingers up ROTATE - thumb up RIGHT - pointer finger up LEFT - pinky up IDLE - no fingers up QUIT - press 'q' key

cen4725-motion-based-tetris's People

Contributors

k-finken avatar roland-a avatar josh-dp avatar kev1179 avatar

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.