~ruther/avr-guess-the-number

6ed7b9df695bc52a7c4c82d45de982c8b5afcc67 — František Boháček 2 years ago 1086722
feat: make first current number 0 instead of guessing number
1 files changed, 1 insertions(+), 1 deletions(-)

M src/entrypoint.rs
M src/entrypoint.rs => src/entrypoint.rs +1 -1
@@ 257,7 257,7 @@ impl Game {
        }

        self.guessing_number = Some(self.rng.take_u16() % 10000);
        self.current_number = Some(self.guessing_number.unwrap());
        self.current_number = Some(0);
        self.seven_segment.set_number(self.current_number.unwrap());
        self.led_matrix.clear();


Do not follow this link