Cookie Clickers A cookie clicker is a simple, pretty dumb, yet very popular style of game. Essentially, you click a button to earn cookies. Those cookies can be spent to unlock tools that earn cookies...

I need a simple cookie clicker game. In python using widgets and pyqt5 I think. Below is the assignment requirements. In the doc there is a link to an example game, the assignment should be similar and maybe choose a different theme like candy or something.


Cookie Clickers A cookie clicker is a simple, pretty dumb, yet very popular style of game. Essentially, you click a button to earn cookies. Those cookies can be spent to unlock tools that earn cookies automatically. New types of tools unlock. As you purchase tools, they get more expensive and more productive. Try a cookie clicker at http://orteil.dashnet.org/cookieclicker/ (Links to an external site.) Assignment Requirements You need to make a cookie clicker game using PyQt5 tools. The game does not literally have to be a "cookie" clicker. Think of something else to make if you want. In the following description, when I use cookie, I really mean whatever it is your game will produce. The core of the assignment is that there is a class with some instance variables storing information about the cookie count, the number of cookies that should be added each second or each update, and the cost and production of different tools. A timer updates the game at frequent intervals. Each update should add the cookie production value to the cookie count, and update the screen. Then, there are buttons that make cookies get produced faster, and pressing them has the behavior as described below. 1. The game should be its own class. 2. The game should have an attractive layout. 3. The game should display the current cookie count and cookies per second in an attractive way. 4. The game should have a click button that increases the cookie count. 5. The game should have a timer that updates the cookie count based on the cookies per second at some reasonably frequent interval (I used a 100ms delay which is 10x a second). 6. The game should have an image of a "cookie". 7. The game should have a sequence of at least three tools that produce cookies. 1. The tools that are used in the game should be your own invention - not the cursor/grandma/factory sequence in the example cookie clicker. 2. Clicking on a tool should: 1. Check to see if the tool can be bought based on the current cookie count (and deduct that if so) 2. Add its current cookies per second to the game cookies per second, make the tool more expensive and the cookies per second increase, and update its text label to reflect the new price. I multiplied by 1.1 to make the cost bigger but you can choose your own growth strategy. 3. Clicking on a tool (when you have enough cookies) should unlock the next level of tools and fill in its label. Documentation Add comments as necessary to describe the structure of your code. At the top of the file, add a comment which describes your theme and the tools (buttons).
Apr 24, 2021
SOLUTION.PDF

Get Answer To This Question

Submit New Assignment

Copy and Paste Your Assignment Here