An open API service indexing awesome lists of open source software.

https://github.com/shybyte/boulder-fall

Alternative refactoring of the game in https://www.manning.com/books/five-lines-of-code.
https://github.com/shybyte/boulder-fall

Last synced: about 1 month ago
JSON representation

Alternative refactoring of the game in https://www.manning.com/books/five-lines-of-code.

Awesome Lists containing this project

README

          

# Boulder Fall - Game

The code of this game is an alternative refactoring of the game in https://www.manning.com/books/five-lines-of-code.

The original code can be found here: https://github.com/thedrlambda/five-lines/blob/main/index.ts.
This refactoring is proposed in the book: https://github.com/thedrlambda/five-lines/blob/solution/index.ts.

Please compare this code with my [solution](./src).

## Install dev dependencies

```
npm install
```

## Compile

```
npm run build
```

## Run

```
npx serve .
```

# Develop with live reload

```
npm run tsc:watch
```

```
npm run browser-sync
```