Imported from https://github.com/saikrishna-1996/deep_pepper_chess