Skip to content

Our project for Hack The North in 2023! We built a BeReal-like game that had people take random selfies with newfound friends.

Notifications You must be signed in to change notification settings

sampoder/hack-the-geese

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 

Repository files navigation

Screenshot 2023-09-17 at 10 40 30 AM

Welcome to the geese cult my friend! We're Deet, Fayd, and Sam... let us tell you about our geese!

At Hack the North, we found it tough to break the ice and balance coding with socializing. This personal challenge inspired us to create a project that makes it easier to make new friendships and get us all out of our social comfort zones.

That's awesome and all but how does it work? Here's how the game works:

  1. Scan your badge's QR code to log in.
  2. Find a (new) friend who you'd like to compete against.
  3. Receive a prompt, eg. "take a selfie with a person taller than you".
  4. Race to take a fun picture based on the prompt before the other player does.
  5. Win or lose, then you got to choose wether or not to rematch!

If you've got a HTN badge, head over to htgeese.tech to take it for a spin!

How We Built It

We built the websockets server using Go, it manages the game's state and updates the database when necessary. Our front end, include the custom duck generator, is built using Next.js and React. We used GPT-3.5 provided hackathon-relevant prompts, we used Prisma and PostgreSQL for the database, and we stored our images in Vercel Blob.

Here are some janky photos of it in action from when we were testing:

(those are the faces you make at 4am when your code just isn't working...)

"Challenges" We Ran Into

First night: total system crash due to the websockets server not properly closing connections, fixed after many tireless hours.. thanks Sam. Fayd had to reimplement the broken QR scanner, twice! We weren't having much luck with those React components. Dieter struggled with coding unique duck colors... but after many bug fixes everything started working together.

Most of all, however, getting to the event was tough for all of us. Sam flew overnight from California (which somehow also involved getting stuck on top of Twin Peaks, walking along an interstate to get from Millbrae BART station to SFO at 2am, and a late night adventure in the Castro), Dieter drove 9 hours from Vermont (only to be told by a customs agent that "Canada was closed"... it was not), and Fayd had a gruelling 30-hour journey from India with layovers (...his bag almost got stuck in Atlanta). But it was worth it!

Random Photos

This game was all about taking photos! Here are some random photos from our time at HTN:

To Wrap Up...

We learned that making friends is just as crucial as writing good code. The journey from encountering problems to finding solutions showed us that anyone can overcome their fears. And yes, we also discovered that Canada has some really tasty snacks!

Screenshot 2023-09-17 at 11 10 12 AM

Oh and one more thing.

Turns out we were one of the winners! Yay!

(that's us moments after we found out and then when we were presenting on stage)

About

Our project for Hack The North in 2023! We built a BeReal-like game that had people take random selfies with newfound friends.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published