https://github.com/madrury/roguelike
A Basic Roguelike Game
https://github.com/madrury/roguelike
game game-development roguelike
Last synced: 19 days ago
JSON representation
A Basic Roguelike Game
- Host: GitHub
- URL: https://github.com/madrury/roguelike
- Owner: madrury
- License: gpl-3.0
- Created: 2018-02-25T06:03:35.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2019-06-22T19:10:32.000Z (almost 6 years ago)
- Last Synced: 2025-04-02T22:51:13.553Z (about 1 month ago)
- Topics: game, game-development, roguelike
- Language: Python
- Homepage:
- Size: 685 KB
- Stars: 9
- Watchers: 4
- Forks: 1
- Open Issues: 25
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# A Basic Roguelike
This is a basic roguelike game implemented in python using the [tdl](https://python-tdl.readthedocs.io/en/latest/) library.

I was originally following the [rougelike tutorial revised](http://rogueliketutorials.com/), but have gone far off the path laid out there.
## How to Install
You'll need a working Python 3 installation to play.
Install the `tdl` library:
```
pip install tdl
```and then start the game with
```
python roguelike.py
```## Controls
- `hjkl` moves horizontally and vertically. You can also use the arrow keys.
- `yubn` moves diagonally.
- `z` passes a turn.
- `i` opens the inventory.
- `d` opens the inventory for dropping items.
- `t` opens the inventory for throwing items.
- `e` opens the inventory for equipping items.
- `g` picks up an item.
- `esc` quits a menu or the game.
- `alt + enter` enters full screen mode.## Things in the Dungeon
- You are the `@` sign.
- Letters represent monsters, watch out!
- `!`'s are potions. You can use them on yourself or throw them at enemies.
- `%`'s are scrolls. You can use them to cast spells.
- `↑`'s are throwing knives. You can throw them at any target.
- `&`'s are armor. Make sure to equip it!