Skip to content
This repository has been archived by the owner on Jan 22, 2024. It is now read-only.

Commit

Permalink
Enabled human player input, added windows subsystem thing
Browse files Browse the repository at this point in the history
  • Loading branch information
MinusKelvin committed Oct 16, 2019
1 parent 475ed39 commit 91c8113
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions gui/src/main.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#![windows_subsystem = "windows"]

use ggez::ContextBuilder;
use ggez::event;
use ggez::graphics::{ Image };
Expand Down Expand Up @@ -106,14 +108,14 @@ fn main() {
..Default::default()
};
let name = format!("Cold Clear\n{}", evaluator.name());
(Box::new(BotInput::new(bot::Interface::launch(
board,
bot::Options {
..Default::default()
},
evaluator
))), name)
// (Box::new(Keyboard), "Human".to_owned())
// (Box::new(BotInput::new(bot::Interface::launch(
// board,
// bot::Options {
// ..Default::default()
// },
// evaluator
// ))), name)
(Box::new(Keyboard), "Human".to_owned())
}),
Box::new(|board|{
let evaluator = evaluation::changed::Standard {
Expand Down

0 comments on commit 91c8113

Please sign in to comment.