Skip to content

A tribute to the original Cookie Clicker. Earn cookies by clicking, buy a companion to click for you and a collective culmination compounder to multiply your clicks!

fpemba/clicking-calamity-fpemba

 
 

Repository files navigation

Basic Browser JavaScript - Cookie Click Counter Calamity

A tribute to Cookie Clicker

The Scenario - Welcome to Coo Coo Computing Challengers!

You have been contracted by Coo Coo Computing Challengers to take a concept, Click Counter Calamity, from the drawing board to the browser. Coo Coo Computing Challengers is a company that spends more time creating alliterative puns than actual writing software and they need our help. They want you to create a webpage that keeps track of user clicks, but they have some strange requirements for 'Clicking Companions' and 'Collective Culmination Compounders'. They have a list of requirements for us, but they are too busy trying to change the words in their company's mission statement to words that start with the letter 'C' exclusively to give us guidance on how to implement these requirements.

The Application Requirements

  • You must create a website that tracks the amount of times the clicking button has been clicked.
    • Create a button in the browser to click.
    • Create a section on the page that interacts with the 'Clicking Companions'.
      • Displays the amount of Clicking Companions purchased.
      • Provides a button to purchase Clicking Companions.
    • Create a section on the page that interacts with the 'Collective Culmination Compounder'.
      • Displays the amount of Collective Culmination Compounder purchased.
      • Provides a button to purchase Collective Culmination Compounder.
  • Have a function that returns the click count.
  • You must implement a feature called 'Clicking Companions'.
    • Clicking Companions are bought with clicks from your click total.
    • Each Clicking Companion that is purchased increases the cost of the next Clicking Companion.
    • The initial cost should be around 100 clicks.
    • For each Clicking Companion that has been purchased the count of clicks goes up by one every second. This is a cumulative effect, so having 100 Clicking Companions would result in having 100 clicks automatically added to the total every second.
      • Have a function that adds the amount of Clicking Companions to the click total.
      • Inside your game loop, call the above function every second.
  • You must implement a feature called 'Collective Culmination Compounders'.
    • Collective Culmination Compounders are bought with clicks from your click total.
    • Each Collective Culmination Compounder that is purchased increases the cost of the next Collective Culmination Compounder.
    • The initial cost should be around 10 clicks.
    • The first Collective Culmination Compounder increases the value of a click from 1x to 1.2x.
    • Every subsequent Collective Culmination Compounder increases the value of a click exponentially. For example, the second Collective Culmination Compounder will increase the value of a click to 1.2x * 1.2x or 1.44x.
  • [] You must be able to reset the game state. This action should reset the game to zero clicks, zero Clicking Companions, and zero Collective Culmination Compounders.
  • This website also has some other requirements:
    • Use semantic html and BEM when writing your html so that in the future we have a solid base to expand upon.
    • You must have a header for this page. It should have a few of the following features:
      • A navigation menu that when clicked will expand sections about:
        • Coo Coo Computing Challengers
        • The inspiration for this game, Cookie Clicker.
        • Your contact info.
    • Deploy your project so that it is reachable on the internet.

About

A tribute to the original Cookie Clicker. Earn cookies by clicking, buy a companion to click for you and a collective culmination compounder to multiply your clicks!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 97.3%
  • HTML 1.7%
  • CSS 1.0%