Giter Site home page Giter Site logo

tictactoe_web's Introduction

forthebadge forthebadge forthebadge

PRs Welcome GitHub open pull requests GitHub open issues

GitHub language count

Status


## `for demo go to https://ujjaldas132.github.io/tictactoe_web/`

How to play

In the game you are given a NxN grid , where 2<N<21

The player who is playing "X" always goes first. Players alternate placing Xs and Os on the board until either one player win or all the boxes are filled .

The goal of tic-tac-toe is to be the first player to filled K number of continuous boxes horizontally or vertically or diagonally .

but what willl be value of K
K=N for N<6
K=5 for N>5

forthebadge

MIT Licence

tictactoe_web's People

Contributors

ujjaldas132 avatar

Stargazers

Pawan Saini avatar

Watchers

James Cloos avatar  avatar

Forkers

pawansaini020

tictactoe_web's Issues

logic for winning

right now logic just counts the X and 0 present in each class. but this logic failed when N_SIZE>5 because the Winningmoves is less than the N_SIZE. there may be some discontinuous moves we should ignore while counting.

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.