Inspiration

We got inspired by the stereotypical cowboy shootouts of the far west movies. we wanted to make something in relation to the far-west culture to follow the theme of conuhacks!

What it does

As complete as it can be, it is a game where players need to stand back to back, walk and wait for a signal to shoot first, the first who does wins!

How we built it

We decided to use AI and a camera to track the player's movements, following with a set of two esp32 (not real, 3d printed) pistols! when you aim at your ennemy and click the trigger, you are the winner!

Challenges we ran into

We had to optimized player motion tracking by integrating MediaPipe continuously on the screen. Usually, it only activates once, but we implemented a solution that involves two MediaPipe instances merged into a single view. Additionally, we need to refine the calculation for the shooting angle to ensure accurate detection when players aim at their opponent.

Accomplishments that we're proud of

we are proud of all the abilities we've proudly worked on to be able to do a project that is considered above our school level.

What we learned

never underestimate the short time schedule of a hackaton, and a project is never done until everyone is done with it, that means its team work until the end!

What's next for Cowboy duel game

The game could very well include generative videotracing, a multi-person mode and augmented reality to rejoin more people

Built With

Share this project:

Updates