Skip to content

imbrou/monsters

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

An educational app for code optimisation

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages