Coder Social home page Coder Social logo

matthewpereira / pingbot Goto Github PK

View Code? Open in Web Editor NEW
0.0 0.0 0.0 303 KB

Ping pong score tracking, with (basic) voice recognition and speech synthesis

Home Page: https://matthewpereira.github.io/pingbot/

License: MIT License

HTML 8.42% CSS 25.64% JavaScript 65.95%

pingbot's Introduction

Setup:

git clone https://github.com/matthewpereira/pingbot
yarn
yarn start

Then visit http://localhost:3000/.

screenshot

This is a hacky scorekeeping system for playing ping pong in the office. It's mainly an excuse to play with the Annyang library that facilitates Google Chrome's built in speech recognition engine. This will break in other browsers (for now).

Clicking the serving button transfers possession, and clicking either number increments the score. The program accepts voice commands like 'Blue team serves' to set posession at the start of the game, and 'point red', 'red team scored', or 'point for red team' to increment the score. Successful voice commands are answered by synthesized speech to keep track of the game progress and serving, as well as game point.

Todo:

  • Help overlay for describing available voice functions
  • Tests
  • Refactor! ¯_(ツ)_/¯

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.