Added player piece position tracking and cleaned up some ambiguous variable names.