Simple game which implements search algorithm