changed scoring to white's perspective