This is a little game I wrote for my Trimui Smart Pro. It's optimized for 1280x720 resolution.
It uses Golang bindings for RayLib. My initial motivation was to learn some 3D programming.
It has 8 tutorials that show how to assemble some non-trivial states:

You can also play it on your desktop computer using a mouse and a keyboard.
- Download the zip file from https://github.com/geniot/tsp-rubik/releases Unpack it locally.
- Add a folder to your SD card. Eg. /mnt/SDCARD/Apps/Rubik and put the files from zip there.
- There is also a config.json file in /mnt/SDCARD/Apps/ which you need to modify: add a record for the new app, set 'show' to 1 (true).
- Reboot your TSP to pick up the changes.
- For updates: just rewrite the files in /mnt/SDCARD/Apps/Rubik
I use a Docker image with TSP SDK installed: https://github.com/geniot/trimui-smart-pro-toolchain
See the Makefile for more details.
For my desktop testing I use GoLand and Ubuntu.
- On TrimUI find System Tools > Network > Display IP
- Type
export IP=<IP> - Optional: start Dummy app on TrimUI (https://github.com/geniot/tsp-dummy-banner)
- Run
make all
GOOS=js GOARCH=wasm go build -o ./Raylib-Go-Wasm/index/main.wasm tsp-rubik/src tsp-rubik/src
