Skip to content

Repository files navigation

Roger - A game where you guess the sounds

How to Play

Roger is a multiplayer sound guessing game where you play with friends in a shared channel. Players take turns recording sounds from their environment, and others try to guess what they're hearing. One person records a sound clip, then the other players in the channel listen and submit their guesses. It's a fun way to challenge your friends' listening skills and creativity!

Demo

Setup

1. Install dependencies

npm install

2. Setup Supabase

  1. Create a new Supabase project at supabase.com
  2. Copy .env.example to .env and fill in your Supabase credentials:
    cp .env.example .env
  3. Set up the database schema by running the SQL in start_db_schema.sql in your Supabase SQL editor

3. Run on device

Since we are using a special dependency to handle the keyboard correctly we cannot use expo-go. This is why we have to run the app on device.

npx expo run:android
npx expo run:ios

UI library

We use gluestack-ui components. To add a new component simply do

npx gluestack-ui add spinner

App Structure

  • /app: Main application code using Expo Router
  • /components: Custom components
  • /components/ui: Gluestack-ui
  • /utils: Utility functions including Supabase client
  • /lib: Utility functions
  • /services: Api calls
  • /android: Android project (Had to make some changes there) Look at Android troubleshooting
  • /ios: Ios Project

Android troubleshooting

I had to add this to the gradle.properties file

org.gradle.java.home=/usr/lib/jvm/java-21-openjdk

Resources

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages