Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/remarkablegames/code-arcade
đšī¸ Learn how to program with Code Arcade
https://github.com/remarkablegames/code-arcade
arcade code educational-game game javascript kaboomjs learning puzzle
Last synced: about 22 hours ago
JSON representation
đšī¸ Learn how to program with Code Arcade
- Host: GitHub
- URL: https://github.com/remarkablegames/code-arcade
- Owner: remarkablegames
- License: mit
- Created: 2024-05-26T01:49:02.000Z (6 months ago)
- Default Branch: master
- Last Pushed: 2024-10-16T03:43:38.000Z (30 days ago)
- Last Synced: 2024-10-17T18:25:41.449Z (28 days ago)
- Topics: arcade, code, educational-game, game, javascript, kaboomjs, learning, puzzle
- Language: TypeScript
- Homepage: https://remarkablegames.org/code-arcade
- Size: 1.64 MB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# Code Arcade
![release](https://img.shields.io/github/v/release/remarkablegames/code-arcade)
[![build](https://github.com/remarkablegames/code-arcade/actions/workflows/build.yml/badge.svg)](https://github.com/remarkablegames/code-arcade/actions/workflows/build.yml)đšī¸ Learn how to program with Code Arcade.
Play the game on:
- [remarkablegames](https://remarkablegames.org/code-arcade)
- [itch.io](https://remarkablegames.itch.io/code-arcade)
- [newgrounds](https://www.newgrounds.com/portal/view/934247)Read the [blog post](https://remarkablegames.org/posts/code-arcade/).
## Credits
- Assets from [Kaboom](https://kaboomjs.com/)
- Editor from [CodeMirror](https://codemirror.net/)
- Inspired by [Untrusted](https://alexnisnevich.github.io/untrusted/)## Prerequisites
- [nvm](https://github.com/nvm-sh/nvm#readme)
## Install
Clone the repository:
```sh
git clone https://github.com/remarkablegames/code-arcade.git
cd code-arcade
```Use the Node.js version:
```sh
nvm use
```Install the dependencies:
```sh
npm install
```## Available Scripts
In the project directory, you can run:
### `npm start`
Runs the game in the development mode.
Open [http://localhost:5173](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](https://itch.io/), [Newgrounds](https://www.newgrounds.com/), etc.
### `npm run increment-levels`
Increments a level and renames the file:
```sh
npm run increment-levels -- --level=
```## License
[MIT](LICENSE)