In this game you have a Player and Enemies (Bugs). The goal of the player is to reach the water, without colliding into any one of the enemies. The player can move left, right, up and down. The enemies move in varying speeds on the paved block portion of the scene. Once a the player collides with an enemy, the game is reset and the player moves back to the start square. Once the player reaches the water the game is won.
Clone the Github repository and use Bundler to install the gem dependencies
$ git clone https://github.com/bobofe/Arcade-Game-Clone_zh.git
If you would like you can add additional functionality to the game. You can add more code to the app.js file and to the Enemy and Player classes to accomplish that. #License The content of this repository is licensed under [here](a Creative Commons Attribution License).