Created
July 25, 2013 21:41
-
-
Save atomicbird/6084043 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
struct x { | |
int y; | |
}; | |
@interface Game : NSObject { | |
char fields[9]; | |
BOOL singlePlayer; | |
BOOL isPlayerOne; | |
BOOL wasPlayerOne; | |
long int played; | |
int wins; | |
int ties; | |
int losts; | |
int marks; | |
struct x someX; | |
} | |
- (BOOL)getIsPlayerOne; | |
- (struct x)getMatches; | |
- (void)restart; | |
- (id)initWithMode:(BOOL)mode; | |
- (char)haveWinner; | |
- (int)canWin:(char)player; | |
- (void)refreshGames:(char)player; | |
- (int)playCel; | |
- (void)play:(int)field; | |
@end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment