Skip to content

maael/what-now

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

11 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

What Now?

Inspiration

Inspired by What Next? Boardgame, Reigns, and Jackbox.

Description

Players join a lobby on their phones like Jackbox, and then play through a "choose your own adventure", voting together on options by swiping, and playing mini games that affect how it progresses.

Tech Components

Development

git clone git@github.com:maael/what-now.git
cd what-now
yarn prep
yarn dev

This will start the backend at http://localhost:8081, and the frontend at http://localhost:3000.

Client

Next.js client with Tailwind for styling, deployed to Vercel.

Server

Socket.io server deployed to Heroku.

Game State/Screens

                    β”Œβ”€β”€β”€β”€β”
                 β”Œβ”€β”€β”€Joinβ”œβ”€β”€β”
                 β”‚  β””β”€β”€β”€β”€β”˜  β”‚
                 β”‚          β”‚
 β”Œβ”¬β”€β”€β”€β”€β”€β”¬β”   β”Œβ”€β”€β”€β–Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”
 β”‚β”‚Start│┼───►Waiting for Playerβ”‚
 β””β”΄β”€β”€β”€β”€β”€β”΄β”˜   β””β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
                      β”‚
                β”Œβ”€β”€β”€β”€β”€β–Όβ”€β”€β”€β”€β”
                β”‚Start Gameβ”‚
                β””β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”˜
                      β”‚
             β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β–Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”Œβ”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β–ΊAssign Lead Playerβ”‚
β”‚     β”‚      β””β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
β”‚     β”‚               β”‚
β”‚     β”‚        β”Œβ”€β”€β”€β”€β”€β”€β–Όβ”€β”€β”€β”€β”€β”€β”
β”‚     β”‚        β”‚Vote Decisionβ”‚
β”‚     β”‚        β””β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”˜
β”‚     β”‚               β”‚
β”‚ β”Œβ”€β”€β”€β”΄β”€β”€β”€β”€β”    β”Œβ”€β”€β”€β”€β”€β–Όβ”€β”€β”€β”€β”€β”€β”     β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚ β”‚Get Item◄─────Resolve Voteβ”œβ”€β”€β”€β”€β”€β–ΊStart Mini Gameβ”‚
β”‚ β””β”€β”€β”€β”€β”€β”€β”€β”€β”˜    β””β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”˜     β””β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”˜
β”‚                     β”‚                   β”‚
β”‚                     β”‚             β”Œβ”€β”€β”€β”€β”€β–Όβ”€β”€β”€β”€β”€β”€β”
β”‚                     β”‚             β”‚Resolve Gameβ”‚
β”‚                     β”‚             β””β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”˜
β”‚            β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β–Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”         β”‚
└─────────────Draw Next Decisionβ—„β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
             β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

Tech Questions

  • How much game state to have in client?
  • How to handle game state in server? Worth using a state machine?
  • How to handle reconnects?
  • How to handle others viewing the active mini game?
    • Stream screen or replay events.

Mini games

  • Sliding tile picture
  • Free the tile sliding game
  • Reaction time target tap game
  • Memory see and repeat game
  • Slide and land in zone game
  • Slide and land in moving zone game
  • Tap amount in X time
  • Flip coin
  • Memory matching card game
  • Item hunt in picture
  • Path through maze game
  • Spin tiles to connect pipe game
  • Use shapes to make a shape outline
  • Phone tilting/gyro marble maze game

About

πŸ•Ή A shared choose your own adventure game.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published