PaperGames - Durak (embedded copy)
Original project: PaperGames by Christopher Müller
Repository: https://github.com/YourChaosChris/PaperGames
Commit: 61e6a1ec8a0cd649cd9196af4f5def83e541706e
License: MIT (see LICENSE). NOTICE and README.md are copied unchanged; README.md holds the
"Third-party assets" section that NOTICE refers to. None of the third-party assets listed there
(chess piece set, xiangqi/shogi piece drawings, game-icons.net home-page icons) are used by this
game or included in this folder. Everything this game shows is drawn with CSS and inline SVG
written for PaperGames; there are no image, font or audio files.
What was copied: only the files that durak.html loads (adaptive-difficulty.js, ai-pacing.js, board-a11y.js, card-faces.js, confirm-actions.js, density.js, durak-ai.js, durak-app.js, durak-core.js, error-banner.js, font-size-toggle.js, game-stats.js, game-storage.js, high-contrast.js, i18n.js, move-hints.js, quick-rules.js, random-start.js, result-modal.js, settings-menu.js, storage-warning.js) plus style.css.
durak.html was renamed to index.html. Not copied: every other game, the rules/history pages,
the lang/ translation files, sw.js, manifest and icons.
Changes:
1. index.html (was durak.html)
-
rebuilt: removed the canonical-link script, the hreflang alternate links, the Open Graph
and Twitter meta tags (all pointing at yourchaoschris.github.io), the favicon, apple-touch-icon,
manifest and theme-color links, and the inline language-detection script. The is now
"Durak | PaperGames" and was added; the meta description is kept.
- gets data-game="durak" so quick-rules.js still finds this game's short rules.
- The header "PaperGames" home link and the "by Christopher Müller" about link are now plain
text (the credit itself is kept).
- Removed the site navigation (Home / Guide / About / History) and the footer links to the
original site's legal notice and privacy policy pages.
- Removed these script tags: sw-register.js (service worker registration), update-banner.js,
force-update.js and offline-status.js (service-worker/offline-cache features), game-switcher.js
(drop-down and "Related games" links to the app's other games) and rules-link.js (link to a
separate rules page that is not included).
2. i18n.js: getLang() always returns English, because the lang/*.js translation files are not
shipped. Two English strings were reworded to avoid trademarked names: home_four_in_a_row_desc
and quickrules_yatzy_3 (now "...as in some other five-dice rule sets.").
3. settings-menu.js: removed the Language section and the Version / "Force update now" section.
4. quick-rules.js: reads the game id from instead of the file name; removed the
"All rules" link to the separate rules page.
5. game-storage.js, game-stats.js: emptied the old-name migration maps (they only listed former
page names, some of them trademarked game names).
6. style.css: trademarked game names in code comments were replaced ("four-in-a-row",
"other five-dice rule sets"). Comments only.
The game rules, computer players (where present), drawing and layout are unchanged. All other
files are byte-identical to the audited commit.