Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[cmds] Port ttytetris to ELKS #1858

Merged
merged 3 commits into from
Apr 7, 2024
Merged

[cmds] Port ttytetris to ELKS #1858

merged 3 commits into from
Apr 7, 2024

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
2 checks passed
@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