Razor helpers refactoring
Added closed/finished game logic