Skip to content

Repository files navigation

Leetsouls

Yes.

Its leetcode embedded into Fromsoft games as a mod

Good luck. or just dont die

Supported Fromsoft games

  • Elden Ring

How to Install

How to Run

Leetsouls Design

alt text

Technologies Used

  • Node.js 24.14.1
  • Puppeteer.js 25.2.1

Leetcode Randomizer Design

alt text

Details about architecture

API Request vs Cache for Randomizer

Moving from API Request per Randomize to Series of API Calls once, then caching the question names in json for fast lookup later.

Fetching a single page:
- Fetching a page: 538.204ms
- Fetching a page: 372.856ms
- Fetching a page: 408.733ms
- Fetching a page: 205.154ms
- Fetching a page: 307.328ms

Calling by index from cache:
- Syncing_first_time: 8349ms
- cache_time: 0.953ms
- cache_time: 0.736ms
- cache_time: 0.893ms
- cache_time: 0.9ms
- cache_time: 0.754ms

Average via fetch then randomize: 366.455ms
Average via cache then randomize: 0.8472ms

Average Time reduction per request: -365.6078ms

8349ms / 366.455ms = 22 requests

Also questions are cached in leetcode-cache.json therefore user does not have to spend 8349ms for first sync.

About

Welcome to Leetsouls. When your character dies in a souls game, you must pass a random leetcode or you lose everything

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages