ssg, !ssr, classes, board init

This commit is contained in:
sparshg
2024-09-14 03:02:14 +05:30
parent 0649cf1cdc
commit 73ab2b63a8
12 changed files with 114 additions and 46 deletions
+8
View File
@@ -0,0 +1,8 @@
use serde::Deserialize;
#[derive(Deserialize)]
pub struct Board([[Option<char>; 10]; 10]);
impl Board {
// pub async fn new
}
+3 -1
View File
@@ -1,4 +1,6 @@
use axum::{routing::get, Router};
mod game;
use axum::{routing::get, Json, Router};
use tokio::net::TcpListener;
#[tokio::main]