* KL: init draft interface
* KL: fix images
* KL: put icons
* added score in local
* KL: divisors
* KL: add lateral buttons
* KL: background
* KL: init hero portraits
* KL: add lateral header buttons
* KL: minor styles fixes
* KL: add real keys in card user
* KL: fix negative margin
* KL: ready button
* KL: interface functionality
* KL: fix draft height problems
* KL: port the remaing parts from cardplayer
* KL: remove order of card users in interface
* KL: add bottom buttons on draft interface
* KL: add a little animation
* KL: draw filter interface
* KL: add filters prop to game
* KL: fix height and overflow
* KL: init filter functionality
* KL: fix filter reversing
* added role and b64 images to heroes
* BoardBuilder: change mouse cursor do 32x32
* KL: fix name bug
* KL: allow game to init
* KL: fix board position in html
* KL: set initial player pos in canvas board
* KL: undo scrollbar
* KL: add functional role filter
* KL: fix initial positons in canvas board
* KL: players now choose initial coordinates ingame
* show bases
* fix allies choosing same coord
* draw indicators to player know where clicked in base
* fix indicatos for users know base location
* add delay before game start
* refactor code
* remove actions when not in preparation moment
* fix arena board
* fix automatic coord choose
* fix lava board
* show skill description
* change cursor in buttons which does not work yet
* draw top of interface
* draw user hud interface
* add skills hud interface
* add cast list interface
* clean draw play code
* improve cross browser
* fix ap bars positioning
* fix ap bars positioning 2snd part
* animate ready button
* KL: delete draft for draft interface file
* KL: shows turns left to player come back to life
* KL: do ready button animation
* KL: add light indicator in card player if player is ready
* KL: add hover in header buttons
* KL: let skill lits all have same width
* KL: init tab window creation
* KL: add pressed tab buttons in tab window
* KL: finnish add skill tab in tab window
* KL: put table in stats tab
* KL: start organize play's draw files
* KL: fix some identation
* KL: end stats tab tables
* Kind: remove + sign in word show
* KL: change row qtt to 10
* KL: implement tab shadow
* KL: init recap tab
* KL: put order in draft skills tab on user card
* Merge branch 'master' into rheidner/interface
* KL: fix life_bar in recap graph
* KL: end recap tab
* KL: fix recap heals
Co-authored-by: Derenash <eyer.derenash@gmail.com>
Generic derivers: stringifier, parser, serializer, deserializer. Example:
```
type MyType {
foo(n: List<Nat>, s: String, m: MyType)
bar
} deriving (stringifier, parser, serializer, deserializer)
Test: _
IO {
let val = MyType.foo([1,2,3], "Hello", MyType.bar)
// Converts to string
let str = Stringifier.run!(MyType.stringifier, val)
IO.print("str: " | str)
// Parses string to a value
let val = Parser.run!(MyType.parser, str) <> MyType.bar
// Serializes to bits
let bts = Serializer.run!(MyType.serializer, val)
IO.print("bts: " | Bits.show(bts))
// Deserializes to a value
let val = Deserializer.run!(MyType.deserializer, bts) <> MyType.bar
// Converts to string again
let str = Stringifier.run!(MyType.stringifier, val)
IO.print("str: " | str)
}
```