/weblok

Blokus with Rust & Bevy

Primary LanguageRustMIT LicenseMIT

TODOs

  • Create simple chat lobby server program
  • Get websockets working
    • Client
    • Server
  • Define gameplay API (web socket based) supporting:
    • Client: WASM & native
    • Client: Linux Windows MacOS native
    • Server: AIs
    • Client: Remote players
    • Client: Local game mode (no server / lobbies)
  • Simple chat server
  • Generate RNG room tokens specific to each client
  • Lobby system, join rooms to chat

Client modes:

  • Connect to server for game
  • Entirely local
trait Game {
    fn play_move();
}

/* CPU go brrrrr */
impl Game for LocalGame {
}

/* Websocket */
impl Game for RemoteGame {
}