https://github.com/schwalbe-t/Lania
A 2d top-down turn-based strategy terminal game written from scratch in C.
https://github.com/schwalbe-t/Lania
2d 2d-game cli-game command-line-game game strategy strategy-game terminal-app terminal-game terminal-graphics top-down top-down-game turn-based turn-based-game turn-based-strategy
Last synced: about 1 month ago
JSON representation
A 2d top-down turn-based strategy terminal game written from scratch in C.
- Host: GitHub
- URL: https://github.com/schwalbe-t/Lania
- Owner: schwalbe-t
- License: mit
- Created: 2023-09-17T08:06:03.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-12-17T10:53:33.000Z (over 1 year ago)
- Last Synced: 2025-03-02T05:12:33.254Z (about 2 months ago)
- Topics: 2d, 2d-game, cli-game, command-line-game, game, strategy, strategy-game, terminal-app, terminal-game, terminal-graphics, top-down, top-down-game, turn-based, turn-based-game, turn-based-strategy
- Language: C
- Homepage:
- Size: 787 KB
- Stars: 11
- Watchers: 1
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Lania
*A 2d top-down turn-based strategy terminal game written from scratch in C.*# How to play
Download the pre-built release binary for your platform.
If you have a C compiler installed, you may instead also clone the repository and compile all the `.c`-files in the `src`-directory.
If you also happen to use Linux, you may also just simply run `run.sh` (by running `chmod +x ./run.sh` and then `./run.sh`, or by running `bash -e run.sh`) (this will use `gcc`).The downloaded or compiled executable must be started in a terminal of your choice. Although slow because of the coloring, the Windows command prompt and Windows PowerShell were proven to work as well. Only 3-bit coloring (background and foreground) with ANSI escape sequences is used, meaning it is compatible with a wide range of terminals.
During execution, the game will create a file called `savegame` in the current working directory. It does what it says, storing the progress you made in the game. Delete this file to reset your progress.
# Screenshots
*(Taken on Fedora Linux in the GNOME terminal)*




