Untitled

 avatar
unknown
plain_text
20 days ago
778 B
4
Indexable

var cowsPerSecDisplay = 0;

//calls the amount of clicks on the cow
var cows = 0;

//calls the amount of cows you get per click
var perCow = 1;

//list to show reviews of the cow shop
var reviews = ["No one knows about your cows", "Farmers around the country are buying your cows", "Everyone is buying your cows in this galaxy"];

//function for the cows per second button with a perimeter and adds the amount of cows per second display
function cowsPerSecond(amount) {
  if (cows>= function( ) {
    cows = cows + amount;
    updateScreen();
  }) {
    cows = cows - 500;
    timedLoop(100, __);
  }
  cowsPerSecDisplay = cowsPerSecDisplay + 50;
}

//button for the cows that you click
onEvent("cowButton", "click", function( ) {
  cows = cows + perCow ;
  updateScreen();
});
Editor is loading...
Leave a Comment