Fixing NullPointerException when AI Plays

NullPointerException was caused by the code inside Pawn.

Signed-of-by: Mayuresh Janorkar <janorkar@usc.edu>