game main function and media