void showdetail() {
        	int max =0;
            ArrayList<Integer[]> scorelist0 = new ArrayList<Integer[]>();
            ArrayList<Integer[]> scorelist1 = new ArrayList<Integer[]>();
            for (int i=0; i<size*size-1; i++) {
            	if (grid[i].value>max) {
            		max = grid[i].value;
            	}
            }
            for (int i=2; i<=max; i=i*2) {
            	Integer[] tmpint = new Integer[2];
            	tmpint[0] = i;
            	tmpint[1]=0;
            	scorelist0.add(tmpint);
            }
            for (int i=2; i<=max; i=i*2) {
            	Integer[] tmpint = new Integer[2];
            	tmpint[0] = i;
            	tmpint[1]=0;
            	scorelist1.add(tmpint);
            }
            StringBuilder a = new StringBuilder();
            StringBuilder b = new StringBuilder();
            for (int i=0; i<size*size-1; i++) {
            	if (grid[i].value>=2) {
            		if (grid[i].owner==0) {
            		
            			scorelist0.get((int) (Math.log(grid[i].value)/Math.log(2)-1))[1]++;
            		}
            		else {
            			scorelist1.get((int) (Math.log(grid[i].value)/Math.log(2)-1))[1]++;
            		}
            	}
            }
            a.append(group0);
            a.append("--- ");
            for (int i=0; i<scorelist0.size(); i++) {
            	a.append("[");
            	a.append(scorelist0.get(i)[0]);
            	a.append(": ");
            	a.append(scorelist0.get(i)[1]);
            	a.append("] ");
            }
            
            b.append(group1);
            b.append("--- ");
            for (int i=0; i<scorelist1.size(); i++) {
            	b.append("[");
            	b.append(scorelist1.get(i)[0]);
            	b.append(": ");
            	b.append(scorelist1.get(i)[1]);
            	b.append("] ");
            }
            label3.setText(a.toString());
            label3.setVisible(true);
            label4.setText(b.toString());
            label4.setVisible(true);
        }