Git Product home page Git Product logo

husenbhagat / dotsandboxes3v3 Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 1.0 168 KB

We have implemented a 3 player version of the Dots and Boxes game. This game starts with an empty grid of dots. In this implementation 3 players take turns to add a single horizontal or vertical line in the grid, between two dots which are already not joined. Any player who completes the fourth side of the box earns one point and then takes another turn. This game will end when there are no more lines which can be placed in the grid and the player with maximum points wins the game.

Jupyter Notebook 100.00%

dotsandboxes3v3's Introduction

DotsAndBoxes3v3

We have implemented a 3 player version of the Dots and Boxes game. This game starts with an empty grid of dots. In this implementation 3 players take turns to add a single horizontal or vertical line in the grid, between two dots which are already not joined. Any player who completes the fourth side of the box earns one point and then takes another turn. This game will end when there are no more lines which can be placed in the grid and the player with maximum points wins the game.

We have implemented minimax tree search algorithm for 3 players and have also implemented a neural network model using 4 configurations:

  1. Model with Adam (adaptive learning rate optimization algorithm) & Tanh (Activation function)
  2. Model with Adam (adaptive learning rate optimization algorithm) & ReLU (Rectified Linear Unit for activation function)
  3. Model with SGD (Stochastic Gradient descent algorithm) & Tanh (Activation function)
  4. Model with SGD (Stochastic Gradient descent algorithm) & ReLU(Rectified Linear Unit for activation function)

Steps to run this notebook:

Sign into https://colab.research.google.com/ and upload this notebook. Click on Runtime -> Run all cells

This project is implemented as a term project for CIS 667 - Intro to AI by :

Husen Bhagat Kartheek Sunkara Pranav Kulkarni Sreekar Reddy Sykam

dotsandboxes3v3's People

Contributors

husenbhagat avatar

Watchers

 avatar

Forkers

pammu6

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.