use MRB_DEBUG instead of NDEBUG
remove GEKKO workaround
remove unnecessary comment
remove constant defined in Player
use swap instaed of assigning
fix script errors