-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added support for multiple games for each PGN file
- Loading branch information
1 parent
769a477
commit fa84584
Showing
18 changed files
with
254 additions
and
62 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,3 +6,4 @@ | |
#import "FEngineMove.h" | ||
#import "FEngineInfo.h" | ||
#import "FEngineMoveNode.h" | ||
#import "FEngineGame.h" |
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
// | ||
// FEngine.swift | ||
// FEngineTests.swift | ||
// BChessTests | ||
// | ||
// Created by Jean Bovet on 5/10/21. | ||
|
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
// | ||
// FEngineGame+Private.m | ||
// BChess | ||
// | ||
// Created by Jean Bovet on 5/11/21. | ||
// Copyright © 2021 Jean Bovet. All rights reserved. | ||
// | ||
|
||
#import "FEngineGame.h" | ||
#import "ChessGame.hpp" | ||
|
||
@interface FEngineGame () { | ||
ChessGame game; | ||
} | ||
|
||
@property (nonatomic, assign, readwrite) NSUInteger index; | ||
@property (nonatomic, strong, readwrite) NSString * _Nonnull name; | ||
|
||
- (instancetype _Nonnull )initWithGame:(ChessGame)game andIndex:(NSUInteger)index; | ||
|
||
@end |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
// | ||
// FEngineGame.h | ||
// BChess | ||
// | ||
// Created by Jean Bovet on 5/11/21. | ||
// Copyright © 2021 Jean Bovet. All rights reserved. | ||
// | ||
|
||
#import <Foundation/Foundation.h> | ||
|
||
NS_ASSUME_NONNULL_BEGIN | ||
|
||
@interface FEngineGame: NSObject | ||
|
||
@property (nonatomic, assign, readonly) NSUInteger index; | ||
@property (nonatomic, strong, readonly) NSString * _Nonnull name; | ||
|
||
@end | ||
|
||
NS_ASSUME_NONNULL_END |
Oops, something went wrong.