diff --git a/.gitignore b/.gitignore index d23046b14ecbb09acc9817d1396256877eb858fe..992a27a3655d7bf345eb414cab412c0e3183ffb8 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,6 @@ -.idea *.pyc *.pyo -*.apk + +.idea +.buildozer +bin diff --git a/nim.py b/nim.py index 81bba448578500dcc86ad46b24daa334d8ebaf75..4432759b788d4c662a535835207a3a153a72e38e 100644 --- a/nim.py +++ b/nim.py @@ -88,6 +88,7 @@ def make_computer_move(position): next_position[i] = j if evaluate(next_position) is Evaluation.WIN: return next_position + # noinspection PyUnboundLocalVariable return next_position