A General Game Playing Framework