Go で書き直した Ikemen
Revisão | 420d760ea49051bf4723b6d030f429470e7b6ed5 (tree) |
---|---|
Hora | 2017-04-28 20:46:41 |
Autor | SUEHIRO <supersuehiro@user...> |
Commiter | SUEHIRO |
まだおかしかったのを修正
@@ -1005,7 +1005,7 @@ func (s *System) action(x, y *float32, scl float32) (leftest, rightest, | ||
1005 | 1005 | } |
1006 | 1006 | inclWinCount() |
1007 | 1007 | } |
1008 | - w := [...]bool{s.chars[0][0].win(), s.chars[1][0].win()} | |
1008 | + w := [...]bool{!s.chars[1][0].win(), !s.chars[0][0].win()} | |
1009 | 1009 | if !w[0] || !w[1] || |
1010 | 1010 | s.tmode[0] == TM_Turns || s.tmode[1] == TM_Turns || |
1011 | 1011 | s.draws >= s.lifebar.ro.match_maxdrawgames { |