File size: 352 Bytes
6ca8af4
5f5fb32
6ca8af4
5f5fb32
 
 
 
 
6ca8af4
5f5fb32
 
ec04e24
5f5fb32
6ca8af4
 
5f5fb32
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
use ai::AlphaBetaBot;
use bits::BitBoard;
use game::{Game, State};
use pyo3::prelude::*;

pub mod ai;
pub mod bits;
pub mod consts;
pub mod game;

#[pymodule]
fn _othello(m: &Bound<'_, PyModule>) -> PyResult<()> {
    m.add_class::<BitBoard>()?;
    m.add_class::<Game>()?;
    m.add_class::<AlphaBetaBot>()?;
    m.add_class::<State>()?;
    Ok(())
}