Coder Social home page Coder Social logo

lucked / lol-pick-ban-ui Goto Github PK

View Code? Open in Web Editor NEW

This project forked from rcvolus/lol-pick-ban-ui

0.0 0.0 0.0 2.7 MB

Web-Based UI to display the league of legends champ select in esports tournaments.

JavaScript 56.91% HTML 2.89% CSS 11.86% TypeScript 28.33%

lol-pick-ban-ui's Introduction

lol-champselect-ui

UI to display the league of legends champion selection in esports tournaments.

Architecture:

Architecture

Who used this?

It is most convincing to see the tool directly in action. Have you used it in any of your productions or projects? Feel free to send a pull request adding your project to this list along our way.

Features

  • Connects to the League Client and fetches information about the current champ select in real time
  • Automatically fetches champion loading images, splash arts and square icons from datadragon, which means that if a new champion is released it will automatically fetch the correct resources.
  • Ready to use design templates:
    • Europe (similar to the pick&ban UI used in the LEC)
  • Easy feature toggle (when using design templates) for:
    • Show / hide scores (usable if it's not best of 1)
    • Show / hide coaches
    • Show / hide summoner spells (usable in live matches on the live server where the enemy team is not supposed to see the summoner spells of the opposite team.
  • Easy configuration:
    • Set team names
    • Set coach names
    • Set score
    • Set colors (default blue/red, but they can differ!)
  • Allows to completely create a custom design based on web technologies (HTML, CSS & JS), including custom animations and transitions

Replays (Playing a recorded champ select)

Replays are available. They are pretty useful to test your overlay with, since it mocks the data sources and simulates a draft phase, that has already passed. There are some recordings of replays in the "recordings" folder.

In order to play a replay that simulates a full tournament draft, please issue the following command to start the backend (the root project):

npm start -- --data recordings/tournament-draft

While you are in a replay, you can focus the window and press "p" on your keyboard once, to pause or unpause the replay. This will freeze the current state, so you can adapt your design without having to hurry.

Configuration

You can configure the variable values, like team names, team scores, coach names and even the colors used. Just open up the file config.json in the project root with any texteditor, like notepad. Any changes you do inside this file will be reflected immediately and do not require a restart or reload.

Installation (Development purposes)

  1. Download and install Node.JS for Windows (or any other operating system): https://nodejs.org/dist/v10.16.3/node-v10.16.3-x64.msi
  2. Download or clone this Git-Repository to your local machine.
  3. Inside the downloaded folder, open up a command prompt (Windows: Shift + Rightclick -> Open Powershell / Commandline Window here)
  4. Install all required dependencies for the backend using the command npm install
  5. Start the backend using the command npm start
  6. The backend should now launch on localhost:8999

Installation of europe layout

  1. Open up the folder layouts/layout-volu-europe, keep the backend open & running!
  2. Also open the terminal here (like in step 3)
  3. Also issue npm install (like in step 4)
  4. Also start the frontend using npm start (like in step 5)
  5. The application will now be accessible under http://localhost:3000?backend=ws://localhost:8999

Installation of simple layout

Please note that for simple layout, you need to edit the two files "overlay.png" and "underlay.png" in the folder layouts/layout-simple. We have provided some example, however you need to do it on your own.

  1. Open up another terminal in the project root folder, using Shift + Rightclick -> Open Powershell.
  2. You only need to execute the following command once: npm install -g serve
  3. Now start the local web server, using the simple command serve
  4. Now the application is accessible under http://localhost:5000/layouts/layout-simple/?backend=ws://localhost:8999

Demo (YouTube)

Demo Video

Creating your own design

Please refer to CUSTOM_THEME.

Support

If you have any inquiry, you can always write an email to pick-ban(ät)lars.ninja. Please note that this project is developed in freetime, and support may not be available at all times.

Contributors / Maintainers

  • Development: Lars "Larce" Bärtschi
  • Design (Europe): Elias "Elilift" Inäbnit

Please feel free to contact me via Twitter and let me know if you used this project! I'm also happy to help out if any questions or inquiries or feedback appear regarding this! @LarsBaertschi

Legal disclaimer

lol-pick-ban-ui was created under Riot Games' "Legal Jibber Jabber" policy using assets owned by Riot Games. Riot Games does not endorse or sponsor this project. However, Riot was informed and has confirmed that this project is compliant with their ToS.

lol-pick-ban-ui's People

Contributors

laraakaa avatar dependabot[bot] avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.