Skip to content

feature request : Enhancing Mini-Games with Physical Controls & BLE Input Support #1249

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
samruddhi-Rahegaonkar opened this issue Mar 22, 2025 · 2 comments

Comments

@samruddhi-Rahegaonkar
Copy link
Contributor

Summary

Currently, mini-games like Snake can be played on the Badge Magic Flutter app, but they are not fully interactive on the physical LED badge. This proposal suggests adding physical control buttons to the badge and using BLE (Bluetooth Low Energy) to send input commands, allowing real-time gameplay on the badge itself.

Why is this Needed?

  • Currently, mini-games run only on the app screen, with no way to play directly on the badge.
  • By adding physical buttons, users can interact with the badge in real-time.
  • BLE-based input transmission will allow seamless control without modifying the badge’s current display logic.

Proposed Solution

  1. Add Physical Buttons to the Badge:

    • At least four directional buttons (Up, Down, Left, Right) for controlling the game.
    • Buttons connected to the badge’s microcontroller GPIOs.
  2. Enable BLE Input Transmission:

    • The app sends directional commands via BLE to the badge.
    • The badge firmware interprets BLE inputs and updates the game state.
  3. Modify Firmware to Process Inputs:

    • Update the badge’s firmware to read BLE commands and control the Snake game logic, other mini games logic.
    • Ensure smooth gameplay with minimal latency.

Expected Outcome

  • Users will be able to play Snake directly on the badge.
  • BLE will allow real-time movement updates, making gameplay fully interactive.
  • This feature can be extended to other mini-games in the future.

Attachments

Image
Image
Image

Video drive link :

https://drive.google.com/file/d/1LjDcCQSIpDPZ_rcxYR6eHEfr3AjlIEoX/view?usp=sharing

@samruddhi-Rahegaonkar
Copy link
Contributor Author

@Jhalakupadhyay @adityastic @AsCress What do you think on this ?

@AsCress
Copy link
Contributor

AsCress commented Mar 27, 2025

@Jhalakupadhyay @adityastic @AsCress What do you think on this ?

Well ! That's a nice use case for the app if we could somehow figure out how to transfer data to the badge in real time and play the game on the badge instead. Nice suggestions though !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants