super-patience 1.2.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (83) hide show
  1. package/dist/package-lock.json +1356 -0
  2. package/dist/package.json +63 -0
  3. package/dist/public/atlas.webp +0 -0
  4. package/dist/public/favicon/favicon16.webp +0 -0
  5. package/dist/public/favicon/favicon192.webp +0 -0
  6. package/dist/public/favicon/favicon32.webp +0 -0
  7. package/dist/public/favicon/favicon48.webp +0 -0
  8. package/dist/public/favicon/favicon64.webp +0 -0
  9. package/dist/public/index.js +101 -0
  10. package/dist/public/index.js.map +7 -0
  11. package/dist/public/super-patience-v1.2.4+20251227.9c5b3f4.html +114 -0
  12. package/dist/src/assets/manifest.json +41 -0
  13. package/dist/src/assets/void.game.json +540 -0
  14. package/dist/src/ents/board.d.ts +7 -0
  15. package/dist/src/ents/board.d.ts.map +1 -0
  16. package/dist/src/ents/board.js +124 -0
  17. package/dist/src/ents/board.js.map +1 -0
  18. package/dist/src/ents/cam.d.ts +7 -0
  19. package/dist/src/ents/cam.d.ts.map +1 -0
  20. package/dist/src/ents/cam.js +9 -0
  21. package/dist/src/ents/cam.js.map +1 -0
  22. package/dist/src/ents/draw.d.ts +7 -0
  23. package/dist/src/ents/draw.d.ts.map +1 -0
  24. package/dist/src/ents/draw.js +12 -0
  25. package/dist/src/ents/draw.js.map +1 -0
  26. package/dist/src/ents/ent.d.ts +32 -0
  27. package/dist/src/ents/ent.d.ts.map +1 -0
  28. package/dist/src/ents/ent.js +2 -0
  29. package/dist/src/ents/ent.js.map +1 -0
  30. package/dist/src/ents/loader.d.ts +6 -0
  31. package/dist/src/ents/loader.d.ts.map +1 -0
  32. package/dist/src/ents/loader.js +43 -0
  33. package/dist/src/ents/loader.js.map +1 -0
  34. package/dist/src/ents/patience-the-demon.d.ts +7 -0
  35. package/dist/src/ents/patience-the-demon.d.ts.map +1 -0
  36. package/dist/src/ents/patience-the-demon.js +39 -0
  37. package/dist/src/ents/patience-the-demon.js.map +1 -0
  38. package/dist/src/ents/pile-hitbox.d.ts +8 -0
  39. package/dist/src/ents/pile-hitbox.d.ts.map +1 -0
  40. package/dist/src/ents/pile-hitbox.js +29 -0
  41. package/dist/src/ents/pile-hitbox.js.map +1 -0
  42. package/dist/src/ents/tally.d.ts +7 -0
  43. package/dist/src/ents/tally.d.ts.map +1 -0
  44. package/dist/src/ents/tally.js +11 -0
  45. package/dist/src/ents/tally.js.map +1 -0
  46. package/dist/src/ents/vacant-stock.d.ts +7 -0
  47. package/dist/src/ents/vacant-stock.d.ts.map +1 -0
  48. package/dist/src/ents/vacant-stock.js +15 -0
  49. package/dist/src/ents/vacant-stock.js.map +1 -0
  50. package/dist/src/index.d.ts +2 -0
  51. package/dist/src/index.d.ts.map +1 -0
  52. package/dist/src/index.js +26 -0
  53. package/dist/src/index.js.map +1 -0
  54. package/dist/src/level/ent-factory.d.ts +4 -0
  55. package/dist/src/level/ent-factory.d.ts.map +1 -0
  56. package/dist/src/level/ent-factory.js +91 -0
  57. package/dist/src/level/ent-factory.js.map +1 -0
  58. package/dist/src/level/level-file.json +58 -0
  59. package/dist/src/level/level-parser.d.ts +5 -0
  60. package/dist/src/level/level-parser.d.ts.map +1 -0
  61. package/dist/src/level/level-parser.js +24 -0
  62. package/dist/src/level/level-parser.js.map +1 -0
  63. package/dist/src/level/level-schema.d.ts +6 -0
  64. package/dist/src/level/level-schema.d.ts.map +1 -0
  65. package/dist/src/level/level-schema.js +2 -0
  66. package/dist/src/level/level-schema.js.map +1 -0
  67. package/dist/src/level/level.d.ts +11 -0
  68. package/dist/src/level/level.d.ts.map +1 -0
  69. package/dist/src/level/level.js +102 -0
  70. package/dist/src/level/level.js.map +1 -0
  71. package/dist/src/types/decl.d.ts +31 -0
  72. package/dist/src/types/decl.d.ts.map +1 -0
  73. package/dist/src/types/decl.js +2 -0
  74. package/dist/src/types/decl.js.map +1 -0
  75. package/dist/src/types/save.d.ts +5 -0
  76. package/dist/src/types/save.d.ts.map +1 -0
  77. package/dist/src/types/save.js +2 -0
  78. package/dist/src/types/save.js.map +1 -0
  79. package/dist/tsconfig.json +47 -0
  80. package/dist/void.json +13 -0
  81. package/license.text +661 -0
  82. package/package.json +63 -0
  83. package/readme.md +30 -0
package/package.json ADDED
@@ -0,0 +1,63 @@
1
+ {
2
+ "author": "Stephen Niedzielski <stephen@oidoid.com> (https://oidoid.com)",
3
+ "bugs": "https://github.com/oidoid/super-patience/issues",
4
+ "description": "Pixelated solitaire.",
5
+ "devDependencies": {
6
+ "@oidoid/void": "0.1.0",
7
+ "klondike-solitaire": "0.1.0-1",
8
+ "prettier": "3.7.4",
9
+ "typescript": "5.9.3"
10
+ },
11
+ "engines": {
12
+ "node": ">=24.0"
13
+ },
14
+ "files": [
15
+ "dist",
16
+ "!dist/meta.json",
17
+ "!dist/public/**/*.png",
18
+ "!dist/tsconfig.tsbuildinfo"
19
+ ],
20
+ "homepage": "https://github.com/oidoid/super-patience",
21
+ "keywords": [
22
+ "solitaire",
23
+ "patience",
24
+ "canfield",
25
+ "game",
26
+ "webgl"
27
+ ],
28
+ "license": "AGPL-3.0-only",
29
+ "name": "super-patience",
30
+ "prettier": {
31
+ "arrowParens": "avoid",
32
+ "bracketSpacing": false,
33
+ "jsxSingleQuote": true,
34
+ "proseWrap": "always",
35
+ "semi": false,
36
+ "singleQuote": true,
37
+ "trailingComma": "none"
38
+ },
39
+ "publishConfig": {
40
+ "access": "public"
41
+ },
42
+ "published": "20251227",
43
+ "repository": {
44
+ "type": "git",
45
+ "url": "git+https://github.com/oidoid/super-patience.git"
46
+ },
47
+ "scripts": {
48
+ "build": "tsc --build && npm run build:favicon && void --minify --one-file && npm run format -- src/assets/void.game.json",
49
+ "build:favicon": "for s in 1 2 3 4 12; do f=dist/public/favicon/favicon$(($s * 16)); aseprite src/assets/favicon.aseprite --batch --color-mode=indexed --scale=$s --save-as=$f.png && cwebp -exact -lossless -mt -quiet -z 9 $f.png -o $f.webp; done",
50
+ "clean": "rm -rf dist",
51
+ "format": "npm run linter -- --write",
52
+ "lint": "npm run linter -- --check",
53
+ "linter": "prettier --cache --log-level warn './**/*.{json,md,ts,yaml}'",
54
+ "preversion": "[ -z \"$(git status -z)\" ]",
55
+ "prepublishOnly": "! git symbolic-ref --quiet HEAD || git push --follow-tags origin \"$(git branch --show-current)\"",
56
+ "start": "tsc --build --preserveWatchOutput --watch& npm run build:favicon && void --watch& wait",
57
+ "test": "npm run lint && npm run test:unit && npm run build",
58
+ "test:unit": "sh -c 'node --experimental-test-coverage --test ${@:-$(find src -name \\*.test.ts -printf %p\\ )}' --",
59
+ "version": "npm pkg set published=$(date +%Y%m%d) && npm run clean && npm test"
60
+ },
61
+ "type": "module",
62
+ "version": "1.2.4"
63
+ }
package/readme.md ADDED
@@ -0,0 +1,30 @@
1
+ # Super Patience
2
+
3
+ ## Native Dependencies
4
+
5
+ - Aseprite
6
+ - cwebp
7
+
8
+ ## Copyright and License
9
+
10
+ © oidoid.
11
+
12
+ ### AGPL-3.0-only
13
+
14
+ This program is free software: you can redistribute it and/or modify it under
15
+ the terms of the GNU Affero General Public License as published by the Free
16
+ Software Foundation, either version 3 of the License, or (at your option) any
17
+ later version.
18
+
19
+ This program is distributed in the hope that it will be useful, but WITHOUT ANY
20
+ WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
21
+ PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.
22
+
23
+ You should have received a copy of the GNU Affero General Public License along
24
+ with this program. If not, see <https://www.gnu.org/licenses/>.
25
+
26
+ ```
27
+ ╭>°╮┬┌─╮╭─╮┬┌─╮
28
+ │ │││ ││ │││ │
29
+ ╰──╯┴└─╯╰─╯┴└─╯
30
+ ```