Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/zoomten/pocket-clicker
A simple Cookie Clicker clone for the Game Boy with a twist, written in Nim.
https://github.com/zoomten/pocket-clicker
game-boy gbdev gbdk gbdk-2020 nim-lang
Last synced: about 6 hours ago
JSON representation
A simple Cookie Clicker clone for the Game Boy with a twist, written in Nim.
- Host: GitHub
- URL: https://github.com/zoomten/pocket-clicker
- Owner: ZoomTen
- Created: 2024-01-28T14:35:15.000Z (10 months ago)
- Default Branch: master
- Last Pushed: 2024-07-09T15:52:05.000Z (4 months ago)
- Last Synced: 2024-07-09T20:09:34.854Z (4 months ago)
- Topics: game-boy, gbdev, gbdk, gbdk-2020, nim-lang
- Language: Nim
- Homepage:
- Size: 92.8 KB
- Stars: 11
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Pocket Clicker
A Cookie Clicker clone for the Game Boy written in Nim! (plus my own `crt0` and basic routines in ASM)
Unlike my [last proof-of-concept](https://github.com/ZoomTen/nim-gb-test), this time I try not to depend too much on GBDK (particularly the GB-specific part), but rather to try and compile everything from the C that Nim generates.
![](docs/screenshot.png)
(Pokémon-theme hopefully temporary)
## How to build
For best results, do this in a Unix-like environment.
### Requirements
* [Nim](https://nim-lang.org/) ≥ 2.0.0
* [GBDK 2020](https://gbdk-2020.github.io/gbdk-2020/)### Steps
1. Ensure the `GBDK_ROOT` environment variable points to your GBDK 2020 installation folder.
2. Clone the repo:
```
git clone https://github.com/ZoomTen/pocket-clicker
```
3. `cd` into the repo folder and run:
```
nim build
```
4. To clean up the repo folder of generated files including the ROM:
```
nim clean
```
5. To clean up the repo folder **excluding** the ROM and debug symbols:
```
nim cleanDist
```