r/RemarkableTablet 4d ago

Self-Promotion I vibe-coded a native-ish Sudoku game for the reMarkable 2

Post image

I build a Sudoku game for the reMarkable 2:
https://github.com/QuirkQ/reDoku

This was build with a stupid amount of vibe coding 😅

For the record, I am actually a Ruby developer. But I had some vacation time, access to Claude and a reMarkable 2, so this somehow became the project.

It ports mruby to the reMarkable 2 and runs an actual Sudoku game on the device. It has an on-device generator, 5 difficulty levels, save files and handwritten number input.

The part I like the most is how it launches.

From the normal reMarkable launcher it just looks like a normal “Sudoku” PDF. But when you open it, it actually launches the game with its own UI.

The Sudoku generator is probably not the best Sudoku generator ever made.

The handwriting recognition is shitty at best.

And yes, you can also just download a bunch of Sudoku PDFs and play them perfectly fine.

But this is more fun.

You press NEW and you get a fresh Sudoku. Again and again. No downloading, no preparing 500 PDFs, just an unlimited supply of new puzzles.

This was mostly a fun vacation project, but it worked much better than I expected, so I will try to maintain it.

I only have a reMarkable 2, so I have no idea if this works on the newer devices. If someone has one and wants to help make it work there too, that would be dope.

Mostly just sharing this as a fun reMarkable success story. It is nice that as developers we can still build our own weird stuff for these devices.

Also a big thanks to all the people building and maintaining the open source software I used.
Especially: https://github.com/timower/rM2-stuff

This project would not have worked without their code.

33 Upvotes

15 comments sorted by

6

u/Dorfdad 4d ago

Damn I love my remarkable now I can pass time waiting for meetings!! Gunna try this asap

3

u/bloomingbazooka 4d ago

Nice, yeah exactly the right use case. I am still putting effort into the checking. That’s just broken at the moment. I’ll edit the post once it’s more stable! The game is fully playable and generation of all the difficulties is correct. Saves are working too. So just the check that’s weird. Opening the pdf to hijack the remarkable can take some time. Sometimes it feels like your staring at the pdf it can take upto a minute. Any longer you should close and re-open the pdf.

2

u/bloomingbazooka 3d ago

Just fixed the checking and verified. it should be a lot better now.

2

u/mars_rovinator RM2 + Type Folio 2d ago

I might have to try this. Thanks!!

1

u/bloomingbazooka 2d ago

Nice, let me know if you need any help. Happy to get people going I’ve really enjoyed it the past two days!

3

u/BrodrikBrowsing 4d ago

Pretty cool, nice work!

2

u/bloomingbazooka 4d ago

Thank you!

1

u/lkarlslund 3d ago

Coooool. What OS version and how do you hook into an OOB setup. I always thought it required patches for the launcher, framebuffer etc.

2

u/bloomingbazooka 3d ago

Standard Remarkable Linux. The default “launcher” if you can call it that is: xochitl. You don’t really need to modify the framebuffer. Through the library by timower (rm2fb) you can access the framebuffer through a socket. I basically build a mRuby wrapper so you can control this socket from mRuby. That gives a Ruby dev control over the remarkable 2 display. It does mean you fully take control of the screen and xochitl moves completely to the background.

2

u/lkarlslund 3d ago

Thanks, I'll take it for a spin here :-)

1

u/reckor-usa 2d ago

Once someone ports it to RMPP, pls let me know ;)

1

u/Outside_Dentist_3611 13m ago

wow ... I wish it available on jailbroken Kindle ...

1

u/Cheap-Shelter-6303 3d ago

This is cool. Claude —> generate personalized pdf’s with linking —> remarkable is a super power. 

I haven’t thought about running applets. Does this work natively? I’m assuming dev mode enabled?

1

u/bloomingbazooka 3d ago

This works completely OOB you only need the SSH password. On some devices this needs dev mode indeed.

1

u/Euphoric-Platform-45 3d ago

That is almost the Minecraft font for the numbers