gobang Upstream: https://github.com/mumuy/gobang Commit: 21bf0b624291ddadac2d395591cad494af1dc9d3 (branch main) License: MIT (see LICENSE in this directory) Fetched: 2026-11-22 Hosted: /osgames/gobang/ This is a modified copy. Modifications: - Replaced index.html (the upstream page embedded the author's personal site: external stylesheet/scripts from passer-by.com, GitHub buttons, analytics, and a redirect script). The new minimal page only loads the bundled game (dist/gobang.min.js) and static/style/index.css, plus a canvas sized 960x640. - dist/gobang.min.js: fixed canvas coordinate mapping so clicks stay accurate when CSS scales the canvas down (upstream only matched at natural size). The change is one line in getPosition(): (clientX - left) * (width / rect.width) instead of clientX - left * (width / rect.width); same for Y. - Removed unused src/ sources and personal-site assets; game logic and AI unchanged. All assets are same-origin; the page makes no external requests.