added combat function for text adventure game, deleted test file