Matei Adriel
6f93885507
typescript(option): chore: fixed build process
...
Signed-off-by: prescientmoon <git@moonythm.dev>
2019-12-22 17:38:10 +02:00
Matei Adriel
906096a5cb
typescript(option): feat: Refactored everything to use nominal types
...
typescript(option):
typescript(option): BREAKING CHANGE: flat only works on one layer but is now strongly typed | everything uses nominal types now | match has the correct parameter order
Signed-off-by: prescientmoon <git@moonythm.dev>
2019-12-22 15:38:16 +02:00
Matei Adriel
db6417d871
typescript(option): docs: fixed the fromNullable section not beeing in the table of contents
...
Signed-off-by: prescientmoon <git@moonythm.dev>
2019-12-20 15:00:54 +02:00
Matei Adriel
7c143655ae
typescript(option): feat: added the fromArray function to the docs
...
Signed-off-by: prescientmoon <git@moonythm.dev>
2019-12-20 15:00:09 +02:00
Matei Adriel
15f54ea45f
typescript(option): feat: added a fromArray helper
...
Signed-off-by: prescientmoon <git@moonythm.dev>
2019-12-20 14:57:46 +02:00
Matei Adriel
689c746682
typescript(option): refactor: islotated T | null in a Nullable internal type and updated the docs
...
Signed-off-by: prescientmoon <git@moonythm.dev>
2019-12-20 14:54:40 +02:00
Matei Adriel
6bd58b46ff
typescript(option): docs: added the docs for the fromNullable helper
...
Signed-off-by: prescientmoon <git@moonythm.dev>
2019-12-20 14:46:53 +02:00
Matei Adriel
1f1afc0f28
typescript(option): feat: added a fromNullable helper
...
Signed-off-by: prescientmoon <git@moonythm.dev>
2019-12-20 14:44:42 +02:00
Matei Adriel
aa18688c7a
typescript(option): refactor: refactored iter to use always
...
Signed-off-by: prescientmoon <git@moonythm.dev>
2019-12-20 14:41:13 +02:00
Matei Adriel
04ca5c6e00
typescript(option): chore: fixed readme docs url
...
Signed-off-by: prescientmoon <git@moonythm.dev>
2019-12-19 20:58:54 +02:00
Matei Adriel
64cbae4830
typescript(option): docs: started working on the docs
...
Signed-off-by: prescientmoon <git@moonythm.dev>
2019-12-19 20:42:23 +02:00
Matei Adriel
5c3225273c
typescript(option): fix: fixed fold returning void
...
Signed-off-by: prescientmoon <git@moonythm.dev>
2019-12-19 20:23:59 +02:00
Matei Adriel
1fda9e8242
typescript(option): fix: fixed the flat helper returning a non-option value
...
Signed-off-by: prescientmoon <git@moonythm.dev>
2019-12-19 15:12:01 +02:00
Matei Adriel
c9cc0b0f22
typescript(option): feat: added a "flat" helper
...
Signed-off-by: prescientmoon <git@moonythm.dev>
2019-12-19 14:34:48 +02:00
Matei Adriel
17569d9417
typescript(option): chore: explicitly set package to public
...
Signed-off-by: prescientmoon <git@moonythm.dev>
2019-12-19 14:27:19 +02:00
Matei Adriel
4ebe549c29
typescript(option): feat: added a withDefault hepler
...
Signed-off-by: prescientmoon <git@moonythm.dev>
2019-12-19 14:20:47 +02:00
Matei Adriel
0458b226c7
typescript(option): refactor: created some internal helpers to clean some of the code
...
Signed-off-by: prescientmoon <git@moonythm.dev>
2019-12-19 14:17:55 +02:00
Matei Adriel
c226f17987
typescript(option): chore: fixed github action config... again
...
Signed-off-by: prescientmoon <git@moonythm.dev>
2019-12-19 14:10:32 +02:00
Matei Adriel
068f6ebd50
typescript(option): chore: added a Readme
...
Signed-off-by: prescientmoon <git@moonythm.dev>
2019-12-19 14:06:56 +02:00
Matei Adriel
9a2ff8d174
typescript(option): chore: changed amd namespace to Option
...
Signed-off-by: prescientmoon <git@moonythm.dev>
2019-12-19 14:04:54 +02:00
Matei Adriel
ec2964ecff
typescript(option): chore: fixed github action config
...
Signed-off-by: prescientmoon <git@moonythm.dev>
2019-12-19 14:03:26 +02:00
Matei Adriel
4cdd386295
typescript(option): chore: replaced rollup-plugin-node-resolve with @rollup/plugin-node-resolve
...
Signed-off-by: prescientmoon <git@moonythm.dev>
2019-12-19 14:01:33 +02:00
Matei Adriel
8620f4b78d
typescript(option): chore: added semantic release
...
Signed-off-by: prescientmoon <git@moonythm.dev>
2019-12-19 13:50:17 +02:00
Matei Adriel
1178d04079
typescript(option): feat: custom toString method for better logging
...
Signed-off-by: prescientmoon <git@moonythm.dev>
2019-12-19 13:44:39 +02:00
Matei Adriel
b388fb76aa
typescript(option): feat: added the base helpers
...
Signed-off-by: prescientmoon <git@moonythm.dev>
2019-12-19 13:26:22 +02:00
Matei Adriel
052584b09a
typescript(option): chore: initial setup
...
Signed-off-by: prescientmoon <git@moonythm.dev>
2019-12-19 12:37:48 +02:00
Matei Adriel
377dd0430a
fsharp(ygosim): refactor: refactored some of the tribute summoning code
...
Signed-off-by: prescientmoon <git@moonythm.dev>
2019-12-18 21:31:55 +02:00
Matei Adriel
ab4bd21306
fsharp(ygosim): feat: tribtues are now sent to the graveyard
...
Signed-off-by: prescientmoon <git@moonythm.dev>
2019-12-18 21:21:53 +02:00
Matei Adriel
99ff363652
fsharp(ygosim): feat: implemented everything from tribute summoning (except tributes don't go to the graveyard yet)
...
Signed-off-by: prescientmoon <git@moonythm.dev>
2019-12-16 15:01:50 +02:00
Matei Adriel
79726d5ac5
fsharp(ygosim): feat: added a lot more stuff to normal summoning
...
Signed-off-by: prescientmoon <git@moonythm.dev>
2019-12-15 16:21:09 +02:00
Matei Adriel
4b511c12d3
fsharp(ygosim): feat: added the basic structure and lenses for the CardInstance type and a toCardInstance helper for monsters
...
Signed-off-by: prescientmoon <git@moonythm.dev>
2019-12-15 15:46:36 +02:00
Matei Adriel
e5b9ed70c6
fsharp(ygosim): feat: added a helper to turn a list to indices and another one to check if a list contains an index
...
Signed-off-by: prescientmoon <git@moonythm.dev>
2019-12-15 15:24:27 +02:00
Matei Adriel
e6dc6097f9
fsharp(ygosim): feat: added a helper to create a lens from an array index
...
Signed-off-by: prescientmoon <git@moonythm.dev>
2019-12-15 15:20:20 +02:00
Matei Adriel
a2243a035b
fsharp(ygosim): feat: added a basic helper to set an element by index in a list
...
Signed-off-by: prescientmoon <git@moonythm.dev>
2019-12-15 14:55:46 +02:00
Matei Adriel
482a5e4370
fsharp(ygosim): fix: removed debug printfns
...
Signed-off-by: prescientmoon <git@moonythm.dev>
2019-12-15 02:31:59 +02:00
Matei Adriel
6189917e92
fsharp(ygosim): refactor: now using List.choose to remove a lot of complexity in the normal summoning stuff
...
Signed-off-by: prescientmoon <git@moonythm.dev>
2019-12-15 02:26:52 +02:00
Matei Adriel
4bfc7c050a
fsharp(ygosim): chore: added a license
...
Signed-off-by: prescientmoon <git@moonythm.dev>
2019-12-15 02:18:25 +02:00
Matei Adriel
4b76c8f8b4
fsharp(ygosim): chore: added myself as a contributor
...
Signed-off-by: prescientmoon <git@moonythm.dev>
2019-12-15 02:17:42 +02:00
Matei Adriel
b329f35d36
fsharp(ygosim): chore: generated the base contributors table
...
Signed-off-by: prescientmoon <git@moonythm.dev>
2019-12-15 02:07:45 +02:00
Matei Adriel
c076154c72
fsharp(ygosim): chore: added the all-contributors stuff
...
Signed-off-by: prescientmoon <git@moonythm.dev>
2019-12-15 02:01:28 +02:00
Matei Adriel
9b3567b0cf
fsharp(ygosim): chore: added a basic readme
...
Signed-off-by: prescientmoon <git@moonythm.dev>
2019-12-15 01:59:35 +02:00
Matei Adriel
9cc3e22dbd
fsharp(ygosim): feat: basic normal summoning zone cli input
...
Signed-off-by: prescientmoon <git@moonythm.dev>
2019-12-15 01:43:45 +02:00
Matei Adriel
d48af38573
fsharp(ygosim): fix: covered some edge cases with tributting
...
Signed-off-by: prescientmoon <git@moonythm.dev>
2019-12-15 01:30:17 +02:00
Matei Adriel
ed384b45da
fsharp(ygosim): feat: more work on normal summoning
...
Signed-off-by: prescientmoon <git@moonythm.dev>
2019-12-13 12:00:22 +02:00
Matei Adriel
581bf55a93
fsharp(ygosim): feat: started working on the normal summons
...
Signed-off-by: prescientmoon <git@moonythm.dev>
2019-12-12 21:59:51 +02:00
Matei Adriel
d29343da17
fsharp(ygosim): feat: made sure player states are resolved
...
Signed-off-by: prescientmoon <git@moonythm.dev>
2019-12-12 16:34:21 +02:00
Matei Adriel
b3f374162e
fsharp(ygosim): feat: finally found a good way of doing the client stuff
...
Signed-off-by: prescientmoon <git@moonythm.dev>
2019-12-10 16:09:06 +02:00
Matei Adriel
f2bca7d3f0
fsharp(ygosim): feat: preventing more than 1 draw per turn
...
Signed-off-by: prescientmoon <git@moonythm.dev>
2019-12-10 11:06:28 +02:00
Matei Adriel
a3c4c78180
fsharp(ygosim): feat: refactored to use lenses
...
Signed-off-by: prescientmoon <git@moonythm.dev>
2019-12-09 14:20:39 +02:00
Matei Adriel
b102cc39ec
fsharp(ygosim): chore: added paket
...
Signed-off-by: prescientmoon <git@moonythm.dev>
2019-12-09 12:11:30 +02:00