GameCoreInitializeGameAsync Method
Gives every player a
O1 and
I2 tetromino from the shared reserve.
Then asynchronously fills the black and white puzzle rows with puzzles from the decks.
Throws an exception if this method is called more than once.
Namespace: ProjectLCore.GameLogicAssembly: ProjectLCore (in ProjectLCore.dll) Version: 1.0.0+d0f5e2a7a5f4bb0431970f279d2f79d24b15d256
public Task InitializeGameAsync(
CancellationToken cancellationToken = default
)
- cancellationToken CancellationToken (Optional)
- Cancellation token to observe while waiting for the task to complete.
TaskA task that represents the asynchronous operation.