Giter Club home page Giter Club logo

bees's Introduction

Bees task for interview

The Bee Game Objective

The objective of this exercise is to create a PHP application that performs the following tasks:

• A web page must be produced as the interface to play the game. Styling is not expected nor necessary. A button must be present to kick off the process of hitting a random bee.

• All code must be submitted to work in a local environment. Hosted solutions will be rejected.

• The game must adhere to the following rules and constraints.

Specification:

Bees: There are three types of bees in this game:

• Queen Bee. The Queen Bee has a lifespan of 100 Hit Points. When the Queen Bee is hit, 8 Hit Points are deducted from her lifespan. If/When the Queen Bee has run out of Hit Points, All remaining alive Bees automatically run out of hit points. There is only 1 Queen Bee.

• Worker Bee. Worker Bees have a lifespan of 75 Hit Points. When a Worker Bee is hit, 10 Hit Points are deducted from his lifespan. There are 5 Worker Bees.

• Drone Bee. Drone Bees have a lifespan of 50 Hit Points. When a Drone Bee is hit, 12 Hit Points are deducted from his lifespan. There are 8 Drone Bees.

Gameplay:

To play, there must be a button that enables a user to HIT a random bee. The selection of a bee must be random. When the bees are all dead, the game must be able to reset itself with full life bees for another round. Constraints:

The application must run through a browser

To Install

1. Put these files anywhere on your server

2. run composer install

3. Point your browser towards index.php

4. Done!

bees's People

Contributors

n0rz avatar

Watchers

James Cloos avatar  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.