https://github.com/jared-cone/roctris
Small terminal game to practice the Roc programming language
https://github.com/jared-cone/roctris
Last synced: 4 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 (about 3 years ago)
- Default Branch: main
- Last Pushed: 2024-10-04T16:09:39.000Z (8 months ago)
- Last Synced: 2024-10-08T09:02:39.698Z (8 months ago)
- Language: Rust
- Size: 11.3 MB
- Stars: 6
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- roc-awesome - jared-cone/roctris
README
# Roctris
Roctris is a minimal clone of a popular video game, created to learn the Roc programming language.
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