Open monuelo opened 4 years ago
Greetings! I'm thinking about implementing this and would like your thoughts. I'm considering making a small backend for the app to handle data persistence and filtering for highest scores. On the UI, top 5 scores and players could be shown on #home when the app is opened and at #game-over give the player the option to register name and score. Thanks!
Hi, @c-grigsby! Nice to see you around. Yeah, I think you're on the right way. And for persisting data, maybe a JSON file can handle the job. Thoughts?
Yeah, I was thinking about doing something lightweight with Express and with the current requirements a simple JSON file seems up for the job of persisting data. Do you think we should place the backend in a separate repo or within a directory in the current one?
Let's put in here for now. Maybe we could even put the frontend over Next.JS and Setup API Routes, but I don't want to do any breaking changes for now, 'cause @kihuni is actually working on the webpack issue
But since it's done, we could even use some env/workspace manager like lerna or NX, and create workflow files to deploy the apps according to changes made on the push.
For now, just create a new folder to put the project
Nice, yep migrating would definitely simplify some things and a few workflows would be awesome. I'll take a look into implementing this feature in the near future. Thanks for your time and have an awesome day!
Hi, @monuelo. I have already started working on the issues. Possibly by the end of tomorrow, eastern African time, I will have been done with it.
Awesome, @kihuni! ✨ Don't worry about the time, there's no rush. 😉
Thank you, I will take my time.
Create a ranking with the top scores and allows a player to register your name and score.