CHIP-8 Retro Game Emulator for PineTime
Sharing a quick fun diversion that I coded on PineTime within a day... PineTime now runs CHIP-8 retro games! Here are the videos...

More info about CHIP-8...

Whole lot of games available here...

I used an existing CHIP-8 Emulator for Rust...

The code I actually wrote is surprisingly little... (What took so long to get it right? Tracking down which Rust function was taking too much stack space)

Thinking of using the accelerometer to control the game... tilt your watch up / down / left / right to control the player.... will this be playable? Hmmm...

I have some ideas how to optimise the rendering (e.g. batching of pixels into blocks). But this has been a really rewarding exercise on PineTime... All it takes is a few lines of Rust code to run games on PineTime! :-)

How about we take some retro games and turn them into PineTime Watch Faces?
Very neat hack!
PineTime: wasp-os and MicroPython, Pinebook Pro:  Debian Bullseye
Blinky can become a really cool Watch Face

With music...

Sent from my Pixel 4 XL using Tapatalk
With experimental colour...

Sent from my Pixel 4 XL using Tapatalk
Rendered on a curved surface. Looks better as an animated watch face? Will be writing about this on Medium...

Sent from my Pixel 4 XL using Tapatalk
Space Invaders and Blinky with improved rendering...

Sent from my Pixel 4 XL using Tapatalk
Touchscreen now emulates buttons...

Sent from my Pixel 4 XL using Tapatalk
This is awesome. Now do PICO-8 .. or LOAD81. Smile

Possibly Related Threads...
Thread Author Replies Views Last Post
Heart wasp-os: MicroPython for PineTime! danielt 39 2,706 3 hours ago
Last Post: VMMainFrame
  Article: Porting MicroPython and wasp-os to Mynewt on PineTime lupyuen 0 26 06-03-2020, 07:07 PM
Last Post: lupyuen
  Article: Wireless Firmware Update In Action on PineTime lupyuen 0 53 05-20-2020, 06:03 AM
Last Post: lupyuen
  MCUBoot Bootloader for PineTime lupyuen 2 297 05-18-2020, 04:23 PM
Last Post: lupyuen
  Simplified boot flasher for PineTime via PI jlukanc 0 46 05-15-2020, 04:38 PM
Last Post: jlukanc
  PineTime Hypnos endian-albin 0 100 05-10-2020, 02:28 AM
Last Post: endian-albin
  wasp-bootloader: a robust SoftDevice bootloader for PineTime danielt 3 528 04-14-2020, 05:31 AM
Last Post: danielt
  Pinetime backlight current. TT-392 2 246 03-11-2020, 09:57 AM
Last Post: TT-392
  Create PineTime Watch Apps with Visual Rust lupyuen 0 175 02-19-2020, 02:50 AM
Last Post: lupyuen
  Live Debug of RIOT-OS on PineTime lupyuen 3 295 02-11-2020, 06:33 AM
Last Post: wibble

Forum Jump:

Users browsing this thread: 1 Guest(s)