Skip to content

Commit

Permalink
removed set_weights for tests
Browse files Browse the repository at this point in the history
  • Loading branch information
96hoshi committed Nov 1, 2020
1 parent 2797e2b commit 77703c6
Showing 1 changed file with 1 addition and 13 deletions.
14 changes: 1 addition & 13 deletions ia_dama.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
import random
from moves import *


we1 = 5
we2 = 8
we3 = 4
Expand All @@ -14,19 +15,6 @@
we8 = 0.65


def set_weights(w):
global we1, we2, we3, we4, we5, we6, we7, we8

we1 = w[0]
we2 = w[1]
we3 = w[2]
we4 = w[3]
we5 = w[4]
we6 = w[5]
we7 = w[6]
we8 = w[7]


# perform and update the game board
def perform_move(m, board):
move = deepcopy(m)
Expand Down

0 comments on commit 77703c6

Please sign in to comment.