Giter Site home page Giter Site logo

tic-tac-toe's Introduction

suri-tic-tac-toe-client

A GA WDI portfolio project

Deployed Here: https://natesuri.github.io/tic-tac-toe/

Technologies Used: HTML, CSS, JS Used flexbox and bootstrap for creating the document and styling game logic is dynamic and can be used to play and check wins on any sized board. Uses jQuery to update game ui and to commuincate with a ruby API via AJAX calls.

Planning and Execution Set out to make a dynamic game logic for tic tac toe that could handle any square game board size. This required a iterating through a game board and checking for winning and tieing situations using dynamic variables. Using the sqrt of the gameboard length, or row length, winning scenarios could be calculated by the patterns they exhibit relative to the row length. For example, a column victory is a string of Xs or Os that is equal to the row length, and that occurs in the gameboard array every rowLength. Creating this dynamic game logic was the main goal along with finishing the other MVP requirements.

Unsolved and unfinished content Not the final page structure, and needs styling. Will replace sign in, sign up, and change password with modals that appear on clicking a button. Will also add a rules button and information and improve the data styling of the user game history. Also want to make the board size dynamic. The game logic can handle any sized square board. Will use jquery to created board on game start and add ids to all the tile divs on creation.

Wireframes and User Stories: https://www.dropbox.com/sh/5jcibyd95t1z2la/AAAEpA_zZJ2FTOXLYh0TQykVa?dl=0

tic-tac-toe's People

Contributors

natesuri avatar

Watchers

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