09.09.2013 Views

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

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

A.15 <strong>Taiji</strong>Print.java 211<br />

190 System . out . p r i n t l n ( n . c h i l d r e n . get ( i<br />

) . nodeBoard [ 0 ] [ 7 ] + ” ”+n .<br />

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 ] + ” ”+n . c h i l d r e n .<br />

get ( i ) . nodeBoard [ 3 ] [ 7 ] + ” ”+n .<br />

c h i l d r e n . get ( i ) . nodeBoard<br />

[ 4 ] [ 7 ] + ” ”+n . c h i l d r e n . get ( i ) .<br />

nodeBoard [ 5 ] [ 7 ] ) ;<br />

191 i f ( tModel . noRows > 8) {<br />

192 System . out . p r i n t l n ( n . c h i l d r e n .<br />

get ( i ) . nodeBoard [ 0 ] [ 8 ] + ” ”+<br />

n . c h i l d r e n . get ( i ) . nodeBoard<br />

[ 1 ] [ 8 ] + ” ”+n . c h i l d r e n . get ( i<br />

) . nodeBoard [ 2 ] [ 8 ] + ” ”+n .<br />

c h i l d r e n . get ( i ) . nodeBoard<br />

[ 3 ] [ 8 ] + ” ”+n . c h i l d r e n . get ( i<br />

) . nodeBoard [ 4 ] [ 8 ] + ” ”+n .<br />

c h i l d r e n . get ( i ) . nodeBoard<br />

[ 5 ] [ 8 ] ) ;<br />

193<br />

194 }<br />

195 }<br />

196 }<br />

197 }<br />

198 }<br />

199 }<br />

200 System . out . p r i n t l n ( ) ;<br />

201 }<br />

202 }<br />

203<br />

204 // f o r b r a e t med 7 k o l o n e r<br />

205 p u b l i c void p r i n t C h i l d r e n 7 x ( Node n ) {<br />

206 System . out . p r i n t l n (” t P r i n t P r i n t Children ”+n ) ;<br />

207 f o r ( i n t i =0; i

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!