| Level Navigation: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18⚡ | 19 |
See a working example of a clicker game here: Code.org Clicker Game
Your React version will have similar gameplay mechanics but with your own creative twist!
Goal: Set up your development environment with Vite and React.
User Story: As a developer, I want to create a new React project so that I can start building my Apple Clicker game.
Complete the Activity Guide first! Work through Steps 1-4 of the Activity Guide to:
This planning will help you build your game more efficiently!
Create a new React project using Vite and set up all the necessary files to get started.
npm create vite@latestcd clicker-gamenpm installnpm run devNeed help with Vite setup? Check out these snippets:
Creating a Vite project:
npm create vite@latest
cd clicker-game
npm install
Starting the development server:
npm run dev
npm run dev to start your development serverhttp://localhost:5173src/App.jsxsrc/main.jsxpackage.jsonvite.config.jsAttribution: This project guide was created with assistance from Claude AI (Anthropic).