added minimal pygame code