Inspiration

The idea for Rice Clicker came from a love of simple but addictive idle games. We were inspired by popular games where players manage resources and upgrades over time. Our goal was to create a fun and engaging experience with an element of progression that kept players coming back to grow their rice crop.

What it does

Rice Clicker is an idle game where players grow rice by clicking and collecting rice. As players collect enough rice, they can purchase upgrades like auto-clickers, farmers, and fertilizers to automate the process and grow more rice even when they aren't actively playing. The game also includes a feature that allows users to save and load their progress.

How we built it

Rice Clicker is built using a combination of JavaScript for the frontend and Node.js with Express for the backend. The game interface is built with HTML, CSS, and JavaScript, using basic DOM manipulation for interactivity. For the backend, we integrated the Notion API to save and load user progress in a Notion database, allowing users to continue their progression. The game also features automatic passive income based on purchased upgrades.

Challenges we ran into

Initially, we encountered CORS issues when trying to send requests from the frontend to the backend. This was resolved by enabling CORS in the Express server. The integration with the Notion API also took some time, particularly in configuring the database properties and ensuring the game data was properly saved and loaded from the database.

Accomplishments that we're proud of

We managed to create an intuitive and smooth gameplay experience with automatic rice growth and upgrades. Additionally, we successfully integrated the Notion API to develop a working save/load system that allows users to load their previous game progress.

What we learned

This project gave us lots of experience through handling state persistence, data logic, and value progression in an idle game and integrating with third-party APIs like Notion API. We also learned how to troubleshoot and resolve issues like CORS and API token issues.

What's next for Rice Clicker

  • Add more upgrades and mechanics to the game for deeper gameplay.
  • Implement a more advanced system for tracking high scores or achievements.
  • Improve the UI/UX for a more engaging experience.
  • Expand the game to other platforms (e.g., IOS, Android, or desktop applications).

Built With

Share this project:

Updates