与克洛德一起创建了免费浏览器编码游戏,以帮助我的社区

2026年8月12日1 次浏览来源:Dev.to阅读原文

正文保留英文原文(机翻易破坏代码与排版),标题/摘要已提供中文

I started this after noticing how unequal access to coding education was in my community.

Some kids had every resource imaginable; others had never touched a computer.

I wanted to build something free, browser-based, and unique that anyone could use to learn how to code without needing an account, a subscription, or a powerful computer.

Claude Code helped me build it.

I handled the design direction and content.

Claude wrote most of the implementation.

What is it Forge Code is a coding challenge game that runs entirely in your browser.

You write a solve(text) function, hit run, and it checks your answer against the expected output.

JavaScript runs natively in a Web Worker.

Python loads via Pyodide.

Nothing is sent to a server.

No login required.

Two tracks The site is split into two completely separate paths.

The Academy is for beginners.

There are 24 challenges, and every single one is preceded by a lesson.

It is designed for people who have never written a line of code.

The Gauntlet is for people who want a real fight.

It is a story campaign across five acts, starting at medium difficulty and escalating to genuinely brutal algorithmic puzzles.

Every hard challenge generates a unique input per player using a seeded RNG, so your numbers are different from everyone else's.

You cannot just copy someone's answer. ** How the puzzle system works** This was the part I was most excited to build.

For harder challenges, instead of everyone getting the same input, the system seeds a random number generator with your player ID and the challenge ID.

That seed deterministically generates your puzzle input and the correct answer.

If you try it, I would genuinely love feedback such as which challenges felt too easy or too hard, and whether the Academy lessons actually taught you anything.

Have fun coding! https://forgecode.org

分享