Skip to content
sciencejihoPublic

About

A highly customizable League of Legends Item Draft Simulator with responsive UI, shared champion mode, and pick/ban sequencing.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

1 Commit

Folders and files

Repository files navigation

Item Draft Simulator

A fully interactive League of Legends drafting simulator written in Python with Tkinter.
Players share a randomly assigned champion, then take turns performing BAN and PICK actions on items following a configurable draft sequence.

The UI is responsive, supports search + tag filtering, and displays item and champion icons directly from the /assets directory.


✨ Features

🎮 Draft System

  • Follows the official draft order:
    • BAN → BAN → ... → PICK → PICK → … (customizable in core/draft_steps.py)
  • Tracks:
    • Blue picks & bans
    • Red picks & bans
    • Disabled (already selected) items

🧩 Shared Champion Assignment

  • On each draft start, a champion is chosen randomly.
  • Both sides play the same champion.
  • Large champion icon & name displayed at top center.

📦 Item Grid

  • Fully responsive grid using Canvas
  • Columns dynamically change based on window width
  • Smooth resizing (debounced)
  • Search bar + tag filters
  • Item card includes:
    • Icon
    • Name
    • Cost
    • Tags
    • Pick/Ban button

🖼 Icons

  • Fast loading via cache
  • Icons stored locally:
assets/
champion/
item/
  • Automatic detection of missing images

📜 Draft Log

  • Colored logs for Blue and Red team actions
  • Scrollable text widget
  • Log preserved until reset

📁 JSON Tools

  • Export draft results to JSON
  • Load a custom items JSON file at runtime

🔧 Modular Structure

The project is cleanly split into structured directories:

src/
├── core/
│ ├── model.py
│ ├── loader.py
│ └── draft_steps.py
├── ui/
│ ├── app.py
│ ├── icons.py
│ ├── sidebar.py
│ ├── grid.py
│ ├── champion.py
│ └── logbox.py
└── main.py
assets/
├── item/
├── champion/
├── items.json
└── champions.json

About

A highly customizable League of Legends Item Draft Simulator with responsive UI, shared champion mode, and pick/ban sequencing.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages