🐍 Snake Game is one of my favorite games in my childhood. I always played it on my dad's phone. I used the MERN stack (MongoDB, Express.js, React.js, Node.js) to recreate a simple version of this game, for practice, for fun and for my good merories.
🛠️ My Work at a Glance:
- Built from scratch the front-end web development in React.js using HTML, CSS, JavaScript
- Designed the logic to randomize the fruit placement, dynamic movement of the snake, speed changes and endGame conditions (check collisions)
- Utilized Express.js, a server-side application framework to wrap HTTP requests and responses, and made it easy to map URLs to server-side functions
- Extracted, sorted and displayed Top 5 Players based on the Score and Time spent of the player records from MongoDB
- Built "Show Off Your Score" form to submit current time and score through Axios call back to MongoDB
✍ Author: Lucie Wang - https://github.com/Lucie-Wang
Have fun playing the game!!!