I stopped grinding textbook exercises when I found these Python games.
Implementations are for learning purposes only. They may be less efficient than the implementations in the Python standard library. Use them at your discretion.