game: replace map with arrays

Use filename array to first determine the index, then look up the image in
the array using that index.

This removes STL map, yet another C++ library.
Replace Standard C++ libraries with C libraries

Replace iostream with stdio.h
Replace string with char array

C++ libs are not always supported on embedded systems.

Also removed ctime include, which is not being used.
game: replace dynamic with static allocation