Workshop › Angry Birds-style Slingshot › Step 38 of 47
The top line shows how many birds are left, and with none left the sling is drawn empty.
```js
if (state === 'aiming' && birdsLeft > 0) {
ctx.fillText('Birds ' + birdsLeft + ' Score ' + score, 10, 22)
```+; ' Score ' starts with two spaces to keep the two parts apart.In draw, add && birdsLeft > 0 to the aiming if, and change the score text as shown.
Skills: Drawing on a canvas