Skip to content

v2.0.1

Latest
Compare
Choose a tag to compare
@mikewesthad mikewesthad released this 26 Feb 01:56
· 6 commits to master since this release

Mainly a rewrite in Typescript, with some minor API changes. Mainly access modifiers for some methods and more strict requirements on the config object passed into Dungeon (everything could be omitted previously - oof!).

Changelog:

  • Target ES 5
  • Add 2.0.0 to readme (1604924)
  • Add release-it dep (10fc308)
  • Add gh-pages and doc deploying scripts (926b69c)
  • Add docs config (ebbb65e)
  • Link to actual docs (a0e921e)
  • Remove dist (557f57c)
  • Allow underscore files in docs (generated by tsdoc) via nojekyll (7cc98ce)
  • Add typedoc (447be75)
  • Adjust access modifiers (6440ad7)
  • Collect useful exports into index (8dbe424)
  • Apply types to drawToConsole anddrawToHtml (d5cc1f7)
  • Rename variables (a3afb0d)
  • Rm old random door code (545e6ed)
  • Add parity tests (51bfd0f)
  • Update old tests for latest config (06f76e4)
  • Add new test to check for room biigger than dungeon (9a43721)
  • Replace default config test with one that checks for optional props filled in (8d68b1d)
  • Import isOdd/isEven (784d0dc)
  • Expose config for testing (38ea864)
  • Method for checking dimension configs (4ddcafd)
  • Adjust dimensions for parity settings (c312d17)
  • Simplify types by making more config options required (b08b70e)
  • Add even and odd utils (72f1e30)
  • Bug fix: room placement math off by one (0444e5a)
  • Reconfigure babel and polyfill to use corejs 3 (b5c5075)
  • Update babel (3196c15)
  • Mv readme images to their own folder (0855694)
  • Gitignore type files in dist (25dab25)
  • Add types to package (8048c64)
  • Configure TS to output declarations in dist and exclude tests (4c7e541)
  • Clean up debug (681c2e8)
  • Make named export into default export (aa08e9c)
  • Add tests to verify even/odd functionality (bd3eaff)
  • Bug fix in TS port (wrong initial walls) and test to prevent regression (51406aa)
  • Convert tests to TS (11a86ee)
  • Initial TS conversion (e6872da)
  • Add 2D array creator (b2c7b49)
  • Add ts-jest for typescript in jest (6b7f1a5)
  • Add seedrandom types (0d62769)
  • Reconfigure ts - allow dom and esnext syntax and default imports (c5fea23)
  • Configure webpack to resolve ts (1bc9c37)
  • Initial TS config (be50a4d)
  • Update all deps (dc5e4ae)
  • Update contributes with recent PR (f64d1e9)
  • Merge pull request #2 from mktcode/fix-import (afeb7bf)
  • Fix case of filename to match #2 (609195a)
  • Fixed wrong filename in import statement (9ecd025)
  • 1.2.2 (ae1668d)
  • Add contributors section (1d457d9)
  • Merge branch 'master' of https://github.com/mikewesthad/dungeon (d24ba41)
  • Update package-lock with fresh install (65d6e1f)
  • Merge pull request #1 from gobah/master (8fd4569)
  • Fix ReferenceError: window is not defined error when using dungeon lib with NodeJS (71f34dd)
  • Update readme images (187a28e)
  • Add CDN link to readme (851302a)
  • Prep new version with html dumping to a pretable (ecd1b6a)
  • Update dist (db58f33)
  • Update drawToHtml to output a table for better emoji support :) (caf9f5b)
  • Update HTML debugging parameters to be more generally useful (5355689)
  • Rebuild (1383f63)
  • Update HTML dump to accept arbitrary html attributes allowing for either class or style (c4e3b77)
  • Move todo (e6a5367)
  • Minor bump (4abe4d2)
  • Update readme with installation instructions (80670e0)
  • Add prepublish build script (8d8d4c3)
  • 1.1.0 Rebuild (4c59e74)
  • Trim whitespace (fa8175e)
  • Update deps, move devdeps and upgrade to webpack 4 (12d3520)
  • Remove old default wrapper (solved in webpack config now) (3f2d52b)
  • Update test to match util.js -> random.js (0ee5253)
  • Add seedrandom dep (db3e53b)
  • Update example and readme (da3da99)
  • Fix broken console debugging by adding a helpful message (f55bd9a)
  • Update Dungeon to use seed and door padding (6ed7caf)
  • Utils -> Random class that can be seeded (9b40e04)
  • Fix up import (deb35e3)
  • Disable (non-functional) code that attempts to connect rooms that aren't connected (2c9b9be)
  • Dungeon#drawToHtml (2b249d2)
  • Screenshot (d32f300)
  • Rebuild (f392e61)
  • Move example js into its own file (4ca1cf9)
  • Input validation - rooms >= 3 x 3 and max >= min (5da52ad)
  • Fix door positioning (+ make math more readable) (23c6b66)
  • Split build into min and unmin (a409193)
  • Fix broken default options (77375e4)
  • README with demo (9268b7a)
  • First build (50a2093)
  • Add simple demo example (288299b)
  • Old Dungeon -> New Dungeon with more config + no room overlap (4e16f59)
  • Remove old index example (5ab0b53)
  • Debug utils for drawing maps to console (e51e86f)
  • Modified room class with left/right/top/bottom/centerX/centerY props (981e7f2)
  • Tiles module (01bd77f)
  • Utils tests (620e27d)
  • Es6 utils + extend to have odd/even rand capabilities (101b39d)
  • package.json + webpack + babel + eslint + prettier (6994a66)
  • Gitignore (60b49e8)
  • Link to Github from demo page (3ba5b83)
  • Update README.md (e42d3cc)
  • Update README.md (063bf39)
  • Initial commit (dd582c4)