mirror of
https://github.com/microsoft/Web-Dev-For-Beginners.git
synced 2025-08-21 05:52:23 +02:00
@@ -52,7 +52,7 @@ The above will start a HTTP Server on address `http://localhost:5000`. Open up a
|
||||
|
||||
### Add code
|
||||
|
||||
1. **Track end condition**. Add code that keeps track of the number of enemies, or if the hero ship has been destroyedby adding these two functions:
|
||||
1. **Track end condition**. Add code that keeps track of the number of enemies, or if the hero ship has been destroyed by adding these two functions:
|
||||
|
||||
```javascript
|
||||
function isHeroDead() {
|
||||
|
Reference in New Issue
Block a user