跳到正文
DEV Community· Khaled Al-Bik·· 1 小時前AI 評分31

我製作了 9 款可在瀏覽器執行、無需安裝的迷你益智遊戲

I built 9 tiny puzzle games that run in your browser, no installs

AI 導讀

作者製作了 9 款可在瀏覽器執行的益智遊戲,無需安裝、註冊帳戶或觀看廣告。遊戲包括 AI 字詞謎題 WordMind、每日 6x6 邏輯謎題 DailyGrid,以及與 AI 對手競速的滑圖遊戲 PixelRace;大部分遊戲以單一 HTML/CSS/JS 檔案製作。

正文

Khaled Al-Bik

Over the last few weeks I built a small collection of puzzle games as a side project. Everything runs in the browser: no installs, no sign-ups, no ads. Most of them are single-file HTML/CSS/JS, which kept the scope honest and forced every game to earn its place.

Here's the set:

Word games and logic

  • WordMind - an AI word puzzle with a fresh challenge every round, letter-frequency hints, and adaptive difficulty that follows your streaks.
  • DailyGrid - a daily 6x6 logic grid, the same board for everyone each day, with scoring, mistake penalties and a day-streak counter.
  • TypeDash - a typing speed test with live WPM and accuracy, personal bests, and curated practice texts.

Puzzles with a twist

  • PixelRace - a sliding picture puzzle raced against an AI rival solving the same scramble in real time, on 3x3, 4x4 and 5x5 grids. The rival's pace adapts to your personal records.
  • PixelSynth - paint pixels on a grid and hear them looped as generative music.

Spot-it scenes

What I learned building them

  • Single-file constraints are a feature. When the whole game has to fit in one HTML file, you cut scope early and polish what remains.
  • Adaptive difficulty beats difficulty settings. In WordMind and PixelRace the challenge follows the player's own streaks and records instead of asking them to pick easy/medium/hard up front.
  • Daily puzzles need shared state to be fun. DailyGrid gives everyone the same board each day, which makes comparing scores with friends the point of the game.

The whole collection lives at puzzle-games-ten.vercel.app, with the rest on itch.io.

Happy to answer questions about how any of them work, and I'd genuinely love feedback, especially on the adaptive difficulty in PixelRace.

來源:DEV Community · dev.to