The game to be designed was to deliver an immersive experience through IoT technology, aiming to maximize user engagement and retention, particularly appealing to boxing enthusiasts who can showcase their skills interactively. We had to prioritize enhancing graphics and audio effects based on client needs, receiving positive feedback upon presentation.The FleBleKitManager is a tool designed to manage Bluetooth devices that measure heart rate and boxing activity. It allows the user to find, connect, and receive data from these devices.
Key Features
1. Device Scanning
- Find Devices - The manager can search for nearby Bluetooth devices, such as heart rate monitors and boxing gloves.
- List Devices - It creates a list of these devices and sends this information to another part of the app.
2. Device Connection
- Connect to Devices - It can connect to a chosen device based on its unique identifier.
- Disconnect Devices - It can disconnect from any connected devices.
3. Data Retrieval
- Heart Rate Data - Once connected to a heart rate monitor, it can receive and send real-time heart rate information.
- Boxing Data - For connected boxing gloves, it can receive and send information about boxing activity, like punch speed and power.
4. Boxing avatar selection
5. Interactive IoT (Internet of Things) integration
6. Gaming mode selection like the ghost, bot, practice, multi-player, and so on.
7. Punch impact tracking sensors offered 6 major punch types
- Cross, Jab
- Left Uppercut
- Right Uppercut
- Right Hook
- Left Hook
- Tournament and event creation
The expected gaming functionality included the below
- Training Mode - Designed for single-player practice sessions.
- Round Mode - Supports two-player matches.
- Users can select their Boxing Avatar.
- Option to invite friends.
- Boxing interactions (punch hits, speed, punch style, etc.) are visually represented in the game.
- Boxing sensors can track the following Actions in the game
- Punch
- Speed
- Punch time
- Punch style/type
- Straight Punch
- Hook
- Upper Cut
- Lower cut, etc.
For instance, when a user lands a punch on their opponent's face, it should visibly mark the impact point and display appropriate visual effects like simulated bleeding.
How It Works
- Search for Devices - The manager searches for and lists nearby devices.
- Connect to Device - It connects to the selected device.
- Receive Data - It collects data from the connected device and sends this data to another part of the app for further use.
Key Components
- Heart Rate Monitor - Manages connections and data from heart rate monitors.
- Boxing Gloves - Manages connections and data from boxing gloves.
- Delegate - A delegate (another part of the app) receives updates about device lists, connection status, and data.
Benefits
The FleBleKitManager bridges the gap between Bluetooth fitness devices and the app, making it easy to find, connect, and gather fitness data without dealing with the technical details of Bluetooth communication.