/rogue

Rougelike with Python

Primary LanguagePython

Rogue

A rougelike clone using Python v.3+

I'm using the libtcod library to explore and comprehend basic engine construction. Understanding engine structure will help with development of future projects and ideas.

____________________

Following this tutorial, which has been updated to include newer Python 3 syntax and libtcod functions.

Progress:

Part 1: get input and draw the character.

Part 2: 'Entity', render functions, and the map.

Part 3: Generating a dungeon.

Part 4: FOV (field-of-view)

Part 5: Placing enemies and a combat action.

Part 6: Handling damage.

-> Part 7: Creating the Interface.

____________________

Setup and Run:

Requirements:

  • tcod>=11.15

  • numpy>=1.18

----------

In CLI or terminal, navigate to root directory of project and enter:

>> python rogue.py 

The game will open in a new window.

____________________

Controls:

UP, DOWN, LEFT, RIGHT: moves the player sprite around on the screen

ESC: close the window and exit