summaryrefslogtreecommitdiff
path: root/client/src/Mancala/Play.tsx
blob: b72bce1b5765e73e71caaa1358c28e8b2556e45a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
import React from "react";
import type { GameState } from "../gameState";
import "./Play.css";

type PlayProps = {
    gameState: GameState;
    setGameState(newGameState: GameState): void;
}

export function Play({ gameState, setGameState }: PlayProps) {
    return (
        <div>
            <p>{gameState.players[0].name} vs {gameState.players[1].name}</p>
            To do...
        </div>
    )
}