I hereby claim:
- I am choro3 on github.
- I am choro3 (https://keybase.io/choro3) on keybase.
- I have a public key whose fingerprint is 7404 A81D AD63 A3B5 E411 0B32 BEAB 4EA5 9598 C188
To claim this, I am signing this object:
| // static mut isprime: [bool; 1000000] = [true; 1000000]; | |
| // dest node id, cost | |
| struct Edge(usize, i64); | |
| // current node, total cost | |
| // struct State(usize, i64); | |
| #[derive(Copy, Clone, Eq, PartialEq)] | |
| struct State { | |
| node: usize, | |
| cost: i64 |
| extern crate rand; | |
| use rand::Rng; | |
| use std::cmp; | |
| use std::fs::File; | |
| use std::io::prelude::*; | |
| use std::io::BufReader; | |
| use std::path::Path; | |
| use std::fmt; |
I hereby claim:
To claim this, I am signing this object:
| mod_moving_state = {direction = nil, tick = 0} | |
| commands.add_command("keep_going", nil, function(command) | |
| mod_moving_state = {direction = defines.direction.north, tick = 30} | |
| end) | |
| script.on_event(defines.events.on_tick, | |
| function(event) | |
| if mod_moving_state.tick > 0 then |