We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
- Tower Breakers
- Discussions
Tower Breakers
Tower Breakers
Sort by
recency
|
117 Discussions
|
Please Login in order to post a comment
Alright, I cannot even figure out from the description what an "optimal" move is! And is it required that the reduction of a tower divides into the remaining height of the tower evenly or what? I'm not very happy wasting so much time just to figure out what a games rules are.
My Javascript solution
If you are here because the discription doesn't match the results, you gotta consider that a tower can be reduced directly to 1. example:
2 towers of height 7
p1: 7 -> 1 (x=1 y=6 -> x divides y)
p2: 7 -> 1 (x=1 y=6 -> x divides y)
p1 loses
p2 wins, therefore returns p2
the description says that y should divide x but in reality x should divide y
Please fix that description