LigeGame implemented by C++.