Skip to content

Latest commit

 

History

History
29 lines (21 loc) · 607 Bytes

File metadata and controls

29 lines (21 loc) · 607 Bytes

Monster Database

A Python project that creates and queries a database of monsters with complex attributes.

Setup

  1. Install dependencies:
pip install -r requirements.txt

Usage

  1. Initialize the database (creates and populates the monsters.json file):
python monster_init.py
  1. Query the database:
python monster_start.py

Features

  • Database creation with 10,000 monsters stored in a JSON file
  • Each monster has random attributes, abilities, and inventory items
  • Monster names are combinations of Harry Potter characters and French politicians
  • Monsters sorting