As always, you should read the entire instructions for the mini project
before you start at all, and perhaps you should read it multiple times.
Okay.
To make sure that you understand what's going on.
Alright, now, if you look at the instructions here.
First, there is an overview, a little bit
of a description of the Cookie Clicker game which
perhaps will help you understand the game a
little bit more than my brief demo there, okay?
We are also providing code this time around
specifically we're providing a build info class and
this build info class is keeping track of the items that you can buy in the game.
So it's all the items that you are allowed to buy, what their
cost is and how much they increase your cookies per second production rate, okay?
And the build info class handles the fact that the costs go up every time you buy
a particular item so you notify it, hey, I'm
buying this item and it increases the cost appropriately.
'Kay, we have also pro, provided a little bit of other code and
you can read to the description here to understand that code as well, alright?
As with last time, you need to test your project, okay?
As you implement we strongly recommend that you test the code as you go, and
you use the simple test methodology that you
learned to use in the previous mini project.
We are also providing owl test page where you can go off and
run your test there and find out what your grade would be, okay?
This project is split up into three phases here.
Okay.
In the first phase, you're going to implement a clicker state class.
And this is really keeping track of the state of the game.
Okay, the build info class keeps track of, you know, the items that you
can buy and their costs,right, and how
much they increase your production rate by.
The clicker state class that you're going to,
to write keeps track of, your current state.
Like how many cookies you have right now, what your
current production rate is, and what you've bought in the past.
Okay.
So, this, here, this section here walks you through the different methods
that you're going to have to implement to get your, your clicker state.
Now once you have, a class to keep track of this state
of the game phase two is to actually write the simulation function, right?
To write a function that runs the game.
Okay?
Not, basically steps through the game and allows you
to increase the number of cookies be, based on your
production rate, allows you to buy new items based
on how many cookies you have and so on, okay?
And that's going to be the engine that runs the game.
Finally, once you've got that working, then you're
going to go beyond the simple strategy that we're going
to give you, which always picks cursor, no matter
what, and you're going to implement your own strategies.
And part of the fun, hopefully here is that you are going
to be able to implement your best strategy that you can, alright?
And you can see if you can do better than other people in the class.