moans
This commit is contained in:
parent
bbcdd15a11
commit
2c297da80f
@ -76,6 +76,11 @@ int exists_empty_tile(const game_state& gs){
|
||||
return 0;
|
||||
}
|
||||
|
||||
void play_audio(){
|
||||
printf("playing audio...\n");
|
||||
system("mpv assets/moans/$(ls assets/moans/ | sort -R | head -n 1) > /dev/null");
|
||||
}
|
||||
|
||||
int main(){
|
||||
srand(time(NULL));
|
||||
game_state gs = {};
|
||||
@ -86,4 +91,5 @@ int main(){
|
||||
while(exists_empty_tile(gs) && gs.turn != -1){
|
||||
game_turn(gs, get_player_input());
|
||||
}
|
||||
play_audio();
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user