Play Gorillas game!


Gorillas is an HTML5 turn-based artillery game where two gorillas are throwing explosive bananas at each other. In fact, this is a remake of the old classic GORILLAS.BAS game.

I made it as the first part of my Supervised Machine Learning Game Tutorial in which AI learns to play Gorillas game.

Here is the video where I explain the entire project if you’d like to take a look at it:



Your aim in this game is to hit the enemy ape with an explosive banana before he kills you.

To start a new game, press on the “New Game” button.

In the Options dialog, select the ape size for both players.
You can choose between four different apes:

  1. Bonobo (size S)
  2. Gorilla (size L)
  3. Gigantopithecus (size XL)
  4. King Kong (size XXXL)

In the Options dialog, you can also define the maximal height difference between the buildings and turn the sound on/off.

The game starts by clicking on the “Play” button.

To adjust the angle and power of each banana shot, use your mouse!
The green line shows the current shooting direction, and the red line shows the previous one.




Source Code

The source code of the game prototype is available at Github:


Leave a Reply

Your email address will not be published. Required fields are marked *