added implementation to ghostgame
added implementation to ghostgame