Coder Social home page Coder Social logo

tictacjoe's Introduction

Overview

Welcome! This programming exercise contains the code to make a basic game in HTML, CSS, and Javascript. Some code is in PHP in order to track user metrics.

Files

  • game.php The webpage which contains the structure of the game board and all the widgets (i.e. buttons, text, selectors) which the user will interact with
  • styles.css A file in the CSS syntax which applies styles to all the webpages
  • data.js A Javascript file which stores the data on the user's computer to track certain metrics (e.g. win/loss count, time of last visit)
  • main.js This is the heart of the game - this Javascript file manages the gameplay, tracking metrics, etc.
  • opponent.js This Javascript file is the brains of the opponent. Can you make an opponent here which will beat a human player? Good luck!
  • README.md This file! When posted on Github, a README.md file (which is written in Markdown syntax) will display on the front page.

Plea for Help!

Can you help make the opponent smart enough to beat a human opponent? You can download these files to your computer, edit 'opponent.js', test out your changes, and then suggest an update via a 'Pull Request' on github. This is the foundation for collaborative coding!

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.