lavoro python
This commit is contained in:
parent
2ff02a9aef
commit
62e5ceed17
1 changed files with 4 additions and 4 deletions
8
alg.py
8
alg.py
|
@ -1,7 +1,7 @@
|
||||||
from copy import deepcopy as copy # FUK
|
from copy import deepcopy as copy # FUK
|
||||||
from cardtypes import *
|
from cardtypes import *
|
||||||
|
|
||||||
DO_TESTS = True
|
DO_TESTS = False
|
||||||
DO_PRINT = True
|
DO_PRINT = True
|
||||||
MAX = -1000
|
MAX = -1000
|
||||||
best = None
|
best = None
|
||||||
|
@ -127,8 +127,8 @@ if __name__ == '__main__':
|
||||||
Card("fiori", 3)]),
|
Card("fiori", 3)]),
|
||||||
TaggedCards([
|
TaggedCards([
|
||||||
Card("picche", 3)]),
|
Card("picche", 3)]),
|
||||||
TaggedCards([
|
# TaggedCards([
|
||||||
Card("cuori", 12)])
|
# Card("cuori", 12)])
|
||||||
])
|
])
|
||||||
tavolo2 = Tavolo([
|
tavolo2 = Tavolo([
|
||||||
TaggedCards([
|
TaggedCards([
|
||||||
|
@ -198,6 +198,6 @@ if __name__ == '__main__':
|
||||||
])
|
])
|
||||||
|
|
||||||
tavolo = tavolo1
|
tavolo = tavolo1
|
||||||
# alg(tavolo, tavolo, [], 0, [])
|
alg(tavolo, tavolo, [], 0, [])
|
||||||
# print('****BEST:')
|
# print('****BEST:')
|
||||||
# print_1(best, MAX)
|
# print_1(best, MAX)
|
||||||
|
|
Loading…
Reference in a new issue