Commit Graph

35 Commits

Author SHA1 Message Date
Rheidner Achiles
57887f5520
add tab window to KL (#280)
* 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>
2021-08-19 10:50:50 -03:00
Rígille S. B. Menezes
d6a36ed478 update I32.show 2021-08-17 14:51:03 -03:00
MaiaVictor
99de620dd2 Remove # from Word.show 2021-08-10 20:50:47 -03:00
MaiaVictor
37c0f47018 WOTS WIP, Vector/Word functions 2021-07-09 01:55:26 -03:00
Vitor
718c9d50b1 Major update to Kaelin Effects 2021-07-02 08:03:56 -03:00
Rígille S. B. Menezes
55765e90de fix order of params of bitwise shift 2021-07-01 16:43:14 -03:00
MaiaVictor
3b4d444f09 Kind 1.0.63
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)
  }
```
2021-06-12 17:32:04 -03:00
elmattic
5877155429 Fix missing implementation and refactor some shifts 2021-05-03 18:05:34 +02:00
Rheidner
d38228f654 fix all calls to Word.is_neg 2021-04-27 10:05:58 -03:00
caotic123
a0b9e70a37 fix show of negatives and improve the nat to axial algorithm 2021-04-27 03:14:56 -03:00
Vitor
ff1008b2bf New entity to Kaelin 2021-04-23 02:19:01 -03:00
Rheidner
882d7d2d07 fix word's function 2021-04-22 15:10:48 -03:00
Rheidner
829dafebde fix word to_ind and abs 2021-04-20 17:12:22 -03:00
Rígille S. B. Menezes
ce314be18c
Merge branch 'master' into word_bit_manip_prims 2021-04-19 14:57:55 -03:00
elmattic
c5d427eca1 Fix invalid comparison and add support for odd bit sizes 2021-04-16 23:48:29 +02:00
Rígille Scherrer Borges Menezes
19c7cb706f add forgotten parameter 2021-04-16 15:14:39 -03:00
Rígille Scherrer Borges Menezes
a91a3cdf58 implement signed comparisons in Word
they're easier to optimize
2021-04-16 14:54:37 -03:00
Rígille Scherrer Borges Menezes
008be8a710 Merge branch 'feature/more-numbers' of github.com:uwu-tech/Kind into feature/more-numbers 2021-04-16 13:51:41 -03:00
Rígille Scherrer Borges Menezes
440e69310c fix signed pow 2021-04-16 13:00:22 -03:00
Rígille S. B. Menezes
985d4bb0d9
Update shl.kind 2021-04-16 07:25:15 -03:00
Rígille Scherrer Borges Menezes
6dc75e9434 add forgotten parameters 2021-04-15 13:46:16 -03:00
Rígille Scherrer Borges Menezes
6bfe898411 generalize log_10 2021-04-15 13:09:35 -03:00
Rígille Scherrer Borges Menezes
c94e5bef15 moar standardization 2021-04-15 12:46:42 -03:00
Rígille Scherrer Borges Menezes
60692b43f1 standardize I32 and U32 functions 2021-04-15 12:21:21 -03:00
Rígille Scherrer Borges Menezes
80ab8b179d add more primitives 2021-04-15 11:44:38 -03:00
Rígille Scherrer Borges Menezes
64cec1e8b1 define signed comparison 2021-04-15 11:22:49 -03:00
Rígille Scherrer Borges Menezes
3de901bf65 define Word.is_neg 2021-04-14 17:03:26 -03:00
elmattic
52c6cb4f01 Remove dead code 2021-04-14 00:11:18 +02:00
elmattic
a3de14763b Add bit manipulation primitives and sqrt 2021-04-13 23:30:27 +02:00
Rígille S. B. Menezes
9474037f5d add new word primitive 2021-04-13 14:14:13 -03:00
elmattic
c9883467ad Add remaining Word primitives 2021-04-10 23:56:55 +02:00
MaiaVictor
f9d35cf523 Rename aux files for Windows compatibility 2021-04-06 00:26:20 -03:00
MaiaVictor
96d7f33342 Smarter types on case-with variables 2021-03-29 17:24:23 -03:00
elmattic
0db6a39bc9 Add more Word primitives implementation 2021-03-15 22:20:47 +01:00
MaiaVictor
6c5b850cd3 UwU 2021-02-19 20:15:26 -03:00