@Override
	public double[] observe(int a) {
		double[] state = new double[m*n];
		int[][] grid = game.getGrid();
		for (int i = 0; i < m; i++)
			for (int j = 0; j < n; j++)
				state[n*i+j] = grid[i][j];
		return state;
	}