void score(int ply)
	{
		for(int x=b.msi[ply];x<b.msi[ply+1];x++)
		{
			b.ss[x]=b.hist[(b.ms[x].f&7)+((b.ms[x].f>>1)&0x38)][(b.ms[x].t&7)+((b.ms[x].t>>1)&0x38)];
			if(b.ms[x].c!=0)
				b.ss[x]+=5000+b.ms[x].c-b.ms[x].p;
			else if(b.kill[ply][0]!=null&&b.ms[x].equalTo(b.kill[ply][0]))
				b.ss[x]+=1000;
			else if(b.kill[ply][1]!=null&&b.ms[x].equalTo(b.kill[ply][0]))
				b.ss[x]+=800;
		}
	}