Update solargame.js

Put in the correct and wrong functions.