Skip to content

Game between two thieves to steal money unless a police officer is in the way

Notifications You must be signed in to change notification settings

Shorouq-Mohammad/Gold_Rush_Matrix

Repository files navigation

Gold_Rush Game

A competition between two professional thieves to steal money unless a police officer is in the way.

📷 project Screenshots

🌟 Features

  • The user decide rows*columns in the game.
  • User1 & User2 movement is done by WASD and IJKL keys respectively 🎮.
  • It uses MVC architecture.
  • The player can't move out of the game bounds, or if there is ahead a police officer or the other player ⛔.
  • The money, police officers and nothing are distributed randomly according to 60, 30, 10 probabilities.
  • The game ends when all the money is collected with either a win or a tie 🏆.
  • the police officers generation is validated not to block any money or path 🚫.

💻 Technology used

  • MVC architecture, jQuery, Handlebars, HTML, CSS, JS

💪 Try it Now!

  • Clone this repository. You will need node, npm installed globally on your machine.
  • Run npm install
  • Open index.html