Implementation of Ghost game