CODE SURVIVOR (Free Web Version)
Play free in your browser — Stage 1 of CODE SURVIVOR.
CODE SURVIVOR is a Python learning game for complete beginners, built as an action roguelite. You never start from a blank page: code arrives as fill-in-the-blank chips on level-up, in the order variables → comparisons → if → for → functions. At first you only move and dodge.
The code you write is the code that fights. A Python function, decide(snapshot), controls your ship: your ifs and fors pick the target and the weapon, and changing a line changes the fight on the spot. Survive the 10-minute run and the boss is waiting.
Who it's for: people who have never written Python, students, and anyone who tried a tutorial and stopped. Not a free-form coding sandbox — the game hands you the code one piece at a time.
- Code chips: 21 fragments of Python you earn on level-up. Learn each one in three steps: fill in the blanks → reorder the code → modify it yourself. 16 of the 21 are open as exercises from the start; the other 5 join the list once you unlock the weapons they use
- 8 base weapons and 4 evolutions in Stage 1: combine
shoot/blast/laser… and evolve them when the conditions are met - Enemy Codex and damage breakdown: the result screen shows which enemies dealt the most damage, how to counter the top one, and which sample build to load
- No account, no ads, no in-app purchases. Progress is saved in your browser. Export it as JSON to carry it to another device
This free web version is the complete Stage 1 — the 10-minute run, the boss, all 21 code chips, the exercises, unlocks and the codex. Nothing inside it is locked.
Want more? The paid Windows build adds a complete second stage: the line-blocking Warden, the second boss FIREWALL, two mini-bosses, four trait passives and the exclusive Lance evolution → https://bananafish0825.itch.io/code-survivor . Your web progress carries over: use [⬇ Export] under "💾 Export / import save" on the title screen, then import it in the Windows build.
Requirements: a desktop browser (Chrome, Edge, Firefox or Safari) and a keyboard (WASD / arrows to move, Space to dodge, E to edit code). The first start downloads the Python runtime (Pyodide, about 13 MB); after that it is cached. Phones work in landscape with touch controls, but a keyboard is the better way to play.
The same web version is also at https://code-survivor.pages.dev/ (installable as an offline app).
Languages: English and Japanese (switch on the title screen).
ブラウザで無料で遊べる、CODE SURVIVOR の第 1 ステージです。
CODE SURVIVOR は、Python 未経験者向けの学習ゲームです。見た目はアクションローグライトですが、コードはレベルアップの穴埋めから、変数 → 比較 → if → for → 関数の順に身につきます。白紙から書くことはなく、最初は移動と回避だけです。
書いたコードが、そのまま戦います。自機の動きは Python の関数 decide() が決め、if や for で「どの敵を狙うか」「どの武器を使うか」を書き換えると、その瞬間から戦闘が変わります。10 分のランを生き延びればボスが待っています。
こんな人に: Python を書いたことがない人・学生・入門書や動画で止まった人。自由にコードを書くサンドボックスではなく、ゲームがコードを 1 つずつ渡します。
- コードチップ: レベルアップで手に入る 21 種のコードの断片。穴埋め → 並べ替え → 自力で変更、の 3 段で身につく。21 種のうち練習問題は最初から 16 問、残り 5 問は使う武器を解放すると並ぶ
- 8 系統の武器と進化 4 種(第 1 ステージ):
shoot/blast/laser… を組み合わせ、条件を満たすと進化する - 敵図鑑と「やられた相手」: どの敵に多く削られたか、その敵への答え、読み込むお手本ビルドがリザルトに出る
- アカウント・広告・課金は無い。 進行はブラウザに保存され、JSON で書き出して別の端末へ持ち込める
この無料 Web 版は第 1 ステージの全部です(10 分のラン・ボス・21 種のコードチップ・練習問題・解放・図鑑)。中に鍵の掛かったものはありません。
続きが遊びたくなったら: 有料の Windows 版に第 2 ステージが入っています(線を止める護衛型、第 2 ボス FIREWALL、小ボス 2 種、特性パッシブ 4 種、進化「光槍」)→ https://bananafish0825.itch.io/code-survivor 。Web 版の進行は「💾 セーブの書き出し」で Windows 版に持ち込めます。
動作環境: パソコンのブラウザ(Chrome / Edge / Firefox / Safari)とキーボード(移動 WASD か矢印・回避 Space・コード編集 E)。初回は Python の実行環境(Pyodide、約 13 MB)を読み込みます。2 回目からはキャッシュから開きます。スマホは横持ちでタッチ操作もできますが、キーボードの方が遊びやすいです。
同じ Web 版は https://code-survivor.pages.dev/ にもあります(オフラインで使えるアプリとして入れられます)。
言語: 日本語と英語(タイトル画面で切り替え)。
| Updated | 5 days ago |
| Published | 7 days ago |
| Status | Released |
| Platforms | HTML5 |
| Rating | Rated 5.0 out of 5 stars (1 total ratings) |
| Author | banana.fish.0825 |
| Genre | Educational |
| Tags | Beginner Friendly, learn-to-code, pixel-free, programming, python, Roguelite, Singleplayer, survivors-like |
| AI Disclosure | AI Assisted, Code, Text |





Comments
Log in with itch.io to leave a comment.
It’s an addictive game—I got hooked for an hour and beat the boss. Everything’s pretty good, but it needs further development; it was missing background music and a pause button.
Thanks for playing! Hearing that you spent an hour with the game and defeated the boss is honestly the best feedback I could ask for. I've added both things you mentioned. You can pause by pressing [P] or clicking the ⏸ button in the header. Background music is in too: one track for normal fights and one for the boss, plus short themes on the title, clear and game-over screens. You can turn the music off with the “♪ Music on / off” button on the title screen. (You may need to reload the page once to get the new build.) If anything else gets in the way of your experience, please let me know. Feedback like this is incredibly helpful.