add some temporary code for setting a random tetromino

This commit is contained in:
2025-01-27 15:32:05 +01:00
parent 7f00107c7f
commit b698a0e3d1
4 changed files with 48 additions and 3 deletions

View File

@@ -10,6 +10,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
#include "errors.h"
#include "game/game.h"
@@ -42,6 +43,9 @@ static void init(void) {
return;
}
// set a random seed using the system clock
srand(time(NULL));
// initialize audio
// AudioDevice* audio_device = audio_device_init(32000, AUDIO_S16, 1, 4096);
// AudioData audio1 = audio_load_wav(audio_device, "FILE MANE");