GithubHelp home page GithubHelp logo

phung025 / dots_and_boxes_rl Goto Github PK

View Code? Open in Web Editor NEW
3.0 2.0 0.0 20.81 MB

Class project for machine learning course CS 5751. In the project, we built an agent to learn to play the game of dots and boxes using Reinforcement Learning.

License: MIT License

Python 100.00%
reinforcement-learning dots-and-boxes machine-learning

dots_and_boxes_rl's Introduction

CS 5751 - Dot and Boxes Game with Reinforcement Learning

This is a class project for the course CS 5751 - Introduction to Machine Learning and Data Mining. The objective of this project is to build an agent that can play the game dots and boxes with a decent level. In the project, we buit several agents using different RL algorithms including TD-0 Learning and Q-Learning. In this repository, only the implementation or Q-Learning is included. However, it is quiet easy to implement a TD-0 Learning algorithm. The GUI is a modified version of the implementation we found online. Please refer to our final report for more information about the project.

Team members:

  • Andrew Miller
  • Dale Dowling
  • Nam Phung
  • Yichen Wei

Instructions:

  • Clone this repository
  • Go to the src folder
  • Execute command "python tk_game.py" to run the game
  • Execute command "python Learner.py" to make agent learn to play dots and boxes

Credits to Danny Yoo at UCLA Berkeley for the amazing implementation of the GUI for dots and boxes game. For more information about the GUI, please visit: https://www.hashcollision.org/hkn/python/dots-and-boxes/

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.