Giter Club home page Giter Club logo

buttonpong's People

Contributors

brentstineman avatar dwcares avatar hattan avatar joescars avatar jsquire avatar krist00fer avatar mahomedalid avatar martinpeck avatar mcollier avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

buttonpong's Issues

"Winner" API & Firmware Mismatch

Hi!

I'm seeing a mismatch in code between the firmware and the API for triggering a winner. (See #18 for my first stab at this issue).

The firmware is expecting a timeout value of "-1" to be sent to trigger the "game won" state. See:
https://github.com/brentstineman/ButtonPong/blob/master/firmware/src/buttonpong.ino#L160-L166

The API is invoking a "winner" wekhook which is expecting a function called "winner" existing in the firmware. See:
https://github.com/brentstineman/ButtonPong/blob/master/api/csharp/CloudAPI/PingManager.cs#L83-L88 and
https://github.com/brentstineman/ButtonPong/blob/master/api/csharp/CloudAPI/Infrastructure/ParticleDeviceCommunicator.cs#L84-L87

Either the API needs to be updated to not call the "winner" webhook and use the "-1" timeout instead or the firmware needs to be updated to only trigger a winner event in a new function called "winner" (like #18 but also removing the code in the ping function.

Thoughts?? I'd be more than happy to change the code and submit a pull request once the proper "winner" triggering method is determined. I think adding a "winner" function to the firmware is the more ideal approach since it's more clear.

Thanks!
Mikael

Add NodeJS API version

Implement a NodeJS version of the API to allow for non-.NET developers to easily work with the API code. Should exist side by side with the .NET API version.

Allow for non-compiled .Net deploy

Revamp .Net API to allow deployment via command line or a linked repo by removing requirement that it has to be complied and deployed via Visual Studio. Need to maintain support for local testing, perferrably via Visual Studio.

Instructions for workshop

Add instructions to the repository for running hack events. Be sure to include:

  • key calls-outs from the previously used PPT
  • adding a stock powerpoint for use during hacks
  • coach/proctor notes
  • suggestions for division of labor within the team
  • call out items for the less technical participants

Add Reset Game State calls to devices

Enhance the game reset API so that it will send a reset signal to the buttons to reset their internal game state. This also requires adding a new function to the device to accept such a call.

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.