Evaluating the efficiency of general purpose and specialized game engines for 2D games