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

https://github.com/ujjwalvivek/davefuck

Dangerous Dave re-imagined in pure Brainfuck. JS only runs the Brainfuck VM and renders the resulting tape state.
https://github.com/ujjwalvivek/davefuck

brainfuck dave

Last synced: 10 days ago
JSON representation

Dangerous Dave re-imagined in pure Brainfuck. JS only runs the Brainfuck VM and renders the resulting tape state.

Awesome Lists containing this project

README

          

# Davefuck

![Echopoint SVG](https://echopoint.ujjwalvivek.com/svg/badges/custom?leftText=brainfuck&rightText=ROM&badgeColor=808000&textColor=ffffff)
![Echopoint SVG](https://echopoint.ujjwalvivek.com/svg/badges/custom?leftText=renderer&rightText=JS&badgeColor=804000&textColor=ffffff)
![Echopoint SVG](https://echopoint.ujjwalvivek.com/svg/badges/custom?leftText=60KB&rightText=WEB+PAYLOAD&badgeColor=400040&textColor=ffffff)

davefuck_showcase

Dangerous Dave written in Brainfuck that runs in the browser, with a ~60KB payload.

Anything happening in game is because `rom/dave.bf` changes cells on a Brainfuck tape. The JavaScript code is just the host for the ROM.

This release is the runnable Brainfuck ROM and web host.

## Controls

| Key | Action |
| ------------------------ | ----------------------- |
| Arrow Left / Arrow Right | move |
| Arrow Up | jump |
| R | restart |
| SPACE | shoot |
| LEFT ALT | jetpack enamble/disbale |

## Commands

```sh
npm run dev # run the browser host at http://localhost:4173
npm test # test the Brainfuck ROM
npm run size # report raw and gzip size for the payload
```

## License

This project is licensed under the MIT License. See the [LICENSE](LICENSE).