Hi Diaco
Here you go - http://codepen.io/danrostron/pen/MYNdWa.
If you spin the Throw me box, you will see 'endValue' being logged in the console. Every time you spin, the value is being incremented. I need to somehow reset this value after the spin is complete. Currently, the only way I can think to do this, is by recording the history in a seperate var and deducting this off the new endValue every time a spin occurs.
I just wondered if there was a better solution than this?
Thanks
Dan