tic_tac_toe_rust 0.4.0

A simple tic tac toe game with a minimax ai
Documentation
1
2
3
4
5
6
7
8
//! Renderers for the game.
use crate::logic::GameState;

/// A trait for rendering the game.
/// A renderer has a single method, render, which takes a game state and renders it.
pub trait Renderer {
    fn render(&self, game_state: &GameState);
}