play audio at the start instead.
This commit is contained in:
parent
ba07a9c4a4
commit
c355a7a9e0
@ -105,6 +105,7 @@ int main(){
|
||||
srand(time(NULL));
|
||||
game_state gs = {};
|
||||
|
||||
play_audio();
|
||||
manager.init(640, 480, "Tic-Tac-Gugh");
|
||||
manager.handle_window_close_event(handle_window_close);
|
||||
manager.handle_keypress_event (handle_input_events);
|
||||
@ -115,5 +116,4 @@ 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