UNPKG
piskvorky
Version:
latest (0.1.4)
0.1.4
0.1.3
0.1.2
0.1.1
0.1.0
0.0.9
0.0.8
0.0.7
0.0.6
0.0.5
0.0.4
0.0.3
0.0.2
0.0.1
Helper functions for tic-tac-toe game.
github.com/FilipChalupa/piskvorky
FilipChalupa/piskvorky
piskvorky
/
dist
/
utilities
/
findBestMove.d.ts
3 lines
(2 loc)
•
190 B
TypeScript
View Raw
1
2
3
import
{
PlayerO
,
PlayerX
,
Position
}
from
'./values'
;
export
declare
const
findBestMove
:
(
board
:
readonly
(
readonly
import
(
"./values"
).Field[])[],
player
:
PlayerO
|
PlayerX
) =>
Position
;