Skip to content

Mutiplayer Mobile Game with Websockets (Supabase Realtime)

Notifications You must be signed in to change notification settings

dlustre/supabase-realtime-demo

Repository files navigation

Tic Tac Toe with WebSockets (Supabase Realtime)

This is a multiplayer game built using Expo. app/index.tsx contains the entire game logic.

ezgif-7-c05d34db37

How to run

  1. Clone the repo
  2. Create a Supabase project
  3. Create an .env file:
# Your Supabase project URL
EXPO_PUBLIC_SUPABASE_URL=
# Your Supabase anon key
EXPO_PUBLIC_SUPABASE_ANON_KEY=
  1. Install dependencies with pnpm install
  2. Run pnpm start
  3. Open the app in Expo Go

About

Mutiplayer Mobile Game with Websockets (Supabase Realtime)

Topics

Resources

Stars

Watchers

Forks