From 9adbb35e168c16d8aceb06df10180a0967ea7e46 Mon Sep 17 00:00:00 2001 From: pri6950tam <142797546+pri6950tam@users.noreply.github.com> Date: Mon, 29 Jan 2024 17:09:47 +0530 Subject: [PATCH 1/2] Set up CI with Azure Pipelines [skip ci] --- azure-pipelines.yml | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 azure-pipelines.yml diff --git a/azure-pipelines.yml b/azure-pipelines.yml new file mode 100644 index 00000000..5bd0e0de --- /dev/null +++ b/azure-pipelines.yml @@ -0,0 +1,39 @@ +# Docker +# Build and push an image to Azure Container Registry +# https://docs.microsoft.com/azure/devops/pipelines/languages/docker + +trigger: +- main + +resources: +- repo: self + +variables: + # Container registry service connection established during pipeline creation + dockerRegistryServiceConnection: '206b4cef-4eb6-4146-9f61-c28739a1de06' + imageRepository: 'pritamtetrisgameapp' + containerRegistry: 'gamelabcontreg.azurecr.io' + dockerfilePath: '$(Build.SourcesDirectory)/Dockerfile' + tag: '$(Build.BuildId)' + + # Agent VM image name + vmImageName: 'ubuntu-latest' + +stages: +- stage: Build + displayName: Build and push stage + jobs: + - job: Build + displayName: Build + pool: + vmImage: $(vmImageName) + steps: + - task: Docker@2 + displayName: Build and push an image to container registry + inputs: + command: buildAndPush + repository: $(imageRepository) + dockerfile: $(dockerfilePath) + containerRegistry: $(dockerRegistryServiceConnection) + tags: | + $(tag) From 29371f8dd597a8c01ec82599450d7ca8b6b7b710 Mon Sep 17 00:00:00 2001 From: Dhurjoti Date: Mon, 29 Jan 2024 18:09:54 +0530 Subject: [PATCH 2/2] changed colour of lets play --- tetris.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tetris.js b/tetris.js index 103a610c..304b6c4d 100644 --- a/tetris.js +++ b/tetris.js @@ -238,7 +238,7 @@ function drawGameOverScreen(){ function drawMainMenu(){ context.fillStyle='#303040' context.fillRect(0,0, canvas.width, canvas.height) - context.fillStyle='white' + context.fillStyle='green' context.font = '32px Russo One'; context.textAlign = "center"; context.fillText("Lets Play..", canvas.width /2, canvas.height /2)