This is a Nibble port of my portable raycasting shooter Anarch which by now is also ported to Ringo. This game is completely public domain free software under CC0, you can do absolutely anything with it without any conditions.
I just got Nibble today and it worked pretty great so It was very simple to port this, I only had to write a < 150 LOC frontend. I have brightened the palette up a bit because it looked kinda dark on the Nibble display – you can change this with a define in the source (you can change basically anything, feel free to search the code). FPS is set to 35.
As ESP8266 doesn’t have a proper EEPROM but only flash-emulated one (AFAIK), the game save files would cause collisions with other games’ saves, so this is a version that has all levels playable from the start.
Sounds are in the traditional form of beeps – if someone knows of a way to play waveforms from RAM, this can be improved to play proper sounds and music as the game includes its own 8-bit samples.
I do it with the Arduino IDE. With it you can compile it and upload it.
You need to set it up first. I can’t find exact instructions for this anywhere now, but it’s similar to setting up any other board. Basically download Arduino IDE, open it, open library manager, install the Nibble library, open board manager, install Nibble board, then choose the correct board somewhere under settings.
Then you download the game’s source code (link in main post), then you create a new Arduino sketch (just create a folder named e.g. anarch), then copy all .h source files into that folder plus the file name main_nibble.ino – you need to rename this to match the folder, i.e. rename to anarch.ino. Then you simply open this sketch (folder) in Arduino IDE, connect Nibble via USB, select the port under settings, click compile & upload and that’s it.
It’s also possible to upload the compiled bin (provided in the main post) right away without compiling the source but that depends on your OS etc.
I’ll try to find the exact instructions for setting up the IDE.