The Design and Implementation of a Mobile Game Engine for the Android Platform