Skip to content

dornheimer/roguelike-python3

Repository files navigation

roguelike

a simple roguelike created during the tutorial event on r/roguelikedev, written with python + libtcod.

the code is mostly a copy of the (revised) libtcod tutorial (by TStand), which is in turn based on the original tutorial on roguebasin (by Jotaf).

over time, i added some features of my own:

  • freeze scroll (and frozen enemy 'behavior')
  • more equipment slots (and new equippable items)
  • consumables and equipment are in different item pools
  • equipment menu (with item stats)
  • target highlighting
  • ui tweaks (colored text, changed font file)
  • added (very basic) description to all entities
  • description and equipped items show up when mouse is moved over entity
  • new menu background (source image by christopher balaskas)
  • monsters can have starting equipment
  • implemented some alternative dungeon generation algorithms (i used AtTheMatinee's code for reference)

installation

requires: python 3.6

linux

  1. clone repo git clone https://github.com/dornheimer
  2. run engine.py

windows

  1. clone repo git clone https://github.com/dornheimer
  2. follow intructions here to download missing libtcod dlls
  3. run engine.py

About

r/roguelikedev tutorial (updated to python3)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages