semi rewrite on the rising game implemented into the meotech engine