Skip to content

LinusCDE/retris

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

retris

rm1 rm2 opkg launchers Mentioned in Awesome reMarkable

Implementation of rust tetris_core on the reMarkable using libremarkable

The patterns are some totally random functions. If someone wants to do something better (not just functions) or just loves math, go ahead.

Controlling

  • Move Left and Right: Hardware and Software buttons or swipe left and right
  • Move down: Swipe down
  • Rotate: Middle hardware button or tap anywhere

Installation

Prebuilt binary/program

  • Go the the releases page
  • Get the newest released "retris" file and copy it onto your remarkable, using e.g. FileZilla, WinSCP or scp.
  • SSH into your remarkable and mark the file as executable with chmod +x retris
  • Stop xochitl (the interface) with systemctl stop xochitl
  • Start the game with ./retris
  • After you're done, restart xochitl with systemctl start xochitl

Compiling

  • Make sure to have rustup and a current toolchain (nightly might be needed)
  • Install the oecore toolchain.
    • If you're not using linux, you might want to adjust the path in .cargo/config
  • Compile it with cargo build --release. It should automatically cross-compile.

reMarkable 2 support

This app cant actually drive the rM 2 framebuffer. It needs rm2fb for that.

If you execute retris from ssh, be sure to have followed rm2fb steps to enable the support. When launching through a launcher (from toltec) it should just work but have more ghosting on the rM2.

About

Implementation of rust tetris_core on the reMarkable using libremarkable

Topics

Resources

License

Stars

Watchers

Forks