satyapavan / tic-tac-toe Goto Github PK
View Code? Open in Web Editor NEWJavascript implementation of tic tac toe game
Home Page: https://satyapavan.github.io/tic-tac-toe/
License: MIT License
Javascript implementation of tic tac toe game
Home Page: https://satyapavan.github.io/tic-tac-toe/
License: MIT License
inside logger.js, when we are passing GAME_STATE objects, rather than printing the contents or state, we are printing it as "Object". This is making the debugging difficult.
Lets say user lost 3 straight games, we can ask him to lower the difficulty
Lets say user won 3 straight games, we can ask him to play more challenging levels.
Or if it ends in consecutive ties, we can give the "thou shall not win" phrase :)
Selecting the difficulty level is not auto closing the menu in mobile devices; users are still needed to click on the menu again so that it collapses
Optimize isGameOver function call, by making use of RESULT_STATE value
Human player is able to play cells, when game is won by robot, while the animations are still in progress.
May be, good solution is to deactivate the cells when the game is over.
Implement enableLogs and disableLogs rather than directly editing the values
Alternate the strike line color between X and O to show color contrast
Game over animations are not working in Firefox browser. The animation is completely absent and the object shows abruptly.
Clicking on "Reset" after using any of the difficulty levels is not refreshing the page. Using it without the "#" at the end of page is working (when we loaded the page initially).
Tried using location.reload();
but it did not resolve the issue
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.