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

ryoari/tower_of_chance

Repository files navigation

Tower of Chance

A colorful, modular game of luck and skill where you climb a tower filled with challenges, bosses, and hidden floors.

      ----,
      ,/   .`|     ,----..
    ,`   .'  :    /   /   \              .---.     ,---,. ,-.----.
  ;    ;     /   /   .     :            /. ./|   ,'  .' | \    /  \
.'___,/    ,'   .   /   ;.  \       .--'.  ' ; ,---.'   | ;   :    \
|    :     |   .   ;   /  ` ;      /__./ \ : | |   |   .' |   | .\ :
;    |.';  ;   ;   |  ; \ ; |  .--'.  '   \' . :   :  |-, .   : |: |
`----'  |  |   |   :  | ; | ' /___/ \ |    ' ' :   |  ;/| |   |  \ :
    '   :  ;   .   |  ' ' ' : ;   \  \;      : |   :   .' |   : .  /
    |   |  '   '   ;  \; /  |  \   ;  `      | |   |  |-, ;   | |  \
    '   :  |    \   \  ',  /    .   \    .\  ; '   :  ;/| |   | ;\  \
    ;   |.'      ;   :    /      \   \   ' \ | |   |    \ :   ' | \.'
    '---'         \   \ .'        :   '  |--"  |   :   .' :   : :-'
    ,----..        `---`           \   \ ;     |   | ,'   |   |.'
   /   /   \       ,---,.           '---"      `----'     `---'
  /   .     :    ,'  .' |
 .   /   ;.  \ ,---.'   |
.   ;   /  ` ; |   |   .'
;   |  ; \ ; | :   :  :
|   :  | ; | ' :   |  |-,
.   |  ' ' ' : |   :  ;/|
'   ;  \; /  | |   |   .'
 \   \  ',  /  '   :  '
  ;   :    /   |   |  |
   \   \ .'    |   :  \
    `---`      |   | ,'
               `----'
                    ,--,                          ,--.
  ,----..         ,--.'|    ,---,               ,--.'|   ,----..       ,---,.
 /   /   \     ,--,  | :   '  .' \          ,--,:  : |  /   /   \    ,'  .' |
|   :     : ,---.'|  : '  /  ;    '.     ,`--.'`|  ' : |   :     : ,---.'   |
.   |  ;. / |   | : _' | :  :       \    |   :  :  | | .   |  ;. / |   |   .'
.   ; /--`  :   : |.'  | :  |   /\   \   :   |   \ | : .   ; /--`  :   :  |-,
;   | ;     |   ' '  ; : |  :  ' ;.   :  |   : '  '; | ;   | ;     :   |  ;/|
|   : |     '   |  .'. | |  |  ;/  \   \ '   ' ;.    ; |   : |     |   :   .'
.   | '___  |   | :  | ' '  :  | \  \ ,' |   | | \   | .   | '___  |   |  |-,
'   ; : .'| '   : |  : ; |  |  '  '--'   '   : |  ; .' '   ; : .'| '   :  ;/|
'   | '/  : |   | '  ,/  |  :  :         |   | '`--'   '   | '/  : |   |    \
|   :    /  ;   : ;--'   |  | ,'         '   : |       |   :    /  |   :   .'
 \   \ .'   |   ,/       `--''           ;   |.'        \   \ .'   |   | ,'
  `---`     '---'                        '---'           `---`     `----'

Description

Tower of Chance is a text-based adventure game where you play as an adventurer climbing a mysterious tower. Each floor presents unique challenges that test your luck, skill, or a combination of both. As you climb higher, you'll encounter boss floors, discover hidden areas, meet companions, and collect rewards that enhance your abilities.

Features

  • Colorful Text Interface: Vibrant, color-coded text makes the game visually engaging
  • Multiple Challenge Types: Face luck-based, skill-based, and mixed challenges
  • Character Classes: Choose from different character classes, each with unique starting stats
  • Skill Progression: Improve your luck, strength, agility, and wisdom as you climb
  • Boss Battles: Encounter powerful bosses every 10 floors
  • Hidden Floors: Discover secret areas with special rewards
  • Companions: Meet and recruit companions who provide bonuses to different challenge types
  • Dynamic Environment: Experience changing weather and day/night cycles that affect challenges
  • Mini-Games: Enjoy various mini-games for additional rewards
  • Achievement System: Unlock achievements as you progress
  • Customizable Settings: Adjust game difficulty, animation speed, and more
  • Challenge Editor: Create and modify your own challenges

Installation

  1. Ensure you have Python 3.6+ installed
  2. Clone this repository or download the files
  3. Install the required dependencies:
pip install -r requirements.txt

How to Play

Windows

Run the game by double-clicking play.bat or using the command:

python tower_of_chance.py

Linux/macOS

Run the game using:

chmod +x play.sh
./play.sh

or

python3 tower_of_chance.py

Game Controls

  • Use number keys to select options from menus
  • Follow on-screen prompts during challenges
  • Type responses when required for certain challenges

Game Mechanics

Character Creation

  • Choose from 5 different character classes
  • Distribute additional skill points to customize your character

Challenge Types

  • Luck Challenges: Test your fortune with coin flips, card draws, and dice rolls
  • Skill Challenges: Test your reflexes, memory, and problem-solving abilities
  • Mixed Challenges: Combine luck and skill elements
  • Legendary Challenges: Rare, difficult challenges that test all your abilities

Tower Structure

  • 100 floors total
  • Boss floors every 10 levels
  • Legendary floors every 20 levels
  • Hidden floors can be discovered with high wisdom
  • Checkpoints every 5 floors

Progression

  • Gain skill improvements from rewards
  • Collect items that provide bonuses
  • Recruit companions to help with challenges
  • Earn achievements for reaching milestones

Customization

The game includes several customization options:

  • Multiple color themes (default, dark, light, retro)
  • Adjustable animation speed
  • Sound effects toggle
  • Challenge editor to create your own challenges
  • Configurable game settings

Save System

  • Auto-save feature (can be toggled)
  • Manual save option in the main menu
  • Load saved games when starting

Requirements

  • Python 3.6+
  • Colorama package

License

See the LICENSE file for details.

Credits

Created by RYOARI

ASCII art generated for the Tower of Chance game by Gemini and Amazon Q

Feedback and Contributions

Feedback and contributions are welcome! Please feel free to submit issues or pull requests.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages