4 direction arrow keys working with all actions, there is an infinite loop problem with playing again prompt