To install PyGame, open the local terminal in a new PyCharm project. Inside the terminal, type pip install pygame. Wait a while for everything to load, then add the following to the top of your code.
This tutorial shows how to create a simple game with python and pygame. Beyond the game the tutorial teaches Object Oriented Programming concepts.