You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: main.rs
    path of file: ./repos/game-dev-with-rust/ggez_101/src
    
    the code of the file until where you have to start completion: mod color_factory;
mod constant;
mod game;
mod mouse;

use crate::game::Game;
use ggez::graphics::set_window_title;
use ggez::{event, ContextBuilder, GameResult};
use
    
fn main() -> GameResult {
    let resource_dir = if let Ok(manifest_dir) = env::var("CARGO_MANIFEST_DIR") {
        let mut path = path::PathBuf::from(manifest_dir);
        path.push("resources");
        path
    } else {
        path::PathBuf::from("./resources")
    };

    let (mut context, event_loop) = ContextBuilder::new("ggez_101", "BurakS")
        .add_resource_path(resource_dir)
        .build()
        .expect("Bir sorun oldu");
    set_window_title(&context, "Temeller");
    let game_state = Game::new(&mut context);
    event::run(context, event_loop, game_state);
}