From 154ef7f486407672d0d9ffafa71001f1d9c8229e Mon Sep 17 00:00:00 2001 From: florian Date: Sun, 4 May 2025 11:06:51 +0200 Subject: [PATCH] add game logic, display functions, and menu controls for Tetris --- .gitignore | 2 + public/index.html | 15 +- public/script/controller.js | 146 +++++++++++++ public/script/contruct.js | 160 ++++++++++++++ public/script/displayGameFunction.js | 152 ++++++++++++++ public/script/displayMenuFunction.js | 39 ++++ public/script/element.js | 24 +++ public/script/gameFunction.js | 301 +++++++++++++++++++++++++++ public/script/magicVariable.js | 35 ++++ public/script/menuController.js | 9 + public/script/var.js | 11 + 11 files changed, 890 insertions(+), 4 deletions(-) create mode 100644 public/script/controller.js create mode 100644 public/script/contruct.js create mode 100644 public/script/displayGameFunction.js create mode 100644 public/script/displayMenuFunction.js create mode 100644 public/script/element.js create mode 100644 public/script/gameFunction.js create mode 100644 public/script/magicVariable.js create mode 100644 public/script/menuController.js create mode 100644 public/script/var.js diff --git a/.gitignore b/.gitignore index fb9934d..17aa023 100644 --- a/.gitignore +++ b/.gitignore @@ -148,3 +148,5 @@ fastdeliver.db api.http node_modules + +datas \ No newline at end of file diff --git a/public/index.html b/public/index.html index ff17cd2..ff138f0 100644 --- a/public/index.html +++ b/public/index.html @@ -4,8 +4,15 @@ Tetris on the web - - + + + + + + + + + @@ -37,7 +44,7 @@ -