The premise of the game is quite simple. You either pick this or that lol. The questions for now are entirely generated by Gemini, however, I am looking forward to storing the responses in a database so that it can be recycled and reused by other users. The questions are pretty fun I guess lol. Maybe if it had images (which would cost more tokens) I think it would be more interactive.
I was also thinking about having an analysis on all the choices the user made and output what would happen to them. For example, they live forever where the result could be they are the last one alive, which is depressing now that I think about it... lol
To run this locally:
git clone https://github.com/ryan-mai/would-you-rather.git- Run
node server.jsfor the Server andnpm run devfor the Client Side Note: You will need to create an.envfile and addGEMINI_API_KEY=YOUR_API_KEY