Python games codes for beginners