Skip to content

input/tcod-base

Folders and files

NameName
Last commit message
Last commit date

Latest commit

24e2397 · Jan 12, 2025

History

13 Commits
Jan 12, 2025
Nov 28, 2024
Nov 28, 2024
Nov 13, 2024
Nov 13, 2024
Jan 12, 2025
Nov 13, 2024
Nov 24, 2024

Repository files navigation

README

tcod-base is a minimal starter kit for building projects with python-tcod.

tcod-base was primarily inspired by HexDecimal's Roguelikedev tutorial engine repo, but diverges somewhat in its code architecture.

Features

Features include base implementations of:

  • state management
  • UI system
  • general-purpose event-observer system
  • keyboard controls
  • map generation
  • inventory
  • message log

Screenshots

tcod-base main menu Main menu

tcod-base ground map Ground map

tcod-base water map Water map

tcod-base inventory Inventory

Install

Download or clone the repository:

git clone https://github.com/input/tcod-base

Install the requirements:

cd tcod-base
[activate a virtual environment]
pip install -r requirements.txt

Launch:

python main.py

Documentation

Documentation for tcod-base can be found in the docs directory.

Also see python-tcod's documentation.

License

tcod-base is released under the 3-Clause BSD License.