refactored games into OO, stable