Ask coding questions

← Back to all posts
GO AI
xolyon (1)

so my friend made a py chess game and it had an unbeatable ai this wasn't a surprise to me however I have heard of Alpha go and the complexity of the game and I am wondering is it possible to replicate this in repl.it?

Commentshotnewtop
enigma_dev (91)

It would theoretically be possible to do so, tho Alpha Go needed a pretty strong machine and a lot of practice games. So yeah, theoretically yeah, practically maybe. Try it. If your answer helped you, I would appreciate if you would mark it with answered.

xolyon (1)

@enigma_dev problem is evertime you re run the program it has to start for scratch so u gota customize

eankeen (668)

No, you won't be able to replicate this on repl.it. According to the white paper, 44 million games were played over 9 hours. The games were played using Google's custom TPU (Tensor Processing Units) manufactured specifically for machine learning. Because your repl (neither your own computer) is not even close to the computational power that Google used for their calculations, you won't be able to train a model, even at a substantial fraction of the skill level.

There is an open source adaptation of Alpha Zero called Leela Chess Zero. It's one of the best chess engines out there and many people have had to offer their computer compute time to get to that point.

However, don't be discouraged! You may still be able to create your own algorithm with a smaller network. You may also consider pretraining your model someplace else, and developing an interface for that model on replit. Or, you can use something like TensorFlowJS to do your machine learning on the client (rather than on replit servers).

Maybe you would want to consider creating a chess ai that does not involve neural networks

Hope I could help =P

xolyon (1)

@eankeen thank you for the info :)

MATTHEWBECHTEL (122)

I have no idea but it sounds interesting.

xolyon (1)

@MATTHEWBECHTEL its becuase chess has like 10k combinations but this game has like infinite so it harder to make a ai but easir to make the game

MATTHEWBECHTEL (122)

Yeah, I read an article about the alphago. @xolyon