Code Monkey home page Code Monkey logo

star-wars---tic-tac-toe's Introduction

Tic-tac-toe-Star-Wars

project 0

Tic-Tac-Toe (also known as zeros and crosses or Xs and Os) is a paper and pencil game for two players, X and O, who take turns marking the spaces on a 3 × 3 grid. three of your marks in a horizontal, vertical or diagonal line wins the game. My idea was to create a thematic version of Star Wars with an opening page and another that directs to the game, tried through sounds and effects to bring that thought of battle star wars.

how can Start Link : https://leolasz.github.io/Star-wars---tic-tac-toe/index.html

How to Play This game is designed to play against Computer. Each player need to tick one by one on 3X3 board.Your goal is to win the board by getting three in a row - either across, down, or diagonally - or getting a majority of the squares in a full grid. The first player to draw that, wins the game. If none of the player get the winning combination, game will announce as draw and start again.

///////COMMENTS HOW I BUILD YHE GAME

  • html 1-creation of the page structure 2- creation of DIV's for each square 3- audio tag opening the website. 4 onclick audio tag

JS and Jquery

step 1 - create function for TURN   step 2 - create function for RESULT   step 3 - create functions with area (s) for click base area in html   step 4 = create a function for verify winner step 5 - create standards for win (I created 8 standards of possibilities to win the game)   step 6 create alert for the winner using tag alert or in DRAW CASES   step 7 - create func in DRAW CASES

star-wars---tic-tac-toe's People

Contributors

leolasz avatar

Watchers

James Cloos avatar  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.