you need the font "Inter" in the weight medium saved as font.ttf in your folder
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
fn main() { | |
const N: i32 = 8; | |
let mut loesung = [0; N as usize]; | |
let mut anzahl = 0; | |
fn passt_dame(zeile: i32, spalte: i32, loesung: &mut [i32]) -> bool { | |
for row in 0..zeile { | |
// check vertical, horizontal and diagonal | |
if loesung[row as usize] == spalte { |
OlderNewer