UNPKG

malwoden

Version:

![alt text](./coverage/badge-lines.svg) ![alt text](./coverage/badge-statements.svg) ![alt text](./coverage/badge-functions.svg) ![alt text](./coverage/badge-branches.svg)

82 lines (62 loc) 9.15 kB
## 0.5.0 (2022-01-23) - feat(calc): Added methods for vector addition/subtraction ([1befe77](https://github.com/Aedalus/malwoden/commit/1befe77)) - feat(gui): Overhaul of GUI module (#97) ([d1929fc](https://github.com/Aedalus/malwoden/commit/d1929fc)), closes [#97](https://github.com/Aedalus/malwoden/issues/97) - feat(gui/buttons): Added a button widget to the GUI module (#106) ([52ab456](https://github.com/Aedalus/malwoden/commit/52ab456)), closes [#106](https://github.com/Aedalus/malwoden/issues/106) - refactor(example-website): removed all react syntax from website examples for clarity ([fbba696](https://github.com/Aedalus/malwoden/commit/fbba696)) - refactor(generation): Standardized generation interface. ([ffc2bfc](https://github.com/Aedalus/malwoden/commit/ffc2bfc)) - refactor(input): Made mouse/keyboard modules more consistent. Added listening to 'any' click/key. (# ([41e09ae](https://github.com/Aedalus/malwoden/commit/41e09ae)), closes [#103](https://github.com/Aedalus/malwoden/issues/103) - refactor(util): Changed the util module to 'struct' to better reflect function ([96d0393](https://github.com/Aedalus/malwoden/commit/96d0393)) ## 0.4.0 (2021-11-15) - feat(input/keyboard): Added waitForKeyUp and waitForKeyDown promise based methods (#78) ([f7754d2](https://github.com/Aedalus/malwoden/commit/f7754d2)), closes [#78](https://github.com/Aedalus/malwoden/issues/78) - fix(AleaRNG): AleaRNG's clone method now copies the seed value properly. (#77) ([1e7bd31](https://github.com/Aedalus/malwoden/commit/1e7bd31)), closes [#77](https://github.com/Aedalus/malwoden/issues/77) ## 0.3.0 (2021-06-27) - feat(generation): added bsp-dungeon generation (#74) ([24db44f](https://github.com/Aedalus/malwoden/commit/24db44f)), closes [#74](https://github.com/Aedalus/malwoden/issues/74) ## 0.2.0 (2021-04-15) - feat(pathfinding/astar): Added terrain weights (#66) ([08cad94](https://github.com/Aedalus/malwoden/commit/08cad94)), closes [#66](https://github.com/Aedalus/malwoden/issues/66) - feat(pathfinding/dijkstra): Added terrain weights (#66) ([08cad94](https://github.com/Aedalus/malwoden/commit/08cad94)), closes [#66](https://github.com/Aedalus/malwoden/issues/66 - feat(pathfinding/rangefinder): Added a new class to find tiles within a given range (#65) ([ea5a464](https://github.com/Aedalus/malwoden/commit/ea5a464)), closes [#65](https://github.com/Aedalus/malwoden/issues/65) ## <small>0.1.2 (2021-03-24)</small> - fix(input): fixed prevent default on keypress, allowing for devtool shortcuts ([9055a33](https://github.com/Aedalus/malwoden/commit/9055a33)) - fix(input/mouse): fixed issue where scrolling caused mouse to be computed incorrectly ([347bae7](https://github.com/Aedalus/malwoden/commit/347bae7)) ## <small>0.1.1 (2021-02-23)</small> - fix(npm): removed cruft dependencies ([75fa1fb](https://github.com/Aedalus/malwoden/commit/75fa1fb)) ## 0.1.0 (2021-02-23) - improvement(input): Added onKeyDown and onMouseDown events to input handlers: (#41) ([c8b48cc](https://github.com/Aedalus/malwoden/commit/c8b48cc)), closes [#41](https://github.com/Aedalus/malwoden/issues/41) - improvement(fov): Added cartesianRange option for a circular shape (#35) ([94b4132](https://github.com/Aedalus/malwoden/commit/94b4132)), closes [#35](https://github.com/Aedalus/malwoden/issues/35) - improvement(generation/drunkards-walk): Changed API to be more concise. ([5b3b9d9](https://github.com/Aedalus/malwoden/commit/5b3b9d9)) - improvement(gui/box): api is now origin point and width/height ([c38874a](https://github.com/Aedalus/malwoden/commit/c38874a)) - improvement(pathfinding/astar): Made paths more natural looking. Added AStar example. (#37) ([08bd5f8](https://github.com/Aedalus/malwoden/commit/08bd5f8)), closes [#37](https://github.com/Aedalus/malwoden/issues/37) - improvement(canvas-terminal): Now calculates font width/height automatically, reducing params ([19a1a02](https://github.com/Aedalus/malwoden/commit/19a1a02)) - feat(calc): Added calc module with vector helper methods (#46) ([a93442d](https://github.com/Aedalus/malwoden/commit/a93442d)), closes [#46](https://github.com/Aedalus/malwoden/issues/46) - feat(input/mouse): Added MouseContext to handle mousedown and mouseup (#40) ([af048c4](https://github.com/Aedalus/malwoden/commit/af048c4)), closes [#40](https://github.com/Aedalus/malwoden/issues/40) - feat(pathfinding): Added Dijkstra Algorithm ([be87c91](https://github.com/Aedalus/malwoden/commit/be87c91)) - feat(website): added basic google analytics ([49ea5aa](https://github.com/Aedalus/malwoden/commit/49ea5aa)) - feat(website): Added prod website (#47) ([c1a22e7](https://github.com/Aedalus/malwoden/commit/c1a22e7)), closes [#47](https://github.com/Aedalus/malwoden/issues/47) - fix(examples): Fixed example component looping issue (#43) ([89d998a](https://github.com/Aedalus/malwoden/commit/89d998a)), closes [#43](https://github.com/Aedalus/malwoden/issues/43) - build: Added CI pipeline for test/build ([2cc0574](https://github.com/Aedalus/malwoden/commit/2cc0574)) ## <small>0.0.1-rc.3 (2021-02-14)</small> - feat(input/mouse): Added MouseContext to handle mousedown and mouseup (#40) ([af048c4](https://github.com/Aedalus/malwoden/commit/af048c4)), closes [#40](https://github.com/Aedalus/malwoden/issues/40) - feat(pathfinding): Added Dijkstra Algorithm ([be87c91](https://github.com/Aedalus/malwoden/commit/be87c91)) - fix(examples): Fixed example component looping issue (#43) ([89d998a](https://github.com/Aedalus/malwoden/commit/89d998a)), closes [#43](https://github.com/Aedalus/malwoden/issues/43) - improvement(input): Added onKeyDown and onMouseDown events to input handlers (#41) ([c8b48cc](https://github.com/Aedalus/malwoden/commit/c8b48cc)), closes [#41](https://github.com/Aedalus/malwoden/issues/41) - improvement(fov): Added cartesianRange option for a circular shape (#35) ([94b4132](https://github.com/Aedalus/malwoden/commit/94b4132)), closes [#35](https://github.com/Aedalus/malwoden/issues/35) - improvement(generation/drunkards-walk): Changed API to be more concise. ([5b3b9d9](https://github.com/Aedalus/malwoden/commit/5b3b9d9)) - improvement(pathfinding/astar): Made paths more natural looking. Added AStar example. (#37) ([08bd5f8](https://github.com/Aedalus/malwoden/commit/08bd5f8)), closes [#37](https://github.com/Aedalus/malwoden/issues/37) ## <small>0.0.1-rc2 (2021-01-14)</small> - feat(examples): Added an example site (#16) ([e5bfdec](https://github.com/Aedalus/malwoden/commit/e5bfdec)), closes [#16](https://github.com/Aedalus/malwoden/issues/16) - feat(examples): Added example site (#10) ([1681a65](https://github.com/Aedalus/malwoden/commit/1681a65)), closes [#10](https://github.com/Aedalus/malwoden/issues/10) - feat(fov): Precise FOV (#6) ([604790a](https://github.com/Aedalus/malwoden/commit/604790a)), closes [#6](https://github.com/Aedalus/malwoden/issues/6) - feat(generation) Added Drunkards Walk (#3) ([bf8c807](https://github.com/Aedalus/malwoden/commit/bf8c807)), closes [#3](https://github.com/Aedalus/malwoden/issues/3) - feat(generation): cellular automata (#1) ([7845f2a](https://github.com/Aedalus/malwoden/commit/7845f2a)), closes [#1](https://github.com/Aedalus/malwoden/issues/1) - feat(input/mouse): Added input/mouse module and examples. Fixed bug with terminal mouse positions (# ([1478f55](https://github.com/Aedalus/malwoden/commit/1478f55)), closes [#23](https://github.com/Aedalus/malwoden/issues/23) - feat(pathfinding): Added A\* (#8) ([4d037a3](https://github.com/Aedalus/malwoden/commit/4d037a3)), closes [#8](https://github.com/Aedalus/malwoden/issues/8) - feat(rand): Added seedable alea rng (#4) ([06785fa](https://github.com/Aedalus/malwoden/commit/06785fa)), closes [#4](https://github.com/Aedalus/malwoden/issues/4) - feat(terminal): Added default colors and tests (#14) ([771ee1c](https://github.com/Aedalus/malwoden/commit/771ee1c)), closes [#14](https://github.com/Aedalus/malwoden/issues/14) - feat(terminal): Added Retro Terminal for cp437 ([bde0871](https://github.com/Aedalus/malwoden/commit/bde0871)) - fix(terminal/color): Removed broken grayscale function (#26) ([413c945](https://github.com/Aedalus/malwoden/commit/413c945)), closes [#26](https://github.com/Aedalus/malwoden/issues/26) - improvement(fov): Added returnAll config (#33) ([9c0b11a](https://github.com/Aedalus/malwoden/commit/9c0b11a)), closes [#33](https://github.com/Aedalus/malwoden/issues/33) - improvement(generation/cellular) Updated cellular automata to use options + RNG (#5) ([c942294](https://github.com/Aedalus/malwoden/commit/c942294)), closes [#5](https://github.com/Aedalus/malwoden/issues/5) - improvement(generation/cellular): Added a connect method to cellular generation (#15) ([0554a5a](https://github.com/Aedalus/malwoden/commit/0554a5a)), closes [#15](https://github.com/Aedalus/malwoden/issues/15) - refactor(fov): Changed to Vector2 interface (#28) ([349c764](https://github.com/Aedalus/malwoden/commit/349c764)), closes [#28](https://github.com/Aedalus/malwoden/issues/28) ## <small>0.0.1-rc1 (2019-09-12)</small> - init commit ([6b733c5](https://github.com/Aedalus/malwoden/commit/6b733c5))