Skip to content

Instantly share code, notes, and snippets.

@morintd
Created March 10, 2024 16:52
Show Gist options
  • Save morintd/f2ab8c5ea3fd876c1aac80daff9f1d9c to your computer and use it in GitHub Desktop.
Save morintd/f2ab8c5ea3fd876c1aac80daff9f1d9c to your computer and use it in GitHub Desktop.
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