Git Product home page Git Product logo

feed-a-mole's Introduction

Feed-a-Mole

Feed-a-Mole is an in-browser computer game developed with JavaScript, HTML, and CSS. A variation of the popular arcade game Whack-a-Mole, it asks users to feed hungry moles as they emerge from the ground for a short period of time. Players receive points for each mole they feed and win the game by reaching a set number of points.

Overview/Implementation

Feed-a-Mole uses modular JavaScript to implement in-game logic and user interaction/display functionality. It handles the state of the game's objects (gameboard, status bar, etc.), responding dynamically to the player's actions; randomizes the timing/duration of each mole object's appearance; and updates the DOM according to these changes.

The styling and layout of the game's elements are designed with HTML and CSS.

How to Play

Feed-a-Mole is hosted on Github Pages and can be played live here.

The game will begin automatically, and hungry moles will appear periodically on the board. You should feed them (by clicking on them with your bird cursor) before they return to their hole. For each mole you feed your score will increase by 1 point and if you reach 10 points you'll win the game. (The worm-meter at the top of the screen provides a visual representation of your score.)

Credits

Feed-a-Mole was developed as part of the Frontend Masters Bootcamp, using artwork designed by Alice Brereton.

feed-a-mole's People

Contributors

jeremy-gleason avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.