If the game freezes, just click inside it (games can get unresponsive if you click elsewhere on the page).
Press Space bar when ready to face a ball. Use the directional arrow keys to select a shot. Try to get your shot timings right to score a sixer! You have two overs to score 12 runs in the first level. Your target score will increase with every level. So make maximum use of every ball you face!