You can share your game to your Google Classroom lesson from the Game Participants button.
There’s a Google Classroom button under the Share code button.
After pressing Google Classroom, choose the class you want to share your game to:
Choose the action you want to, and press GO:
Then create your assignment, and have a cup of coffee.