|
|
back to boardsome hints to ... 1.If bishop can eat pawn - he can Win. 2.Use matrix (rows - digits, columns - letters). Left-top cell has coords (8,a), right-bottom has coords (1,h) 3. Pawn go down (to row "1" ). 3.If you use recursive functions : 1 - goPawn() 2 - goBishop() Pay attention, that checking (bishop win,pawn win,draw) must be only in special places(goPawn() and/or goBishop() ) Good luck. Edited by author 25.07.2009 21:04 Edited by author 25.07.2009 21:04 Re: some hints to ... kill yourself by hitting the wall. =) it's very simple problem, to my mind. |
|
|