add speed setting function
fix speed setting function
add map class to reset method
adjust game speed mechanism