/fox-in-the-hen-house

Javascript game where the goal is to make the fox eat all the chickens without being caught by the farmer.

Primary LanguageJavaScript

Fox in the Hen House

The first group project for the intermediate Javascript class at the Epicodus, coding school. This is a Javascript and HTML5 based game, where the user is a fox eating chickens without being caught by the farmer.

By Sam Cook, Erin Deuel, Shawna Duvall, Marina Poltorak, and Daniel Hongel Created initially on July 5th, 2019.

Description

This game is a group project for the coding school, Epicodus. It is the beginning of a stealth game, eventually intended to have the player navigate a fox through a farmyard. The objective is to eat chickens, while avoiding being spotted by the farmer, and eventually (later stretch goals) dogs, and other hazards.

Specs

Behavior Input Output
click starts game click starts the game loop
WASD moves fox WASD Fox moves according to keys
If fox enters a "v" tile (farmer's vision field), fox is caught and game is lost WASD game over
if the fox enters a "c" tile (the chicken field), chicken is eaten and game is won WASD game is won

Setup/Installation Requirements

  • Clone this repo to your desktop.
  • Open a terminal window.
  • Change directories in terminal to this project's folder.
  • Type npm install.
  • Open the project directory in a text editor, like atom or sublime, to name a few.
  • In a terminal window, type npm run start.
  • Please enjoy hunting chickens as a fox, grrr!

Known Bugs

There are no known bugs at this time.

Support and contact details

If you encounter any issues using this software, have comments or suggestions, or would like to support further projects please e-mail us at:

Technologies Used

  • html
  • JavaScript
  • css
  • bootstrap
  • jquery
  • webpack and plugins
  • Karma and Jasmine

License

This software is license under the MIT license.

Copyright (c) 2019 by: Sam Cook,Erin Deuel, Shawna Duvall, Marina Poltorak, and Daniel Hongel

Acknowledgments

We would like to say a special thank you to the youtube channel of PothOnProgramming found at: https://www.youtube.com/channel/UCdS3ojA8RL8t1r18Gj1cl6w. PothOn Programming had many tutorials and available code that helped us understand and create a foundation for our program. We also couldn't have done it without the tutorial by Dan Nearne, found in the following article published in net magazine: https://www.creativebloq.com/html5/build-tile-based-html5-game-31410992.