Giter Club home page Giter Club logo

tic-tac-toe-game-2's Introduction

Tic Tac Toe

Tic Tac Toe is a site that hopes to demonstrate how pure JavaScript works in a real-world context. The site will be targeted toward people who not only love to implement more advanced JavaScript concepts but also play games.

Tic Tac Toe is a fully responsive javascript game that allows users to play exciting game, also this site has an interesting sound to enjoy the game and it is controllable, because you can click on the sound icon and Play and pause the sound.

The background of Tic Tac Toe game is very flexible because if you want to change the background mode to dark, you can do it easily by clicking on the dark icon.

Responsice Mockup

Existing Features

  • The Tic Tac Toe Heading

    • Game Name: Featured at the top of the page, the Tic Tac Toe and heading is easy to see for the user. Upon viewing the page, the user will be able to see the name of the game.

    Logo

    • Voice Icon:There is an icon for audio, and we can play and pause the audio with that and when we click on that the icon will chang by the play or pause

    Logo

    • Dark/Light icon: This makes the website more flexible as it helps the user to change the background mode to dark or change it to normal, also the normal icon is sun and dark mode changes to moon.

    Logo

  • Choice player section

    • In this section user will choice which one he/she want to be? There is two sign: X and Y.also X is the default player sign.

    Logo

  • Player turn section

    • This section show the players turn during the game.It can be so usefull for user to know,the how is turn?

    Logo

  • The Game Area

    • This section will allow the user to play the Tic Tac Toe game. The user will be able to easily see icons for each player.

    • The user will be able to select the cells of Tic Tac Toe game they will be playing by clicking on the different cells.

    Game

  • The Tic Tac Toe Footer

    • In this section we have two parts:Result part and replay part.
    • Result part :in this section will show the won player.
    • Replay section: allow the user to play game agian. also during the game user can replay game.

    Logo

Testing

  • I tested that this page works in different browsers: Chrome, Firfox, Safari.

  • I confirmed that this project is responsive, looks good and functions on all standard screen sizes using the devtools device toolbar.

  • I confirmed that the all of game section are readable and easy to play.

Validator Testing

  • HTML

    • No errors were returned when passing through the official W3C validator.
  • CSS

    • No errors were found when passing through the official W3C validator.
  • Accessibility

    • I confirmed that the colors and fonts chosen are easy to read and accessible by running it through lighthouse in devtools.

    Accessibility

Technologies Used

I have used several technologies that have enabled this design to work:

  • HTML
    • Used as the basic building block for the project and to structure the content.
  • CSS
    • Used to style all the web content across the project.
  • JavaScript
    • Used for game structure and logic.
  • Google Developer Tools
    • Used as a primary method of fixing spacing issues, finding bugs, and testing responsiveness across the project.
  • GitHub
    • Used to store code for the project after being pushed.
  • Gitpod
    • Used as the development environment.
  • Grammarly
    • Used to fix the thousands of grammar errors across the project.
  • Coloors
    • Used to create a colour palette for the design.
  • W3C Markup Validation Service
    • Used to validate all HTML code written and used in this webpage.
  • W3C CSS Validation Service
    • Used to validate all CSS code written and used in this webpage.
  • AmIResponsive
    • Used to generate repsonsive image used in README file.

Deployment

I deployed this website by using GitPages and following the below steps:

GitHub pages deployment

  1. Log in to GitHub
  2. In your Repository section, select the project repository that you want to deploy
  3. In the menu located at the top of this section, click 'Settings'
  4. Select 'Pages' on the left-hand menu - this is around halfway down
  5. In the source section, select branch 'Master' and save
  6. The page is then given a site URL which The live link can be found here:
    -https://zahramousavi612.github.io/Tic-Tac-Toe-Game/

Credits

Content

  • The game main function that used in game area,I saw that from youtube video.

Media

  • The audio used on the game is from an application that I downloaded and then I change the format of that to .mp3 to be accessible to all browser

tic-tac-toe-game-2's People

Contributors

zahramousavi612 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.