Project details 0 0


View on GitHub

Simple card game app built with Expo Router

I want to create a simple app for mobile devices that allows you to swipe through cards with questions. It should be possible to play with multiple players (multiplayer support).

The cards will be generated from a list of questions. The questions will be fetched from an API or generated with OpenAI.

Also, I want to try out the new Expo Router package.

🥅 Goal of the project

I want to create a simple app for mobile devices that allows you to swipe through cards with questions. It should be possible to play with multiple players (multiplayer support).

I start with a web app and then I will try to port it to mobile devices. I use Turborepo so I can share code between the Mobile and Web app.

📦 Packages

  • @game/colyseus-schema - This package contains the schema definitions for the game state.
  • @game/client-state - This package contains the game state that is used by the client.
  • @game/use-game-hook - This package contains the hook that is used to connect to the game server and to subscribe to the game state.

✏️ ToDo

  • Add multiplayer support with Colyseus
  • Get questions from Open Trivia DB
  • Generate questions with OpenAI
  • Add a menu screen
  • Add a scoreboard
  • Add authentication
  • Add a timer (optional)

💯 Other cool thingies

Unrelated to the project, but for inspiration...

📝 Notes

📸 Screenshots

img.png

img_1.png