Giter VIP home page Giter VIP logo

p04-tac-tac-toe's Introduction

Project 4

My job for this project was to write the code to create a game of Tic-Tac-Toe. I was provided with the HTML and CSS for three screens: one for name input, one for the game, and one victory screen. With those, I wrote code to allow a user to play the game vs a friend or my AI. I take name(s) for 1 or 2 users, display those during the game, and on the victory screen to congratulate the winner by name. While it wasn't needed to pass, I was able to create an unbeatable AI; something I had been wanting to do for a while.

Skills: Object Oriented JS, 'this', array iteration, callback functions

Personal Development Emphasis: practice using 'this' and regular expressions


Grade: Exceeds Expectations

Grader's Overall Comments: "Amazing job on this project! Everything is clean and well put together, it's really good.

"I'm happy to see you went the extra mile to make an unbeatable AI.

"If you really wanted to step up your game in the future. Try having a second "Beatable" AI. they randomize which one you play against. Giving the user a chance to win every once and a while is great for a positive user experience.

"Keep up the amazing work!""

p04-tac-tac-toe's People

Contributors

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