130 likes | 272 Views
League of Legends ( LoL ) Guidance Database. By: Evie Phan I257 – Database Management. Game Description. Game played team vs team, 5 players/team Each player selects 1 “Champion” to play Usually teams take turns to make these selections Each champion has different abilities
E N D
League of Legends (LoL)Guidance Database By: EviePhan I257 – Database Management
Game Description • Game played team vs team, 5 players/team • Each player selects 1 “Champion” to play • Usually teams take turns to make these selections • Each champion has different abilities • Strong against some, weak against other enemies • Map zones (“lanes”): Top, Mid, Bottom, Jungle • Each champion plays well only certain lanes • Players buy items during the game
Problem Statement • Many LoL websites, but information scattered • Database puts it all together • Anyone who plays on Summoners Rift map can use this database • Especially those playing Draft or Ranked
Use Cases • What champions or items are good at countering another champion? • What items should I buy for a championand how much they will cost? • Which champions work well together? • Champion recommendation for a certain lane based on enemy champion picks
Design • Create all the tables that I might need • Start with only a few queries, add more over time • Provide web interface for all the queries but not for adding information • I will update the tables myself as the game changes
Design – Several Identical Items Option 1 Option 2
Design – Symmetric Unary Relationships Synergy Table Option 1 • Queries are simpler • Updates are more tedious Option 2 • Queries are more tedious • Updates are simpler
Implementation – Populating Tables • Most of the data came from online sources • https://docs.google.com/spreadsheet/ccc?key=0Al8z9Z7RVccedGtsaVZCeFE5QzBaWFRaZ3dMb1VjOFE#gid=0 • http://lolcounter.com/list.php • http://na.leagueoflegends.com/items • I had to clean up a lot of data • Dealing with typos: SELECT DISTINCT CounterItems.CounterItem, Items.Item FROM CounterItems LEFT JOIN Items ON CounterItems.CounterItem=Items.Item WHERE Items.Item is NULL
Implementation – Queries • Get champion selection recommendations • Enemy choices: Veigar, Sona, Lee Sin • Lane: Top Select Laning.Lane, Laning.Champion, CounterChampions.EnemyFrom Laning, CounterChampionsWHERE Laning.Lane='Top' AND CounterChampions.Counterpick=Laning.Champion AND (CounterChampions.Enemy='Veigar' OR CounterChampions.Enemy='Sona' OR CounterChampions.Enemy='Lee Sin')
User Interaction – Queries • Go to Navicat for Examples
User Interaction: Demo • Countering an enemy