Source

tdd_ios_kiwi / code / HuntTheWumpus / HuntTheWumpus / models / Game.m

Full commit
//
//  Game.m
//  HuntTheWumpus
//
//  Created by Allan Davis on 9/24/12.
//  Copyright (c) 2012 Cajun Code. All rights reserved.
//

#import "Game.h"

@implementation Game



+ (void) startLoop{
    Game * game = [[Game alloc]init];
    game.gameRunning = YES;
    while (game.gameRunning) {
        printf("Press x to quit. \n");
        char input;
        scanf("%c", &input);
        if (input == 'x') {
            game.gameRunning = NO;
        }
        
    }
}

@end