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

https://youtu.be/Bj9-vjEBBAk

https://youtu.be/rP0ZQ0bL8H8

More info about CHIP-8...

http://www.multigesture.net/articles/how...terpreter/

Whole lot of games available here...

https://github.com/dmatlack/chip8/tree/master/roms

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

https://github.com/YushiOMOTE/libchip8

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)

https://github.com/lupyuen/pinetime-rust...c/chip8.rs

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?


Messages In This Thread
CHIP-8 Retro Game Emulator for PineTime - by lupyuen - 02-19-2020, 06:34 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Pinetime - Kids with special needs hidara 0 550 06-11-2024, 10:42 PM
Last Post: hidara
  Develop a new firmware for PineTime belushi 2 1,990 09-25-2023, 12:32 PM
Last Post: ccchan234
  Bluetooth BLE-MIDI-controller app for PineTime / InfiniTime Luno 0 884 08-20-2023, 05:17 AM
Last Post: Luno
  Python Hangman Game Program Error gulshan212 2 1,365 07-24-2023, 11:29 PM
Last Post: gulshan212
  Zephyr Backlight Examples for PineTime lcj 0 1,060 05-06-2023, 02:54 PM
Last Post: lcj
  Zephyr is ready for pinetime jandy 1 2,687 05-06-2023, 02:15 PM
Last Post: lcj
  Send a message from Android to pinetime via BLE razrosman 0 1,259 11-05-2022, 08:24 AM
Last Post: razrosman
  PineTime Stuck in DFU Mode Eesha Barua 1 2,636 07-25-2022, 09:17 PM
Last Post: heyhewmike
  Idle tracking with PineTime: how versatile it is? schaman 1 2,140 07-13-2022, 12:50 AM
Last Post: wibble
  PineTime implemented with partial of pebble API jandy 0 1,876 03-20-2022, 08:58 PM
Last Post: jandy

Forum Jump:


Users browsing this thread: 2 Guest(s)