-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Description
I'm not able to initialize a normal game.
There is no Game.init() without parameters and when I try to do the following I get:
'FenSerialization' initializer is inaccessible due to 'internal' protection level.
let serialization = FenSerialization() // <---- ERROR HERE
let game = Game(position: serialization.deserialize(fen: myfen))Perhaps you meant to make deserialize and serialize both static.
Why does it work for you?
It works for you because you import the library with @testable import ChessKit which allows things like protection levels to disappear for testing purposes.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels