A bastardized version of battleship with inspirations taken from the 1970's video game, Mugwump, that is playable on any web-browser of choice. Made in partial completion of The Odin Project's Full Stack JavaScript Path.
A live deployment of mug-wumps
is available online. However, for those that would like to locally access the repository:
- Clone the repository with
git clone https://github.com/FrancisLangit/mug-wumps/
, or download it as a.zip
file. - Navigate to where the repository is saved on your local machine.
- Run
npm install
to install the application's dependencies. - Open up
dist/index.html
on your web-browser of choice.
To start the game, press the Start button. You'll then have a turn to make a find on a wump. If you find one, the square you clicked on turns green. If otherwise, it turns grey. The computer is then subsequently given the same opportunity.
The game loop will over and over again and, in order to win, you must find all of the computer's wumps before it finds yours.
Additionally, before starting the match, you'll have unlimited opportunities to randomize the placement of the wumps in your gameboard. Press the Randomize button before the game starts to do so.
Feel free to submit an issue if you find a bug. You're also welcome to forward a pull request if you want to introduce a change.