GithubHelp home page GithubHelp logo

project0-tic-tac-toe's Introduction

#Project #0:

##The Game "Tic Tac Toe" My game

###Overview (Languages/Frameworks used) Used HTML to build 3x3 square block and start js fuction startGame Used CSS to style design on a page Used Javascript to manipulate DOM

###Project Description To understand where to start I had to watch and read a lot of information on web on how to approach the problem as it was very hard to start from scratch. First step for me was to fill in the squares with "X" or "O" on click and switch turns. Next few steps were to check for all possible winning combinations, display the message who is the winner, show cat image, clear all squares before game starts, etc. Also added random choice of the first move (who starts first) "X" or "O". The most challenging part was to add the Draw outcome.

###Major Features Game board renders in the browser Switch turns between X and O Randomly selects the first turn Shows whose next turn is Visually display who is the winner or show a draw if neither wins Dancing cat for winner

###List Of Any Known Bugs Not at this stage as I did only mandatory tasks

###Wishlist/Future features I would like to add results tracking Functionality to play with computer Also want to make flexible choice of block size 4x4, 5x5 (this also require more complex algorithm how to calculate winner, instead of hardcoding all potential combinations)

project0-tic-tac-toe's People

Contributors

milasv avatar

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.