Game implementation.