Skip to content

Full-stack project involving creating A.I. model (largely inspired by AlphaGo) to play Go and an interface to play with other players and play against the A.I.

License

Notifications You must be signed in to change notification settings

jacobsomer/AlphaGoLite

 
 

Repository files navigation

AlphaGo Lite

This repository holds code for the A.I. model I made for playing the board game of Go. I am to develop the algorithms used to develop AlphaGo Zero, in a lite version. It also holds web application code for a Go-playing website where users can play against each other or play against the A.I.

It is still a work in progress.

How to Run

cd play_go_web_app

The backend:

On one terminal, perform:

python manage.py runserver

The frontend

On a separate terminal, perform:

cd frontend

npm run dev

Structure

File Description
Frontend Frontend displaying multiplayer, real-time gameplay, with abilities for users to create their own rooms or join a room.
Backend Backend with an API responsible for fetching information about rooms from a database.
test_tf.py the TensorFlow quickstart tutorial code (used for testing purposes on a Linux-based computer science machine found at my college)
mcts.py holds the MonteCarloTree class that is responsible for the underlying data structures and algorithms to ultimately run the big algorithm in the room: Monte Carlo Tree Search
politer-selfplay.py responsible for the policy iteration algorithm and executing each episode, all for the purpose of training and updating the neural network involved

Sources

About

Full-stack project involving creating A.I. model (largely inspired by AlphaGo) to play Go and an interface to play with other players and play against the A.I.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 49.1%
  • JavaScript 36.1%
  • Jupyter Notebook 11.9%
  • Dockerfile 1.9%
  • Other 1.0%