Skip to content
Be on the Right Side of Change
  • πŸ”΄ YouTube
  • πŸ‘‘ Membership
  • πŸ‘©β€πŸŽ“ Academy
  • πŸ“– Books
  • 🎲 Puzzles
  • 🀎 User Stories
    • What Our Users Say
    • About Finxter
    • Finxter Feedback from ~1000 Python Developers
    • Video Reviews
    • Course Review from Cristian
    • Course Review from Adam
    • Review by ChatGPT
    • About Chris
  • Start Here ⭐

Matt Toledo

AlphaZero Plays Connect Four: Coding a Tree Search in Python

August 29, 2022 by Matt Toledo

In a previous post, I explained how AlphaZero can play Connect Four. If you haven’t already, you can read the first part here. In this part 2, I will share how to write the code for the Monte Carlo Tree Search to play Connect Four below. First, we will import our libraries and define our … Read more

Categories Algorithms, Artificial Intelligence, Computer Science, Machine Learning, Python

AlphaZero Plays Connect Four

August 29, 2022June 13, 2022 by Matt Toledo

AlphaGo was the first computer to beat Lee Sedol, who was considered the best Go player of the decade. Before AlphaGo, the strongest Go computer programs could only play Go at an amateur level. AlphaGo was further developed into AlphaZero, an AI that can master any game, including complex games like Shogi and Chess. Why … Read more

Categories Algorithms, Artificial Intelligence, Deep Learning, Machine Learning, Python

Join 130k AI Builders

AI tools, publishing ideas, and smarter ways to work. One free weekly email.

Join the free newsletter β†’

Your idea. Your next book.

ImagineYourBook turns your idea into a complete book with a cover, plus Word and EPUB downloads.

Create your book β†’

New Finxter Tutorials:

  • Best Book Promotion Sites 2026: 13 Priced for One Romance Book, From $0.19 to $1.11 per 1,000 Readers
  • Santa Claus Rally: I Tested 76 Years of S&P 500 Data. It’s the Year’s Best 7 Days, and Worth About $5 per $500
  • Romantasy Tropes: 126 Kindle Bestsellers Counted, and Fated Mates Beats Enemies to Lovers 28% to 17%
  • Book Blurb Examples: 141 Kindle Bestsellers Decoded, and Only 3% End on a Question
  • When Does KDP Pay Royalties? 59 to 91 Days After the Sale, and a $20/Day Launch Needs $1,680 of Float
  • Pay Off Mortgage or Invest? I Backtested 69 Mortgages Since 1928, and Investing Won 63 at Today’s 7.28%
  • ISBN Cost in 2026: $125 in the US, $0 in Canada, and $17 per Book for a 33-Book Catalog
  • How Much Do Authors Make Per Book? A $4.99 Kindle Ebook Pays $3.45, More Than a $28 Hardcover
  • 4% Rule Calculator: I Backtested All 69 US Retirements Since 1928, and 65 Survived
  • How Much Does It Cost to Edit a Book? Reedsy’s Genre Data Puts a Full 80,000-Word Romance Edit at $5,360

Finxter Categories:

  • About
  • Impressum
  • Privacy
  • Terms
  • Puzzles
  • Academy
  • Books & Courses
  • Earnings Disclaimer
  • Finxter Instagram
  • Finxter Twitter
  • Finxter Facebook
  • Finxter YouTube
  • πŸ”΄ YouTube
  • πŸ‘‘ Membership
  • πŸ‘©β€πŸŽ“ Academy
  • πŸ“– Books
  • 🎲 Puzzles
  • 🀎 User Stories
    • What Our Users Say
    • About Finxter
    • Finxter Feedback from ~1000 Python Developers
    • Video Reviews
    • Course Review from Cristian
    • Course Review from Adam
    • Review by ChatGPT
    • About Chris
  • Start Here ⭐
© 2026 Be on the Right Side of Change • Built with GeneratePress