This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use winit::application::ApplicationHandler; | |
use winit::event_loop; | |
use winit::window; | |
fn main() -> Result<(), Box<dyn std::error::Error>> { | |
let event_loop = event_loop::EventLoop::builder().build()?; | |
let mut app = ApplicationWrapper::new(); | |
event_loop.run_app(&mut app)?; | |
Ok(()) | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PlusCal options (termination) | |
----------------------------- MODULE TicTacToe ----------------------------- | |
EXTENDS Integers, TLC | |
(* --algorithm pluscal | |
variables | |
board = << |