A prototype for build a Risk-based game engine