Skip to content

[cmds] Port ttytetris to ELKS#1858

Merged
ghaerr merged 3 commits intomasterfrom
ttytetris
Apr 7, 2024
Merged

[cmds] Port ttytetris to ELKS#1858
ghaerr merged 3 commits intomasterfrom
ttytetris

Conversation

@ghaerr
Copy link
Owner

@ghaerr ghaerr commented Apr 7, 2024

This game is lots smaller than the Nano-X nxtetris, at just 6K bytes. It also doesn't use curses.

Currently, ELKS doesn't implement setitimer so timeout delay is a bit long at 1 second intervals using alarm(1).

To play, use h and l to shift left/right, j and k to spin block. s steps one down and space drops the block.
q quits.

Both ttytetris and ttyclock will run on the serial console too.

Distributed on 360k image, just for @toncho11! :) There's zero bytes free.
tty-tetris

@ghaerr ghaerr merged commit f22c7ac into master Apr 7, 2024
@ghaerr ghaerr deleted the ttytetris branch April 7, 2024 21:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant