Inspiration

Sweat With Byte encourages women+ to get active through a game platform. Sweat with Byte is a video game that gives women workout examples, allows them to connect with other users, view their achievements in exercise, and count reps while analyzing proper workout form. There are two modes to play Sweat With Byte: Story Mode, where the user can play through a set of pre-scheduled workouts, collecting gems to help Byte repair an in-game spaceship, and

What it does

Sweat With Byte encourages women+ to get active through a game platform. Sweat with Byte is a video game that gives women workout examples, allows them to connect with other users, view their achievements in exercise, and count reps while analyzing proper workout form. The There are two modes to play Sweat With Byte: “Story Mode”, where the user can play through a set of pre-scheduled workouts, collecting gems to help Byte repair an in-game spaceship, and “All Workouts” where users can choose from a variety of workouts to do at their own pace.

How we built it

Figma PixilArt Visual Studio Code Github Python Pygame Aseprite OpenCV

Button design inspired by ClipartPNG Images Space background created by PiiiXL Lettering Font Gem Design inspired by Eftoni Choose Level Backdrop created by Free Game Assets (GUI, Sprite, Tilesets) Main Screen Backdrop created by Free Game Assets (GUI, Sprite, Tilesets) Level Backdrop created by Sam on Itch.io

Challenges we ran into

To get the scanning to work while having the example Byte complete the workout on the screen, we ran into a few challenges with having the two processes occur simultaneously. There were issues with having the screen not load properly after switching the webcam scanner on, and having to leave this process running continuously while updating the frame every second. To solve this issue we used threading to run different portions of our program concurrently. This allowed the scanning to run while the rest of the app continued to update frames each second.

Accomplishments that we're proud of

We are proud of our use of Open CV to record repetitions and validate that the user is completing the workout properly. To do this we used the Mediapipe library, which creates nodes at different parts of the body, and fixated on the angle of the elbow node to determine whether or not the bicep was being properly curled. We are also proud of our Figma graphics, as most assets were hand-drawn. The UI/UX aimed to be easy for new users to pick up, and we wanted the appearance of the game to take after a classical video game, which is something not commonly done in exercise apps or videos.

What we learned

We learned how to use Open CV for video recognition, and use it to analyze different parts of the body and how they move. Having limited previous experience with Pygame, we also had to familiarize ourselves with building a game using Pygame and connecting Pygame and Open CV functionality. Using the Figma prototype, we were also able to work on our UI development skills with Pygame, thus allowing us to add assets and formatting our code demo.

What's next for Sweat with Byte

We would like to collaborate with personal trainers and other activity focused brands to create healthy and fun workouts and workout plans to incorporate in game. Creating and coding a feature for women+ living with disabilities to ensure our game is accessible for all users. This would include features for people who may be unable to stand or walk and thus would not be able to use the current iteration of the game. Moving the platform that Sweat With Byte is played on to various gaming consoles. This would allow for more user to access the game through a variety of ways.

Built With

Share this project: