diff --git a/.vscode/settings.json b/.vscode/settings.json index 6f3a291..3ba6d77 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,3 +1,4 @@ { - "liveServer.settings.port": 5501 + + "liveServer.settings.port": 5501 } \ No newline at end of file diff --git a/FETCH_HEAD b/FETCH_HEAD new file mode 100644 index 0000000..e69de29 diff --git a/app.js b/app.js index 14c35f0..9e3f9b2 100644 --- a/app.js +++ b/app.js @@ -25,23 +25,7 @@ const configure_ai = () => { }); }; -FBInstant.initializeAsync() - .then(function(){ - var progress = 0; - var interval = setInterval(function() { - if(progress>=95){ - clearInterval(interval); - FBInstant.startGameAsync().then( - function() { - console.log("Game Loaded"); - } - ) - }; - FBInstant.setLoadingProgress(progress); - progress += 5; - }, 100); - } -); + // RESET GAME TO TWO PLAYER MODE const twoPlayer = () => { diff --git a/git b/git new file mode 100644 index 0000000..e69de29 diff --git a/index.html b/index.html index c53b76e..bf60eed 100644 --- a/index.html +++ b/index.html @@ -1,29 +1,31 @@ + TTC - - + + - + + - - +
+ - + - +

Tic-Tac-Toe

Scoreboard

+
- + @@ -136,7 +146,7 @@

PLAYER MOVE!

- +
@@ -148,9 +158,10 @@

PLAYER MOVE!

- - + + + +
@@ -186,10 +199,12 @@

PLAYER MOVE!

+

- + + diff --git a/lab2 b/lab2 new file mode 100644 index 0000000..e69de29 diff --git a/package.json b/package.json new file mode 100644 index 0000000..c51b711 --- /dev/null +++ b/package.json @@ -0,0 +1,19 @@ +{ + "name": "lab1", + "version": "1.0.0", + "description": "lite", + "main": "app", + "scripts": { + "start": "node app.js", + "test": "test" + }, + "repository": { + "type": "git", + "url": "git" + }, + "keywords": [ + "lab1" + ], + "author": "im", + "license": "ISC" +} diff --git a/tictactoe-lab1 b/tictactoe-lab1 new file mode 160000 index 0000000..0aa7a20 --- /dev/null +++ b/tictactoe-lab1 @@ -0,0 +1 @@ +Subproject commit 0aa7a2011dfc3c1ca9c86007fbbbce9a67d8ed30