Cyber WeekGame templates at Cyber Week pricesEnds in See the deals

策略 · HTML5

Deckwood: Card Battle

Complete HTML5 card battle game with a 40-duel campaign

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

  • 源代码
在线预览

BonusTake more, pay less

  1. 1
  2. 2+5%19% total
  3. 3+10%23% total
  4. 4+15%27% total
  5. 5++20%32% total

再添加 2 个:每个再减 5%

A duel in the forest: three lanes on each side, critters on the table and acorns to spend.Baron Caw enters the duel and shows his power: Thunder Call, every 3 turns.Ring the bell: every critter attacks the critter in front of it, or the rival hero when the lane is free.The Blizzard trick freezes every enemy critter.The map of Sunny Glade, with three stars on every duel.Captain Marola before the duel: her power, the challenge and the difficulty.The deck builder: a table with 20 places, filters by family and cost, and the acorn curve.Victory: stars and the new cards won.A duel at Shell Cove, the beach table of world 3.The mud lane of Mushroom Marsh: a critter that stands in the mud has -1 attack.The ice lane of Frost Village: a critter put on the ice arrives frozen.The table of Storm Castle, where the spark lane gives +1 attack.Rest a finger on the bell to preview the result of the attack before you ring it.A card opened with the magnifier.The album with the 60 cards.A picture story that opens a world.Style: card backs, tables of the worlds and golden frames.The menu: Play, Decks, How to Play, Album, Style, Daily and Arena.How to play, in a few short steps.The game is in 14 languages.

Deckwood: Card Battle, an HTML5 card battle game

A single-player card battle game for the web, with 60 illustrated cards, a fox hero, five bosses and a campaign of 40 duels against the computer. Put critters on three lanes, spend acorns, ring the bell and win the Acorn Cup. Plain HTML, CSS and JavaScript ES modules, with no framework and no runtime dependencies.

Deckwood: Card Battle with the fox hero and the five bosses: 60 cards, 5 worlds, 5 bosses

The duel

Each side has 3 lanes. Play critters from a hand of up to 7 cards, spending acorns (one more each turn, up to 8), then ring the bell: every critter attacks the critter in front of it, or the rival hero when the lane is free. You start with a 20-card deck (up to 2 copies of a card) and 20 life, and you may swap up to 2 cards of the first hand.

Rest a finger on the bell (or point at it with the mouse) to preview the result of the attack before ringing it. 3 critters of one family on your lanes get +1 attack each, and the fox hero power, Fox Zap, costs 2 acorns for 1 damage, once a turn. There is an undo of the last play (not when it drew a card or ended the duel), an optional warning when a card can still be played, a recap of the rival's turn, a speed-up button and a Fast duels option.

A duel on a tree-stump table: play a card, ring the bell, attack

Cards and families

60 cards in 5 families of 12: Forest, Marsh, Beach, Snow and Storm. 45 are critters and 15 are tricks. The critters have 9 abilities: Shield, Cheer, Thorn, Heal, Grow, Fly, Taunt, Last Breath and Double Strike. The tricks have 9 kinds of effects: heal, damage, boost, blast all, draw, freeze one, freeze all, hit the hero and push to another lane.

Every card is a line in data/cards.js, and its picture is a file named after its id.

Critter and trick cards: 45 critters and 15 tricks in 5 families

Campaign: 5 worlds, 40 duels

Sunny Glade, Mushroom Marsh, Shell Cove, Frost Village and Storm Castle, with 8 duels each. Worlds 2 to 5 have a terrain lane (mud, sand, ice or spark), and a short picture story opens each of them. A final scene ends the campaign with a thank-you page.

Each duel has 3 stars: the win, the life left and the duel's challenge, 120 stars in all, with 4 kinds of challenges. Choose Easy, Normal or Hard before a duel; winning on Hard earns a crown. You start with the 12 Forest cards and win the other 48 in the campaign. There is no shop, no packs and no purchases.

The path through the 5 worlds of the campaign: 40 duels

Bosses with special powers

The 8th duel of every world is a boss: Elder Moss, Chef Croak, Captain Marola, Lady Frost and Baron Caw. Each boss has a power that acts every 3 turns: Deep Roots, Soup Time, Cannon Splash, Cold Stare and Thunder Call. The bosses have several poses and faces, and they enter the duel and show their power.

The five bosses on a stage, each with a special power

Decks and collection

Build 3 decks with names on a table with 20 places, by tapping or dragging, with a magnifier on each card. See the acorn curve, filter by family and cost, order by cost, read an advice line, use the automatic builder or draw a Surprise deck. An unfinished deck is kept. The album shows the 60 cards, and the Style screen has card backs (classic, one for each world and a champion back), the tables of the worlds and golden frames for a family.

The fox builds a deck on the deck table

Daily Challenge and Arena

The Daily Challenge is a duel made from the date, with a borrowed deck. It needs no server and counts the days in a row. The first try of a day is the same for everyone, and each new try shuffles again. The Arena opens after the campaign: duels in a row, with the life carried over and the record saved.

The Daily Challenge and the Arena

Presentation, 14 languages, phone and desktop

All the pictures are artwork made for this game: the 60 cards, the fox hero and the five bosses, 5 maps, 5 duel tables, 5 story scenes, picture stories and the interface. The effects use a canvas layer and the Web Animations API. There are 5 music tracks (one for the menu and the map, 3 for normal duels and one for bosses) and sound effects, with separate volumes.

Layouts for phones in portrait and landscape, tablets, desktop and ultrawide screens, with touch and mouse. Options for less motion, camera motion, vibration (where the device supports it) and full screen. 14 languages: English, Portuguese, Spanish, French, German, Italian, Dutch, Polish, Turkish, Russian, Indonesian, Japanese, Korean and Chinese. Critter names are the same in every language.

Deckwood: Card Battle on phone and desktop, in 14 languages

Reskin it: what is in which file

The game reads its data when it starts, so most changes need no build step:

  • data/cards.js: the 60 cards (family, type, cost, attack, life, ability and, for tricks, the effect)
  • data/campaign.js: worlds, bosses, the life and level of every opponent, terrains, boss powers, difficulty levels, challenges, stars and prizes
  • src/config.js: the feel numbers (timings, shake, effects)
  • src/lib/locales/: one text file for each of the 14 languages
  • assets/: the pictures, sounds, music and fonts, found by file name

What is in the package

  • game/: the ready-to-host game. Upload it to any static web host; no server language, database or account.
  • source/: the complete editable project in plain HTML, CSS and JavaScript ES modules, with 57 automated checks. Node.js 26.13 or newer is only needed for these optional tools.
  • An illustrated buyer guide and a step-by-step customization guide, both in 14 languages.
  • All the artwork, the music and the sound effects, and the Fredoka and Rubik fonts (SIL OFL 1.1).

Notes

  • Single player against the computer. There is no online mode, 2-player mode, ranking, account, shop or in-app purchase in this edition.
  • Progress is saved in the browser of each player (localStorage, key deckwood.v1). The game makes no requests to other servers.
  • It needs static HTTP(S) hosting and does not run from file://.
  • The translations were not reviewed by native speakers. It was tested on a computer in the Chrome, Safari (WebKit) and Firefox engines, and on a real device only on one iPhone during development.

本版本的游戏画面

截取自此处销售的版本。

包含

  • A campaign of 5 worlds with 8 duels each, 40 duels in all: Sunny Glade, Mushroom Marsh, Shell Cove, Frost Village and Storm Castle, with a boss at the end of every world (Elder Moss, Chef Croak, Captain Marola, Lady Frost and Baron Caw)
  • Boss powers that act every 3 turns (Deep Roots, Soup Time, Cannon Splash, Cold Stare and Thunder Call), terrain lanes in worlds 2 to 5 (mud, sand, ice and spark), short picture stories that open worlds 2 to 5, and a final scene with a thank-you page
  • 60 cards in 5 families of 12 (Forest, Marsh, Beach, Snow and Storm): 45 critters and 15 tricks, with 9 abilities (Shield, Cheer, Thorn, Heal, Grow, Fly, Taunt, Last Breath and Double Strike) and 9 kinds of trick effects
  • A duel on 3 lanes per side with a 20-card deck (up to 2 copies of a card), 20 life, acorns as energy (one more each turn, up to 8), a hand of up to 7 cards, a swap of up to 2 cards at the start, a family bonus (+1 attack for 3 critters of one family) and the hero power Fox Zap
  • An attack preview on the bell, an undo of the last play, an optional warning when a card can still be played, a recap of the rival's turn, a speed-up button on the rival's turn and a Fast duels option
  • A computer opponent that plans its turn with a beam search, 3 difficulty levels (Easy, Normal and Hard, with a crown for winning on Hard) and 3 stars per duel (the win, the life left and the duel's challenge), 120 stars in all, with 4 kinds of challenges
  • A deck builder with 3 named decks, a table with 20 places (tap or drag), a magnifier on each card, an acorn curve, filters by family and cost, an advice line, an automatic builder and a Surprise deck; an unfinished deck is kept. An album of the 60 cards
  • A Daily Challenge (a duel made from the date with a borrowed deck, no server, counts the days in a row) and an Arena that opens after the campaign, with the life carried over from duel to duel and a saved record
  • Style options: card backs (classic, one for each world and a champion back), the tables of the worlds and a golden frame for each family
  • All the artwork made for this game: the 60 cards, the fox hero and the 5 bosses with several poses and faces, 5 maps, 5 duel tables, 5 story scenes, picture stories and the interface art. Effects use a canvas layer and the Web Animations API
  • 5 music tracks (one for the menu and the map, 3 for normal duels and one for bosses) and sound effects, with separate music and effects volumes
  • 14 interface languages, with the same critter names in all of them; Fredoka and Rubik fonts (SIL OFL 1.1), and system fonts for Japanese, Korean and Chinese
  • Layouts for phones in portrait and landscape, tablets, desktop and ultrawide screens, with touch and mouse; options for less motion, camera motion, vibration (where the device supports it), full screen and volumes
  • A ready-to-host game/ folder and the complete editable source (plain HTML, CSS and JavaScript ES modules, no framework and no runtime dependencies) with 57 automated checks and an optional npm run build
  • An illustrated offline buyer guide and a step-by-step customization guide, both in 14 languages

本版本不包含

  • An online mode, a 2-player mode, accounts or leaderboards
  • A card shop, packs or in-game purchases
  • Native apps, hosting and custom development

ZIP 包里有什么

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

deckwood-1.0.0-complete.zip1,096 个文件 · 60.4 MB
  • deckwood-static-1.0.0/1,095 个文件 · 60.4 MB
    • documentation/HTML 指南,购买前请先打开36 个文件 · 5.2 MB
      • img/JPG · PNG · 21 个文件 · 4.3 MB
      • customization-de.html31 KB
      • customization-es.html30 KB
      • customization-fr.html31 KB
      • customization-id.html30 KB
      • customization-it.html30 KB
      • customization-ja.html34 KB
      • customization-ko.html31 KB
      • customization-nl.html31 KB
      • customization-pl.html29 KB
      • customization-pt.html30 KB
      • customization-ru.html38 KB
      • customization-tr.html31 KB
      • +3 个文件596 KB
    • game/可直接部署:上传此文件夹即可521 个文件 · 27.6 MB
      • assets/美术、音频和字体JSON · MP3 · TXT · WEBP · WOFF2 · 438 个文件 · 26.7 MB
      • css/CSS · 9 个文件 · 126 KB
      • data/JS · 2 个文件 · 12 KB
      • src/源代码模块JS · 70 个文件 · 725 KB
      • DOCUMENTATION.txt1 KB
      • index.html15 KB
    • source/可读的源代码531 个文件 · 27.6 MB
      • assets/美术、音频和字体JSON · MP3 · TXT · WEBP · WOFF2 · 438 个文件 · 26.7 MB
      • css/CSS · 9 个文件 · 126 KB
      • data/JS · 2 个文件 · 12 KB
      • src/源代码模块JS · 70 个文件 · 725 KB
      • tests/自动化测试MJS · 4 个文件 · 44 KB
      • tools/构建与检查脚本MJS · 3 个文件 · 5 KB
      • DO-NOT-UPLOAD.txt1 KB
      • index.html15 KB
      • package-lock.json1 KB
      • package.json1 KB
      • README.md3 KB
    • THIRD-PARTY-LICENSES/需与游戏一并保留的许可声明3 个文件 · 10 KB
      • Fredoka-OFL.txt4 KB
      • README.txt2 KB
      • Rubik-OFL.txt4 KB
    • CHANGELOG.txt版本历史1 KB
    • CUSTOMIZATION.html1 KB
    • DOCUMENTATION.html打开指南1 KB
    • START-HERE.txt快速入门2 KB
  • POLAR-MARKETPLACE-START-HERE.txt从这里开始:许可、支持与上手步骤1 KB

商品详情

版本
Standalone Browser Edition
版本号
1.0.0
发布于
2026年11月30日
更新于
2026年11月30日
分类
策略
语言
英语, 葡萄牙语, 西班牙语, 法语, 德语, 意大利语, 荷兰语, 波兰语, 土耳其语, 俄语, 印度尼西亚语, 日语, 韩语, 简体中文
包含的文件
HTML, CSS, JavaScript, WebP, MP3, WOFF2
技术栈
HTML5, Vanilla JavaScript, ES Modules, Canvas, Web Animations API, Web Audio
浏览器
支持的浏览器:Chrome 110+, Edge 110+, Firefox 121+, Safari 16.4+ (macOS, iPhone, iPad), Samsung Internet 21+, Android 10+, iOS/iPadOS 16.4+。不支持智能电视和过时的浏览器。
文档
文档

作者

Polar Games

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

查看我们的游戏

运行要求

  • 支持的浏览器:Chrome 110+, Edge 110+, Firefox 121+, Safari 16.4+ (macOS, iPhone, iPad), Samsung Internet 21+, Android 10+, iOS/iPadOS 16.4+。不支持智能电视和过时的浏览器。
  • Static HTTP(S) hosting (it does not run from file://); no database, PHP or author account required
  • Only for editing the source with the optional tools: Node.js 26.13 or newer

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

更新日志

  1. 1.0.02026年11月30日

常见问题

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 to rebuild.

Can I reskin it?

Yes. Cards are in data/cards.js, the campaign in data/campaign.js, the feel numbers in src/config.js and the texts in src/lib/locales/. Pictures and sounds are separate files that the code finds by name. The customization guide has step-by-step recipes.

Can I add cards?

Yes. Add an entry to data/cards.js (id, family, type, cost, attack, life and ability) and a picture named after its id in assets/cards/. The customization guide lists the limits.

Can I change the campaign and the difficulty?

Yes. data/campaign.js holds the worlds, the opponents' life and level, the terrains, the boss powers, the difficulty levels and the rewards.

Which languages does it have?

14: English, Portuguese, Spanish, French, German, Italian, Dutch, Polish, Turkish, Russian, Indonesian, Japanese, Korean and Chinese. The translations were not reviewed by native speakers, so have the ones you publish checked. Critter names are the same in every language.

Where is the progress saved?

In the browser of each player (localStorage, key deckwood.v1). There is no server, account or ranking, and the game makes no requests to other servers. The customization guide shows where to change the key.

Is there online multiplayer?

No. It is a single-player game against the computer. There is no 2-player mode either.

Does it use a framework or a library?

No. It is plain HTML, CSS and JavaScript ES modules with no runtime dependencies. The rules are a pure, seeded state machine with automated tests.

Does it work on phones?

It supports touch in portrait and landscape, and has layouts for tablets, desktop and ultrawide screens. It was tested on a computer in the Chrome, Safari (WebKit) and Firefox engines, and on a real device only on one iPhone during development.

What licence applies?

The Polar Games Marketplace terms shown at checkout.

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

Before you buy: guides and reviews

从巴西走向世界

买家遍布 25 个国家

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

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

Polar Games 的更多作品

Deckwood: Card BattleUS$99 US$84.15 -15%
立即购买