Giter VIP home page Giter VIP logo

mandatory-js-1's Introduction

Mandatory Exercise 2 - JavaScript

The deadline for this exercise is Friday November 30 08:59

Preparation

  1. Create a new repository on Github called mandatory-js-2

  2. Follow the instructions that Github gives you; create a local repository and add a remote or clone the recently created repository.

Submission

When you do the submission of your exercise in Ping Pong, before the deadline, you will enter the link to your repository, such as:

https://github.com/mygithubusername/mandatory-js-2

The teacher will look in the master branch. If any commits are done to the master branch after the deadline, the grade IG will follow.

You will either get G or IG on the mandatory exercises.

Resources

https://en.wikipedia.org/wiki/Tic-tac-toe https://developer.mozilla.org/sv-SE/docs/Web/JavaScript/Reference/Classes https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON

Instructions

Write your own tic-tac-toe game in the browser! The game should be able to play with 2 players (taking turns on the same computer). Render the game with HTML and CSS, and implement all functionality of the game with JavaScript. You're required to use jQuery for all the DOM manipulations. When a game is over, there should be a reset button that allows the players to play a new game.

To get the grade G the following needs to be true

  • A complete game of tic-tac-toe can be played in the browser between two players (taking turns on the same computer).
  • When the game is over, you shouldn't be able to do any more moves.
  • When the game is over, you can refresh the game and start a new game (without page refreshing). This should not happen automatically.

Optional

Try and implement a game AI that you can play against.

mandatory-js-1's People

Contributors

ibrahimyolbir avatar

Stargazers

 avatar

Watchers

 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.