Giter Club home page Giter Club logo

pizza-farm's Introduction

Pizza Farm

Taylor Somers & Beverly Potts

Description

This program is a work-in-progress with basic functionality as a farming game that allows the user to water a plant and get a point each time the plant is harvested. The plant must be watered at least once every thirty seconds to keep it alive. The program was created using JavaScript in a WebPack environment, with particular emphasis on the Red-Green-Refactor testing and development process.

Languages & Technologies Used:

Programming Languages & Libraries

  • CSS
  • HTML
  • JavaScript
  • jQuery
  • Node
  • WebPack

Operating Systems & Programs

  • Brave
  • Git Bash
  • Google Chrome
  • Microsoft Windows 10
  • Visual Studio Code

Installation

  1. Download a web browser, such as Apple Safari, Brave, Google Chrome, Microsoft Edge, Mozilla Firefox, or Yandex.
  2. Navigate to https://github.com/taylorsomers/pizza-farm.
  3. Click the green "Clone or download" button at the right of the screen.
  4. Select "Download ZIP."
  5. Use a file extractor or unzip program (such as PeaZip, Unzipper, WinZip, Zipware, or 7-ZIP) to extract the ZIP files onto your computer.
  6. Open the directory containing the extracted files.
  7. Open your computer's terminal and navigate to the directory bearing the name of the program and containing the top level subdirectories and files.
  8. Enter the command "$ npm install" in the terminal and press "Enter".
  9. Enter the command "$ npm run build" in the terminal and press "Enter".
  10. Enter the command "$ npm run start" in the terminal and press "Enter".
  11. The program should open and run with its user interface accessible in your default web browser.

Specifications

Program Behavior Example Behavior Example Output
Program will generate a crop that will grow over time if the user waters it. "const tomato = new Tomato(); tomato;" "Tomato {waterLevel: 30}"
Crop will die if the user does not water it for 30 seconds. "(@T=31s)" "GAME OVER"
After two minutes, the user may harvest the crop to get a point. "(@T=121s) Click 'Harvest'" "Points: 1"
Once the user has acquired two points, the user wins. "Points > 2" "Alert: You Win!"
If the user does not harvest their crop within thirty seconds of its becoming ready to harvest, the crop will wither and the user will starve.

Known Bugs

  • No known bugs at this time, apart from the program being incomplete. If any are discovered, please feel free to reach out and let me know. If you would like to contribute any fixes or improvements, please do!

Contributors

  • Taylor Somers
  • Beverly Potts

License

This website is licensed under the GNU General Public License GPLv3. (C) 2020 Taylor Somers. All rights reserved.

pizza-farm's People

Contributors

taylorsomers avatar

Watchers

 avatar

Forkers

bapotts

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.