Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
J4NN0 committed Nov 15, 2023
1 parent 32d6149 commit b8e8e97
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ Last but not least, take a look at the resources listed below - they might be he
PBE = "pbe1"
```

Before running (either with CLI or `make`), add environment variables above and then source them however you like
Before running (either with CLI or `make`), add environment variables above and then source them however you like:

cp .env.sample .env

Expand All @@ -88,7 +88,7 @@ Last but not least, take a look at the resources listed below - they might be he

loltactics help, h

- Download and/or upload champion data
- Download and/or upload champion(s) data
- Fetch specific champion data (e.g. `jhin`)

loltactics download,d jhin
Expand All @@ -98,7 +98,7 @@ Last but not least, take a look at the resources listed below - they might be he
loltactics download_all, da, a

- Fight tactics
- Fight tactics between two (no more) champions (e.g. `lucian` vs `jhin`)
- Fight tactics between two (neither less nor more) champions (e.g. `lucian` vs `jhin`)

loltactics fight,f lucian jhin

Expand Down Expand Up @@ -185,18 +185,18 @@ func main() {

lolChampion1, err := lolTactics.ReadChampion("LOL_CHAMPION_1")
if err != nil {
fmt.Println("Could not load champion: %v", err)
fmt.Printf("Could not load champion: %v\n", err)
return
}

lolChampion2, err := lolTactics.ReadChampion("LOL_CHAMPION_2")
if err != nil {
fmt.Println("Could not load champion: %v", err)
fmt.Printf("Could not load champion: %v\n", err)
return
}

fightTactic := lolTactics.Fight(lolChampion1, lolChampion2)
fmt.Println("Enemy defeated: %v", fightTactic)
fmt.Printf("Enemy defeated: %v\n", fightTactic)
}
```

Expand Down

0 comments on commit b8e8e97

Please sign in to comment.