Adam Thompson-Sharpe MysteryBlokHed
- Ottawa, Ontario
- 21:45
(UTC -04:00) - @MysteryBlokHed
Highlights
- Pro
Click to read info
At first I thought this project was actually going to be relatively simple to implement,but it actually ended up being quite challenging and fun to do.The difficulty here was actually in the discovery of inference methods much more than the code implementation of them.
This was my first time learing and applying set theory, although it wasn't actually untilafter I had started work on the inference logic that I realized that.Speaking of: I've also tried to document the theory/proof behind what my code does ona page in that repo.Hopefully it's as interesting to read as it was to write.
I also decided to eventually port the core of the inference logic to Rust (with WebAssembly),because I noticed performance issues for a feature to determine the most likely guilty cards(since it's essentially just brute-forcing all possible hand arrangements given the current data).That was my first time ever using WebAssembly.
After porting to Rust, I ended up becoming somewhat obsessed with hyper-optimizing my code to run as fast as possible.I've managed to make it something like 30× faster than it was with the original TypeScript,even while adding new and often complex inference methods.
I've been invited to help maintain this project, along with a handful of some other great developers:https://github.com/orgs/color-js/people.Most of my work here is on writing and updating typings for TypeScript support.
PinnedLoading
- color-js/color.js
color-js/color.js PublicColor conversion & manipulation library by the editors of the CSS Color specifications
- cluecards
cluecards PublicAutomatic inference for interactions in Clue (Cluedo). Mirrored from https://gitlab.com/MysteryBlokHed/cluecards.
TypeScript
- chess
chess PublicA JavaScript implementation of chess. Made for my high school computer science course.
JavaScript
- DefinitelyTyped/DefinitelyTyped
DefinitelyTyped/DefinitelyTyped PublicThe repository for high quality TypeScript type definitions.
If the problem persists, check theGitHub status page orcontact support.