Merge pull request #15 from cr2007/main

Adds Dev Container configuration for GitHub Codespaces
pull/17/head
Lunakepio 2024-02-16 14:18:11 +01:00 committed by GitHub
commit ef51e33385
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 33 additions and 4 deletions

View File

@ -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"
}

View File

@ -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
@ -23,15 +25,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 <kbd>W</kbd> 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 <kbd>E</kbd> key to use the current item.
- Press R to reset your position, usable anytime.
- Press <kbd>R</kbd> to reset your position, usable anytime.
## How to use (Code)
@ -76,4 +78,4 @@ Start the dev server
## License
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)