Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jared-cone/roctris
Small terminal game to practice the Roc programming language
https://github.com/jared-cone/roctris
Last synced: 2 months ago
JSON representation
Small terminal game to practice the Roc programming language
- Host: GitHub
- URL: https://github.com/jared-cone/roctris
- Owner: jared-cone
- License: mit
- Created: 2022-04-10T21:56:45.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-08-01T04:28:36.000Z (over 1 year ago)
- Last Synced: 2023-08-01T05:34:15.997Z (over 1 year ago)
- Language: Rust
- Size: 5.15 MB
- Stars: 6
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- learn-roc - Roctris
- roc-awesome - jared-cone/roctris
README
# Roctris
Roctris is a minimal clone of a popular video game, created to learn the Roc programming language.![](roctris.gif)
It has only been compiled and tested on Linux Mint 22 (Ubuntu 24.04)
## Installation
1. Download and install [Roc](https://github.com/roc-lang/roc), either from source or from the nightly build.
2. Build the host: `roc dev --linker=legacy ./platform/main-build.roc`
3. Build and run Roctris: `roc dev --linker=legacy ./game/roctris.roc`## Playing
- Spacebar to start the game from the intro screen
- Left/Right arrow keys to move
- Up arrow key to rotate
- Down array key to move down one space
- Spacebar to drop to the bottom
- Q or ctrl+c to quit