This is my code for gaming