In this task, we spawn enemies on the board.
We create one file for each type of enemy. They are
boss.js. Let's create these files and put them inside the
scripts/board-objects/enemies/ folder. Then, we include them in the game's HTML. The base
enemy.js file comes first because all the other enemy types are based on
enemy.js and need its reference:
<script src="scripts/board-objects/enemies/enemy.js"></script> <script src="scripts/board-objects/enemies/enemy-dummy.js"></script> <script src="scripts/board-objects/enemies/enemy1.js"></script> <script src="scripts/board-objects/enemies/enemy2.js"></script> <script src="scripts/board-objects/enemies/enemy3.js"></script> ...