-
-
Save morintd/f2ab8c5ea3fd876c1aac80daff9f1d9c to your computer and use it in GitHub Desktop.
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
import { Executable } from "../../common/use-case"; | |
import { GameDomainModel } from "../game.domain-model"; | |
export type Input = { | |
square: number; | |
step: number; | |
}; | |
export type Output = { | |
winner: GameDomainModel.Winner; | |
history: GameDomainModel.Squares[]; | |
xIsNext: boolean; | |
step: number; | |
}; | |
export class Play implements Executable<Input, Output> { | |
async execute(input: Input) { | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment