Greatly increase the speed of the resource update
Greatly increase the speed of the resource update

Reduce the time complexity of the loop from (resources * buildings) to
(resources + buildings).

scott-joe-williams/kitten-game,scott-joe-williams/kitten-game,scott-joe/kitten-game,scott-joe/kitten-game