## Notes - Initialize game - [x] 1. (UI) User clicks "create game" - [x] 2. (UI) Displays [[#Create Game Page]] - 3. (UI) calls `POST /game` with game parameters - 4. (API) `POST /game` - 4a. Creates a game instance in the `match_game` table - 4b. Fetches collection of restaurants and associates with created `match_game` - 4c. Returns an initial restaurant - [[#Create Game Without Group]] workflow - (UI) User chooses game parameters - Display next restaurant in existing game instance - 1. (UI) navigate to existing game instance - 2. (UI) should fetch next available restaurant - 2a (API) return next available restaurant if it exists - 2b (API) populate next restaurants and return next one - 3. (UI) display restaurant details ## Create Game Page There are several options: - Add a game to an existing group - Create a game and then add people later ## Create Game Without Group Should just have initial parameters - Starting point (option to open map) - Distance from starting point - Restaurant types - Budget range ### Map Modal - Show map in a modal - Show button to toggle drawing