Skip to content

LuisPalmejar21/Farmer-Harvest-Game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Two more features are implemented to the Farmer Harvest game.

  1. Crops have different colors displayed on the game, so each color will have different point values. Wheat (beige) = 1 point Pumpkin (Orange) = 3 points Golden Apple (Gold) = 5 points

  2. Scarecrows can spawn outside of the game and move linerally. If you collided with a scarecrow, you lose 10 seconds of time.

Arrow functions are used for functions manipulating the class variables. Bind functions are used for functions manipulating the global variables. This is used for globallizing a variable. However, an arrow function does change the scope of a "this" variable.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors