ssg, !ssr, classes, board init
This commit is contained in:
8
src/game.rs
Normal file
8
src/game.rs
Normal file
@@ -0,0 +1,8 @@
|
||||
use serde::Deserialize;
|
||||
|
||||
#[derive(Deserialize)]
|
||||
pub struct Board([[Option<char>; 10]; 10]);
|
||||
|
||||
impl Board {
|
||||
// pub async fn new
|
||||
}
|
@@ -1,4 +1,6 @@
|
||||
use axum::{routing::get, Router};
|
||||
mod game;
|
||||
|
||||
use axum::{routing::get, Json, Router};
|
||||
use tokio::net::TcpListener;
|
||||
|
||||
#[tokio::main]
|
||||
|
Reference in New Issue
Block a user