Let's Talk Data

  • Home
  • Books
  • Recommended Materials
  • About

Implementing Minimax in Scala: Alpha-Beta Pruning

Last time, we built a naive minimax algorithm in Scala. While it was effective, it was unfortunately very slow. To increase the performance of the algorithm, we’ll implement a common variant of minimax with what is called “alpha-beta pruning”. Again,…

By Phillip Johnson | February 1, 2015 | Programming | No Comments |
Read more

Implementing Minimax in Scala: Naive Minimax

Minimax is algorithm commonly used by AI in two-player games to determine the best possible move given a current state of the game. It gets its name from the intuitive concept that a player wants to minimize his opponent’s score…

By Phillip Johnson | January 24, 2015 | Programming | No Comments |
Read more

Raspberry Pi Minimally Required Boot Files

I got a Raspberry Pi for Christmas so naturally I wanted to get started hacking on it right away. But the tutorials I found online assume you’re starting with an SD card with a kernel like NOOBS or Raspbian installed.…

By Phillip Johnson | January 1, 2015 | Programming | No Comments |
Read more

NaNoGenMo 2014 Dev Diary #3: Results

NaNoGenMo is an idea created by Darius Kazemi to parody NaNoWriWo. Instead of writing a novel, developers write programs to generate 50k+ word “novels”. This series of posts will document my participation throughout the month. With the scaffolding in place…

By Phillip Johnson | November 22, 2014 | Programming | No Comments |
Read more

NaNoGenMo 2014 Dev Diary #2: Setting up the template

NaNoGenMo is an idea created by Darius Kazemi to parody NaNoWriWo. Instead of writing a novel, developers write programs to generate 50k+ word “novels”. This series of posts will document my participation throughout the month. Having loaded sample data into…

By Phillip Johnson | November 11, 2014 | Programming | No Comments |
Read more
  • « Previous
  • Next »

Search

Recent Posts

  • How to Write a Text Adventure in Python Appendix A: Saving A Game
  • Java for the Real World Video Course
  • Vaadin Flow Trepidation
  • Java for the Real World Updated for Java 11
  • Java Build Tools: Ant vs. Maven vs. Gradle

Most Popular Posts

  • How to Write a Text Adventure in Python
  • How to Write a Text Adventure in Python Part 1:…
  • How to Write a Text Adventure in Python Part 2: The…
  • How to Write a Text Adventure in Python Part 3:…
  • How to Write a Text Adventure in Python Part 4: The…
  • PostgreSQL generate_series() Tricks
  • N-Queens Part 1: Steepest Hill Climbing
  • How to use the Yelp API in Python
  • Creating Voronoi Diagrams with ggplot
  • Java Build Tools: Ant vs. Maven vs. Gradle

Recent Tweets

Tweets by @phillipcjohnson

Recent Comments

  • Jason on How to Write a Text Adventure in Python Part 1: Items and Enemies
  • bhargz on How to use the Yelp API in Python
  • The0Wolf1 on How to Write a Text Adventure in Python Part 2: The World Space
  • The0Wolf1 on How to Write a Text Adventure in Python Part 2: The World Space
  • Daniel Schwan on How to Write a Text Adventure in Python Part 3: Player Action

Categories

  • Exploratory
  • Other
  • Portfolio
  • Probability
  • Programming
  • Statistics
  • Uncategorized
  • Viz

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org
Copyright ©2025 Let's Talk Data | Theme by: Theme Horse | Powered by: WordPress