Workshop › Zelda-style Dungeon › Step 20 of 22
The stairs E are behind the locked door, in the last room. Standing on them wins: you escaped!
```js
if (ch === 'E') {
ctx.fillStyle = '#1c1917'
ctx.fillRect(x + 4, y + 4, T - 8, T - 8)
}
if (here === 'E') {
state = 'won'
}
```update, before the door, win on the stairs.Skills: Game states