Move Captain Code through puzzles by writing programs.
Puzzles include
- Repetitive tasks
- Tasks which are handled well with loops and conditionals (spiral staircase tower, ...)
- etc.
# Clone this repository
$ git clone https://github.com/Code4Community/captain-code
# Go into the repository
$ cd captain-code
# Install dependencies
$ npm install
# Start the local development server (on port 8080)
$ npm run start
# Ready for production?
# Build the production ready code to the /dist folder
$ npm run buildYou want to use JavaScript instead of TypeScript?
- Add
"checkJs": false,to tsconfig.json - Change the extension of all game files in /src/scripts from
.tsto.js(exceptgame.ts).