コード読解RPGCode Reading RPG
Mac・iPhone・iPad / 近日公開Mac · iPhone · iPad / Coming soon

敵の攻撃は、すべて本物のコード。

Every enemy attack is real code.

フィールドを歩き、町の人を助け、草むらのバグと戦う王道のターン制RPG。「たたかう」を選ぶと、魔物は PHP・Python・Ruby の呪文を唱えてくる。出力を当て、壊れた行を見抜き、正しい直し方を選んだときだけ、こちらの攻撃が届く。

A classic turn-based RPG: walk the field, help the townsfolk and fight the bugs in the tall grass. When you choose Fight, the monster casts a spell written in PHP, Python or Ruby. Predict its output, spot the broken line or pick the right fix, and only then does your attack land.

App Store で近日公開Coming soon on the App Store 戦い方を見るSee how you fight →
PHPPythonRuby日本語 / English
Python の呪文を読んで答える戦闘画面 Battle screen: read a Python spell and answer
20章とエンディングchapters and an ending
359問の呪文(PHP)spells to read (PHP)
3言語(PHP・Python・Ruby)languages (PHP, Python, Ruby)
7種類の戦い方ways to fight
FeaturesFeatures

遊んだ量が、そのまま読んだ量になる。

The more you play, the more code you read.

AI がコードを書く時代に大切なのは、そのコードを読んで、正しいか確かめる力。ゲームの決まりは、すべてそのために作りました。

Now that AI writes so much of our code, what matters is reading it and checking that it is right. Every rule in the game is built for that.

⚔️

経験値は正解でしか増えない

EXP only for correct answers

魔物を倒すだけでは強くならない。レベルが1つ上がるたびに、本当に読んだコードが増えていく。

Defeating monsters alone won't level you up. Every level you gain is code you have actually read.

✅

答えはすべて本物の処理系で確認

Answers checked by real runtimes

正解・まちがいの選択肢・実行の記録は、本物の PHP・Python・Ruby で動かして作った。記憶で書いた答えはない。

Every answer, wrong choice and execution trace was produced by running real PHP, Python and Ruby. Nothing is written from memory.

▶️

まちがえたら1行ずつ再生

Replay it line by line

答えたあとは、どの選択肢がなぜ正しく、なぜちがうかを読める。本物の実行記録を1行ずつ追って、変数の動きを確かめられる。

After each answer, read why every choice is right or wrong, then step through the real execution and watch the variables change.

🎲

数字も名前も戦うたびに変わる

New numbers every battle

答えを覚えても進めない。忘れたころに前の章の魔物がよみがえり、間隔をあけて復習できる。

Memorizing answers won't help. Monsters from earlier chapters come back just as you start to forget, for spaced review.

📈

理解度がわかる

See where you stand

答えから、いまの読む力の目安・苦手な論点・得意な問題の種類を見積もる。実務の人は好きな章から始められる。

Your answers estimate your current level, weak topics and strong question types. Experienced developers can start from any chapter.

🎮

王道のRPGとして遊べる

A real RPG, not a quiz

ドット絵のフィールド、町の人の頼み事、店と宿、ボス戦。曲と効果音もすべてコードで合成したオリジナル。

Pixel-art fields, townsfolk with requests, shops, inns and boss fights. All music and sound effects are synthesized in code.

Battle

7種類の戦い方で、コードを読む。

Seven ways to read code in battle.

出力を当てるだけではない。現場でコードを読むときにする「確かめ方」を、そのまま戦いにした。

It's more than guessing output. Each battle type is a way developers actually read code at work.

predict_output

呪文の詠唱

Spellcast

何と表示される?を当てる

Predict what it prints

find_bug

罠

Trap

壊れている行を見つける

Find the broken line

choose_fix

封印の扉

Sealed Door

正しい直し方を選ぶ

Choose the right fix

arrange

魔法陣

Magic Circle

行を正しい順に並べる

Put the lines in order

review_ai

ミミック

Mimic

AI が書いたコードの穴を見抜く

Catch the flaw in AI-written code

trace

ボスの連続攻撃

Boss Combo

1行ずつ値を追い続ける

Trace values line by line

refactor

改築

Rebuild

動きを変えない書き直しを選ぶ

Refactor without changing behavior

diagnostic

診断バトル

Diagnostic

12問で、合う難しさをすすめる

12 questions to suggest a difficulty

Journey

言葉の基本から、本番の嵐まで。

From the basics to a stormy night in production.

全20章、3部構成。第1部で言葉を覚え、第2部で長いコードを読んで直し、第3部で実務の落とし穴に挑む。

Twenty chapters in three parts: learn the language, read and fix longer code, then face the traps of real-world work.

Ch. 1–10

第1部 言葉

Part 1 · The Language

  • 変数・条件・ループ・配列
  • 関数・文字列・クラスと継承
  • null と例外・enum・日付・JSON
  • Variables, conditions, loops, arrays
  • Functions, strings, classes and inheritance
  • null and exceptions, enums, dates, JSON
Ch. 11–15

第2部 読む・直す・守る

Part 2 · Read, Fix, Defend

  • 長いコードと呼び出し履歴
  • リファクタリングとアンチパターン
  • SQL インジェクション・XSS・パスワード
  • Longer code and stack traces
  • Refactoring and anti-patterns
  • SQL injection, XSS, password hashing
Ch. 16–20

第3部 実務の都

Part 3 · The City of Practice

  • N+1・トランザクション・NULL
  • テストと設計
  • お金と時刻の落とし穴・本番の運用
  • N+1 queries, transactions, NULL
  • Testing and design
  • Money and time pitfalls, running in production
Screens

画面

Screens