This commit is contained in:
Dominik Moritz Roth 2022-04-16 01:23:29 +02:00
parent d8504cfbdf
commit 256a9af3ed

View File

@ -191,12 +191,13 @@ def humanVsAi(train=True, remember=True):
run = NeuralRuntime(init)
run.game([0,1], 4)
if remember or train:
trainer = Trainer(init)
if remember:
trainer.saveToMemoryBank(run.head)
print('[!] Your cognitive and strategic destinctiveness was added to my own! (Game inserted into memoryBank)')
if train:
print("[!] Your knowledge will be assimilated!!! Please stand by.... (Updating Neuristic)")
trainer = Trainer(init)
trainer.trainFromTerm(run.head)
print('[!] I have become smart! Destroyer of human Ultimate-TicTacToe players! (Neuristic update completed)')
print('[!] This marks the beginning of the end of humankind!')