Crates.io | l1t |
lib.rs | l1t |
version | 0.2.1 |
source | src |
created_at | 2023-04-25 17:22:19.09757 |
updated_at | 2023-04-29 18:28:00.625287 |
description | A terminal strategy game about shooting lasers and lighting statues |
homepage | https://github.com/alex-laycalvert/l1t |
repository | https://github.com/alex-laycalvert/l1t |
max_upload_size | |
id | 848681 |
size | 179,192 |
A terminal strategy game about shooting lasers and lighting statues. Built in Rust.
In l1t
, your goal is to use the available lasers to light up all of the
statues in the level.
l1t
is available on the AUR under l1t-bin
.
Using the AUR helper yay
:
yay -S l1t-bin
To build l1t
from the source code, make sure you have cargo from
the Rust toolchain.
Once it's installed, you can use these steps:
git clone https://github.com/alex-laycalvert/l1t
cd l1t
cargo build
# Optionally, run directly with cargo
cargo run -- # your options here...
The l1t
executable will then be available under target/release/l1t
The following guide is also built in to l1t
and can be accessed by selecting
HELP
from the main menu or pressing Shift-H
at anytime while playing a level.
Arrow keys can also be used to move around the level
Hey, that's you!
Lasers shoot laser beams in their set direction (UP, DOWN, LEFT, RIGHT). Laser beams are the key to winning the game and can affect various blocks.
Lasers cannot change directions but they can be toggled on and off.
If a laser beam hits you, you will die and have to restart the level.
If a laser is hit by a laser beam, it will turn off and must be toggled on by the player.
All statues in a level must be lit up by a laser beam to win the level.
Statues can not be moved or manually toggled.
Same as statues except they must NOT be lit up to win the level.
Mirrors reflect laser beams in different directions.
Mirrors cannot be moved but their direction can be toggled by the player.
Moveable Mirrors are the same as mirrors except they CAN be moved.
If any Zappers are lit by a laser beam, you will lose the level.
Walls: Cannot be moved by player, will block laser beams.
Blocks: Can be moved around and will block laser beams.
Toggle Blocks: Cannot be moved. Switches and buttons can toggle these on and off.
Switches: When toggled, will turn toggle blocks on/off.
Buttons: When pressed, will turn toggle blocks on/off. Player must be next to button to press.