#level #laser #strategy #game #terminal #lighting #statues

bin+lib l1t

A terminal strategy game about shooting lasers and lighting statues

4 releases

0.2.1 Apr 29, 2023
0.2.0 Apr 27, 2023
0.1.1 Apr 25, 2023
0.1.0 Apr 25, 2023
0.0.1 Apr 25, 2023

#264 in Games

Download history 3/week @ 2024-03-28 1/week @ 2024-04-04

58 downloads per month

GPL-3.0-only

94KB
2K SLoC

l1t

A terminal strategy game about shooting lasers and lighting statues. Built in Rust.

l1t-logo

In l1t, your goal is to use the available lasers to light up all of the statues in the level.

Installation


Arch Linux AUR

l1t is available on the AUR under l1t-bin.

Using the AUR helper yay:

yay -S l1t-bin

Cargo/crates.io

l1t can be installed from crates.io using cargo:

cargo install l1t

Build from Source

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

Gameplay

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.

CONTROLS

  • W - Move Up
  • S: Move Down
  • A: Move Left
  • D: Move Right
  • Space: Toggle surrounding blocks (if able)
  • Shift-H: Show this help menu
  • Q: Quit

Arrow keys can also be used to move around the level

PLAYER

Hey, that's you!

LASERS

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.

STATUES

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.

REVERSE STATUES

Same as statues except they must NOT be lit up to win the level.

MIRRORS

Mirrors reflect laser beams in different directions.

Mirrors cannot be moved but their direction can be toggled by the player.

MOVEABLE MIRRORS

Moveable Mirrors are the same as mirrors except they CAN be moved.

ZAPPERS

If any Zappers are lit by a laser beam, you will lose the level.

OTHER BLOCKS

  • 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.

Dependencies

~9–21MB
~320K SLoC