Skip to content

Latest commit

 

History

History
36 lines (29 loc) · 1015 Bytes

README.md

File metadata and controls

36 lines (29 loc) · 1015 Bytes

Dota 2 to League of Legends

Mini app that suggest League champions based on selected Dota 2 heroes.

alt tag

To run locally:

bundle install
yarn install
rails db:setup
rails s

# In other terminal
./bin/webpack-dev-server

# See localhost:3000

Champion similarities (basically connections between Dota and League champs) are located in db/similarities.json. Format:

{
  "name": "Earthshaker",     // Dota hero name
  "similarities": [          // An array of objects that describe League champ (similar to that hero)
    {
      "name": "Alistar",
      "role": true,          // Set true when similar by role in game
      "skills": true,        // Set true when similar by skills or mechanics
      "theme": true,         // Set true when similar by theme or visuals
      "description": "Text"  // Explanation about why the champion is similar to hero (besides 3 booleans above)
    }
  ]
}