Poker Hand Analysis

pokeranalyzer
view applet

Poker is a little hobby of mine and I’ve been keeping track of hands played (in computerized versions of the game) in a database. Amusingly enough, over the last several years, I’ve collected about 16,000 hands. I’m interested in creating some visualizations with this massive amount of data. . . A first, rather rudimentary pass (built with Processing) is at the link above. It shows Texas Hold’em starting hands and their win rate — green for good, red for bad, the brighter, the better/worse (the values are all normalized so the betting amounts are irrelevant, each hand is valued according to it’s average “unit” win per time played. “s” indicates if the hand is suited, “o” for offsuit) The obvious ones — AA, KK, QQ, AK — are best, of course. What’s interesting to see are the hands that are overplayed — QJ suited, Q10 suited, J10 suited. Oh, they sure do look pretty, don’t they. . . Of course, this takes very little into account, nothing about how many players, limits, position, etc. But it’s a start. . .

ITP Show II

Sometimes, somehow, somewhere, strange things, like a transit strike, will produce funny results. . . you know, like causing one to decide they should teach themselves the basics of iMovie. . . Clearly, I have no idea what I’m doing. . . .

Ode to the ITP Winter Show, 2005:
itpshowvideo
view video

Finals. . .

icm icm icm icm icm icm

My students in Introduction to Computational Media presented their final projects. Truly, fantastic, inspiring, awesome stuff! I am so obsolete it’s not even funny. . .

Since the project links are hidden behind a password protected wiki, i’ll post them here for all to admire.

Carolina • Rolf • Matt • Jet • Jeff • Ed • Jane • Summer • Lara • Charles • Leif and Jadie • Nanna • Tikva • Jury • Rob • Rebecca • Sam • Josh • Won

(some students took photos in class so hopefully I’ll have a chance to post some of those. . .)

CodeTree

CodeTree

CodeTree by Rich Hauck is up and running in beta. CodeTree is Rich’s thesis project at ITP. . . At Rich’s thesis presentation, there was some discussion about how CodeTree can more effectively create social interactions between programmers (as opposed to simply being a place to “broadcast” one’s work). I’m particularly interesting in the tree aspect, i.e. seeing how example code from my courses branches out into other projects.

Anyway, it’s a terrific project. check it out! I look forward to posting more code examples and little sketches there.

Some other blog postings about CodeTree:
Marius Watz
AbstractMachine

Look Ma, No Windows!

How to export a processing application full-screen:

p5 fullscreen

I’ve received several inquiries regarding how to make a Processing exported application run fullscreen. . . Here are a few simple steps and some code (using my Mandelbrot example). . . More information can be found in the Processing FAQ.

Step #1:
In order to auto-launch in “present” mode, you must write your own “main” function and specify the relevant arguments:

static public void main(String args[]) {
PApplet.main(new String[] { “–present”, “–display=1″, “mandelbrot” });
}

There are various arguments you can provide for the main method, and you can read full documentation here. (In this case, ‘present’ means run in present mode, ‘display=1′ indicates use the default display, and ‘mandelbrot’ is the name of the main class.)

Also, if you want to application to run at really really really full screen, simply set the size to screen.width x screen.height, i.e.:

size(screen.width,screen.height);

(Use the above code with caution, if your screen resolution is very large, slowness may ensue. . .)

Application and Source for Example:
Mac Version
Windows Version
Linux Version