Added character, rocks, gems and keyboard input.