Skip to content

Instantly share code, notes, and snippets.

View karlbeecken's full-sized avatar
🏠

Karl Beecken karlbeecken

🏠
View GitHub Profile

A stupid ffmpeg call to win a bet

you need the font "Inter" in the weight medium saved as font.ttf in your folder

Preview

output.png

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 {