Workshop › Missile Command-style Defense › Step 2 of 35
In the middle stands your base: the place your interceptor missiles will fly from.
```js
const BASE = { x: 240, y: GROUND - 14 } // where your interceptors start
ctx.fillStyle = '#a3e635'
ctx.fillRect(BASE.x - 12, BASE.y, 24, 14)
```BASE is an object: its x is the middle of the field, its y the top of the base (14 above the ground).BASE.x.const GROUND = 370 write the BASE line.}, write the two base lines.Skills: Drawing on a canvas
← Six cities to protect Draw again and again →