Black FridayGame templates at Black Friday pricesEnds in See the deals

策略 · HTML5

Toy Chess

Complete HTML5 chess game with a built-in engine

作者: Polar Games版本号 1.0.0更新于 2026年11月23日

  • 源代码
  • 在线演示
  • 附带文档
永久授权US$49 US$41.65 -15%立即购买
The main menu: play the computer, two players, mate challenges and Learn the pieces.Six opponents with their own portraits, from beginner to final boss.A game: legal moves on the board, captured pieces, move list and buttons.Check: the king lights up and only moves that save it are allowed.Promotion: queen, rook, bishop or knight.The checkmate sequence: the net closes and the king topples.Result panel: play again, swap colors or view the board.36 mate challenges in three groups, with saved progress.A challenge, with See solution and Retry.Learn the pieces with animated demonstrations.Settings: vibration, reduce motion, 14 languages, full screen and game options.

Toy Chess: HTML5 Chess Game

A complete chess game for the web with a glossy toy look. All the official rules, an original chess engine with six opponents, two players on one device, 36 mate challenges and an animated lesson for beginners. Plain HTML, CSS and JavaScript ES modules: no framework, no npm dependencies, no build step.

Toy Chess: six computer opponents from beginner to final boss

Six opponents with personality

Pip is just learning, Nina grabs free pieces, Otto is solid and careful, Vera plans ahead, Rex is a sharp attacker and Atlas is the final boss. Each one has six animated portraits, reacts to the game and makes mistakes like a person at the lower levels. The engine runs in the browser in a Web Worker, so the screen does not freeze while it thinks and no server is needed.

Every chess rule

Castling, en passant, promotion to any piece, check, checkmate, stalemate, threefold repetition, the 50-move rule and insufficient material. Tap or drag the pieces, with legal moves marked on the board. Hints, undo, board flip, captured pieces, a move list and automatic saving with Continue.

Toy Chess: castling, en passant, promotion, check and mate

36 mate challenges and a lesson

12 challenges each of mate in 1, 2 and 3, every one with a verified single winning first move. A wrong move goes back so the player can try again, and See solution plays the whole answer on the board. Learn the pieces demonstrates each piece and the special moves with animation.

Toy Chess: 36 mate challenges, mate in 1, 2 and 3

Every screen, every language, easy to reskin

Layouts for phones and tablets in portrait and landscape and for desktop monitors, with the board in the center. 14 languages: English, Portuguese, Spanish, French, German, Italian, Dutch, Polish, Turkish, Russian, Indonesian, Japanese, Korean and Chinese. Replace the pictures in assets/, change the colors at the top of src/styles.css and tune every animation in the FEEL block of src/config.js.

Toy Chess on phone, tablet and desktop, in 14 languages

本版本的游戏画面

截取自此处销售的版本。

包含

  • All official chess rules: castling, en passant, promotion, check, checkmate, stalemate, threefold repetition, the 50-move rule and insufficient material
  • Original chess engine in a Web Worker, with 6 opponents from beginner to final boss, each with 6 animated portraits
  • Two players on one device, with optional board flip on each turn
  • 36 mate challenges (mate in 1, 2 and 3) with verified solutions and See solution
  • Learn the pieces: animated demonstrations of every piece, castling, en passant and promotion
  • Hints, undo, board flip, captured pieces, move list and automatic save with Continue
  • 14 interface languages; layouts for phones and tablets in portrait and landscape and for desktop; touch, drag and mouse
  • Ready-to-host game/ folder and the complete editable source (plain JavaScript ES modules, no build step) with 31 checks, a preview server and npm run build
  • Offline buyer guide in 14 languages and a step-by-step customization guide

本版本不包含

  • Online multiplayer, accounts or leaderboards
  • Native apps, hosting and custom development

ZIP 包里有什么

您下载的安装包的真实文件夹结构,名称和大小均直接读取自包内。

toy-chess-1.0.0-complete.zip435 个文件 · 10.6 MB
  • toy-chess-static-1.0.0/434 个文件 · 10.6 MB
    • documentation/HTML 指南,购买前请先打开30 个文件 · 3.1 MB
      • img/JPG · PNG · 15 个文件 · 2.4 MB
      • customization-de.html17 KB
      • customization-es.html17 KB
      • customization-fr.html17 KB
      • customization-id.html17 KB
      • customization-it.html17 KB
      • customization-ja.html18 KB
      • customization-ko.html17 KB
      • customization-nl.html17 KB
      • customization-pl.html17 KB
      • customization-pt.html17 KB
      • customization-ru.html20 KB
      • customization-tr.html17 KB
      • +3 个文件494 KB
    • game/可直接部署:上传此文件夹即可193 个文件 · 3.7 MB
      • assets/美术、音频和字体MP3 · PNG · TXT · WEBP · WOFF2 · 148 个文件 · 3.5 MB
      • src/源代码模块CSS · JS · 43 个文件 · 281 KB
      • DOCUMENTATION.txt1 KB
      • index.html1 KB
    • source/可读的源代码204 个文件 · 3.8 MB
      • assets/美术、音频和字体MP3 · PNG · TXT · WEBP · WOFF2 · 148 个文件 · 3.5 MB
      • src/源代码模块CSS · JS · 43 个文件 · 281 KB
      • tests/自动化测试MJS · 6 个文件 · 14 KB
      • tools/构建与检查脚本MJS · 3 个文件 · 5 KB
      • index.html1 KB
      • package-lock.json1 KB
      • package.json1 KB
      • README.md3 KB
    • THIRD-PARTY-LICENSES/需与游戏一并保留的许可声明3 个文件 · 10 KB
      • Fredoka-OFL.txt4 KB
      • Nunito-OFL.txt4 KB
      • README.txt1 KB
    • CHANGELOG.txt版本历史1 KB
    • CUSTOMIZATION.html1 KB
    • DOCUMENTATION.html打开指南1 KB
    • START-HERE.txt快速入门1 KB
  • POLAR-MARKETPLACE-START-HERE.txt从这里开始:许可、支持与上手步骤1 KB

商品详情

版本
Standalone Browser Edition
版本号
1.0.0
发布于
2026年11月23日
更新于
2026年11月23日
分类
策略
语言
英语, 葡萄牙语, 西班牙语, 法语, 德语, 意大利语, 荷兰语, 波兰语, 土耳其语, 俄语, 印度尼西亚语, 日语, 韩语, 简体中文
包含的文件
HTML, CSS, JavaScript, WebP, MP3, WOFF2
技术栈
HTML5, Vanilla JavaScript, ES Modules, Web Workers, Web Audio
浏览器
支持 WebGL2 的现代浏览器
文档
文档

作者

Polar Games

来自巴西、专注浏览器游戏的工作室。这里的每个模板都是我们自己开发并发布的游戏。

查看我们的游戏

运行要求

  • A current browser with JavaScript and audio support
  • Static HTTP(S) hosting; no database, PHP or author account required
  • Only for editing the source: Node.js 26.13 or newer

技术支持涵盖技术问题,以及所提供游戏中可复现的缺陷。安装和定制属于单独的服务。

更新日志

  1. 1.0.02026年11月23日

常见问题

Do I need to build the game?

No. Upload the contents of game/ to any static HTTP(S) host. The source/ folder is only needed to run the tests or rebuild.

Can I reskin it?

Yes. Replace the WebP pictures and MP3 sounds keeping their names, change the colors at the top of src/styles.css and the opponents in src/config.js. The customization guide has step-by-step recipes.

Does it use a third-party chess engine?

No. The rules and the engine are original code, in src/rules.js and src/engine.js, and they run in the browser.

Can I add my own challenges?

Yes. Add a position to src/puzzles.js and run npm test: it checks that each challenge has one winning first move and no shorter mate.

Does it work on phones?

Yes, in portrait and landscape, with touch and drag. It also works with a mouse on desktop.

Where is progress saved?

In the player's browser (localStorage): the game in progress, solved challenges and settings. There is no account or server.

What licence applies?

The Polar Games Marketplace terms shown at checkout.

阅读完整的授权、支持、退款和隐私条款

Before you buy: guides and reviews

从巴西走向世界

买家遍布 25 个国家

为你的网站、应用或品牌授权一款附源代码的现成 HTML5 游戏。

  • 900+次销售
  • 25个国家
  • 2016开始销售
我们售出过的国家: 巴西, 美国, 英国, 德国, 加拿大, 澳大利亚, 法国, 印度, 荷兰, 西班牙, 意大利, 日本, 韩国, 波兰, 墨西哥, 瑞典, 瑞士, 新加坡, 阿拉伯联合酋长国, 沙特阿拉伯, 印度尼西亚, 土耳其, 葡萄牙, 菲律宾, 越南.

Polar Games 的更多作品

Toy ChessUS$49 US$41.65 -15%
立即购买