Kunstig Intelligens til Brætspillet Taiji - Danmarks Tekniske Universitet
Kunstig Intelligens til Brætspillet Taiji - Danmarks Tekniske Universitet
Kunstig Intelligens til Brætspillet Taiji - Danmarks Tekniske Universitet
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
206 Bilag A<br />
81 System . out . p r i n t l n ( n . c h i l d r e n . get ( i ) . nodeBoard<br />
[ 0 ] [ 1 ] + ” ”+n . c h i l d r e n . get ( i ) . nodeBoard [ 1 ] [ 1 ] + ”<br />
”+n . c h i l d r e n . get ( i ) . nodeBoard [ 2 ] [ 1 ] ) ;<br />
82 System . out . p r i n t l n ( n . c h i l d r e n . get ( i ) . nodeBoard<br />
[ 0 ] [ 2 ] + ” ”+n . c h i l d r e n . get ( i ) . nodeBoard [ 1 ] [ 2 ] + ”<br />
”+n . c h i l d r e n . get ( i ) . nodeBoard [ 2 ] [ 2 ] ) ;<br />
83 i f ( tModel . noRows > 3) {<br />
84 System . out . p r i n t l n ( n . c h i l d r e n . get ( i ) . nodeBoard<br />
[ 0 ] [ 3 ] + ” ”+n . c h i l d r e n . get ( i ) . nodeBoard<br />
[ 1 ] [ 3 ] + ” ”+n . c h i l d r e n . get ( i ) . nodeBoard<br />
[ 2 ] [ 3 ] ) ;<br />
85 i f ( tModel . noRows > 4) {<br />
86 System . out . p r i n t l n ( n . c h i l d r e n . get ( i ) .<br />
nodeBoard [ 0 ] [ 4 ] + ” ”+n . c h i l d r e n . get ( i ) .<br />
nodeBoard [ 1 ] [ 4 ] + ” ”+n . c h i l d r e n . get ( i ) .<br />
nodeBoard [ 2 ] [ 4 ] ) ;<br />
87 i f ( tModel . noRows > 5) {<br />
88 System . out . p r i n t l n ( n . c h i l d r e n . get ( i ) .<br />
nodeBoard [ 0 ] [ 5 ] + ” ”+n . c h i l d r e n . get (<br />
i ) . nodeBoard [ 1 ] [ 5 ] + ” ”+n . c h i l d r e n .<br />
get ( i ) . nodeBoard [ 2 ] [ 5 ] ) ;<br />
89 i f ( tModel . noRows > 6) {<br />
90 System . out . p r i n t l n ( n . c h i l d r e n . get ( i<br />
) . nodeBoard [ 0 ] [ 6 ] + ” ”+n .<br />
c h i l d r e n . get ( i ) . nodeBoard<br />
[ 1 ] [ 6 ] + ” ”+n . c h i l d r e n . get ( i ) .<br />
nodeBoard [ 2 ] [ 6 ] ) ;<br />
91 i f ( tModel . noRows > 7) {<br />
92 System . out . p r i n t l n ( n . c h i l d r e n .<br />
get ( i ) . nodeBoard [ 0 ] [ 7 ] + ” ”+<br />
n . c h i l d r e n . get ( i ) . nodeBoard<br />
[ 1 ] [ 7 ] + ” ”+n . c h i l d r e n . get ( i<br />
) . nodeBoard [ 2 ] [ 7 ] ) ;<br />
93 i f ( tModel . noRows > 8) {<br />
94 System . out . p r i n t l n ( n .<br />
c h i l d r e n . get ( i ) .<br />
nodeBoard [ 0 ] [ 8 ] + ” ”+n .<br />
c h i l d r e n . get ( i ) .<br />
nodeBoard [ 1 ] [ 8 ] + ” ”+n .<br />
c h i l d r e n . get ( i ) .<br />
nodeBoard [ 2 ] [ 8 ] ) ;<br />
95 i f ( tModel . noRows > 9) {<br />
96 System . out . p r i n t l n ( n .<br />
c h i l d r e n . get ( i ) .<br />
nodeBoard [ 0 ] [ 9 ] + ”<br />
”+n . c h i l d r e n . get ( i )<br />
. nodeBoard [ 1 ] [ 9 ] + ”<br />
”+n . c h i l d r e n . get ( i )<br />
. nodeBoard [ 2 ] [ 9 ] ) ;<br />
97 }<br />
98 }<br />
99 }<br />
100 }<br />
101 }<br />
102 }