From 9b0f6cbdc68d1a69fb9887c10b6145f2847d353e Mon Sep 17 00:00:00 2001 From: CSK <73425927+cr2007@users.noreply.github.com> Date: Fri, 16 Feb 2024 10:47:30 +0000 Subject: [PATCH 1/3] Adds Dev Container configuration with VS Code extensions and port forwarding --- .devcontainer/devcontainer.json | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .devcontainer/devcontainer.json diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json new file mode 100644 index 0000000..0dd192e --- /dev/null +++ b/.devcontainer/devcontainer.json @@ -0,0 +1,27 @@ +{ + "name": "Mario Kart Dev Container", + "image": "mcr.microsoft.com/devcontainers/javascript-node", + "customizations": { + "vscode": { + "extensions": [ + "eamodio.gitlens", + "esbenp.prettier-vscode", + "VisualStudioExptTeam.vscodeintellicode", + "dbaeumer.vscode-eslint", + "dsznajder.es7-react-js-snippets", + "antfu.vite", + "meganrogge.template-string-converter", + "ambar.bundle-size", + "aaron-bond.better-comments" + ] + } + }, + "forwardPorts": [4000], + "portsAttributes": { + "4000": { + "label": "Application", + "onAutoForward": "notify" + } + }, + "postCreateCommand": "npm install" +} From c4b91756586af9284a847ab3b43a3c950f713128 Mon Sep 17 00:00:00 2001 From: CSK <73425927+cr2007@users.noreply.github.com> Date: Fri, 16 Feb 2024 10:47:50 +0000 Subject: [PATCH 2/3] Add GitHub Codespaces badge to `README.md` --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 117752b..2080493 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,8 @@ # Mario Kart 3.js - JavaScript/WebGL Mario Kart [Link](https://mario-kart-3-js.vercel.app/) +[![Open in GitHub Codespaces](https://github.com/codespaces/badge.svg)](https://codespaces.new/Lunakepio/Mario-Kart-3.js) + DISCLAIMER : This is not a completed project, I would say around 50% of the work has been done up to now. It takes a lot of time so please enjoy. ## How to install From 66e190029698164097a7a9bd9e913688e33284e6 Mon Sep 17 00:00:00 2001 From: CSK <73425927+cr2007@users.noreply.github.com> Date: Fri, 16 Feb 2024 10:48:24 +0000 Subject: [PATCH 3/3] Adds `` tags to the keyboard controls --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 2080493..4e2ef66 100644 --- a/README.md +++ b/README.md @@ -23,15 +23,15 @@ Start the dev server ## How to use (Gameplay) -- Use the W key to accelerate, the mouse to steer for now (will be updated for mobile/gamepad/keyboard). +- Use the W key to accelerate, the mouse to steer for now (will be updated for mobile/gamepad/keyboard). - Steer with the mouse. - Press and hold the space bar to initiate a drift. Steer and counter steer to maintain the drift. release it to get a mini - turbo. -- Press E key to use the current item. +- Press E key to use the current item. -- Press R to reset your position, usable anytime. +- Press R to reset your position, usable anytime. ## How to use (Code) @@ -76,4 +76,4 @@ Start the dev server ## License -[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT) \ No newline at end of file +[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)