Skip to content

Legends of Runeterra deck code encoder/decoder in Julia

License

Notifications You must be signed in to change notification settings

wookay/LoRDeckCodes.jl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LoRDeckCodes.jl

Documentation Build Status

It's a Julia package to encode, decode the deck used for Legends of Runeterra. the original repository is RiotGames/LoRDeckCodes.

julia> using LoRDeckCodes

julia> deck = Deck("CEBAIAIFAEHSQNQIAEAQGDAUDAQSOKJUAIAQCBI5AEAQCFYA")
Deck(CardCodeAndCount[CardCodeAndCount("01SI001", 3), CardCodeAndCount("01SI015", 3), CardCodeAndCount("01SI040", 3), CardCodeAndCount("01SI054", 3), CardCodeAndCount("01FR003", 3), CardCodeAndCount("01FR012", 3), CardCodeAndCount("01FR020", 3), CardCodeAndCount("01FR024", 3), CardCodeAndCount("01FR033", 3), CardCodeAndCount("01FR039", 3), CardCodeAndCount("01FR041", 3), CardCodeAndCount("01FR052", 3), CardCodeAndCount("01SI029", 2), CardCodeAndCount("01FR023", 2)], 0x01)

julia> DeckEncoder.encode_deck(deck)
"CEBAIAIFAEHSQNQIAEAQGDAUDAQSOKJUAIAQCBI5AEAQCFYA"

Installation

  • ] key on Julia REPL.
(v1.1) pkg> add https://github.com/wookay/LoRDeckCodes.jl.git

About

Legends of Runeterra deck code encoder/decoder in Julia

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages