It is starting to take some shape!
Hello hello all!
Not many news outside of coding world, so let's get to it.
Day TWENTY THREE - 19/07/2016
Time spent coding: 1h more or less
Task(s) done: Princess Clicker progress
Today I focused on making the basic of lessons work, check if there is enough money, take money away and update stats. After all work with the Star Signs this was quite easy!
I made all the lessons into an object that describes it's price and level. Since price change per level, I though it would be important to keep that information.
Then on a function called by clicking on the button, I tell which lesson it is. This checks which stats should be updated.
I still need to implement a way to check about stress before as well, as if it is too high, daughter will not work well. And I still need to increase stress after working or having a lesson!
That is all for today folks!
Smell you all later~