Skip to content
This repository was archived by the owner on Mar 3, 2025. It is now read-only.

Latest commit

 

History

155 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rogue

Description

A Roguelike game in which the player explores randomly generated dungeons, fights monsters, collects items, equips gear, and uses magic with the goal of retrieving the Legendary Master Sword hidden in the dungeon.

Main features

  • Random level generation : Each floor of the dungeon is randomly generated with increasingly stronger enemies.
  • Turn-based combat : A turn-based combat system where actions are determined by the speed of the hero and the monsters.
  • Hero versatility : The player can choose to play in different ways, whether by fleeing, fighting, attacking close or ranged, using magic, and more.
  • Permadeath : Each death is permanent, encouraging the player to be strategic.

Technologies used

  • Language : Python
  • Librairies : abc, copy, math, random, typing, sys, os, msvcrt

Installation

  • Clone the repository :

    git clone https://github.com/HugoHeilmann/Rogue.git
  • Install a sufficient version of Python (3.6) :

    • Debian/Ubuntu :
    sudo apt-get install python3.6
    • Windows :

    https://www.python.org/downloads/

    • macOS :
    brew install python@3.6*
  • Run the game :

    python rogue.py
    # ou
    python3 rogue.py

Usage

  • Lateral movements : z(↑), q(←), s(↓), d(→)
  • Diagonal movements : a(↖), e(↗), w(↙), c(↘)
  • Use an object : u
  • Toss an object : t
  • Throw an object : j
  • Cast a spell : m
  • View the hero's description : i
  • View the description of owned items : o
  • View the description of spells : p
  • View the glossary of available actions : l
  • Do nothing : x
  • Kill yourself : k

Author

Hugo Heilmann, IT student, Polytech' Nice-Sophia

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages