Skip to content

remarkablegames/code-arcade

Repository files navigation

Code Arcade

Code Arcade

release build

🕹️ Learn how to program with Code Arcade.

Play the game on:

Read the blog post.

Credits

Prerequisites

Install

Clone the repository:

git clone https://github.com/remarkablegames/code-arcade.git
cd code-arcade

Use the Node.js version:

nvm use

Install the dependencies:

npm install

Available Scripts

In the project directory, you can run:

npm start

Runs the game in the development mode.

Open http://localhost:5173 to view it in the browser.

The page will reload if you make edits.

You will also see any errors in the console.

npm run build

Builds the game for production to the dist folder.

It correctly bundles in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.

Your game is ready to be deployed!

npm run bundle

Builds the game and packages it into a Zip file in the dist folder.

Your game can be uploaded to your server, Itch.io, Newgrounds, etc.

npm run increment-levels

Increments a level and renames the file:

npm run increment-levels -- --level=<number>

License

MIT