Welcome to Vue Arkanoid, a simple Arkanoid game built with Vue.js!
Vue Arkanoid is a classic arcade game where you control a paddle to bounce a ball and break bricks. The objective is to clear all the bricks from the screen without letting the ball fall off the bottom of the screen.
- Control the paddle using keyboard (Arrow keys) or mouse
- Break bricks by bouncing the ball off them
- Simple and addictive gameplay
- Clone the repository.
- Navigate into the project directory.
- Install dependencies.
- Start the development server.
- Open your browser and visit http://localhost:8080
- Keyboard: Use the Arrow keys (Left and Right) to move the paddle.
- Mouse: Move the mouse left or right to move the paddle accordingly.
Contributions are welcome! Feel free to open an issue or submit a pull request.
This project is licensed under the MIT License - see the LICENSE file for details.
This template should help get you started developing with Vue 3 and TypeScript in Vite. The template uses Vue 3 <script setup>
SFCs, check out the script setup docs to learn more.
- VS Code + Volar (and disable Vetur) + TypeScript Vue Plugin (Volar).
TypeScript cannot handle type information for .vue
imports by default, so we replace the tsc
CLI with vue-tsc
for type checking. In editors, we need TypeScript Vue Plugin (Volar) to make the TypeScript language service aware of .vue
types.
If the standalone TypeScript plugin doesn't feel fast enough to you, Volar has also implemented a Take Over Mode that is more performant. You can enable it by the following steps:
- Disable the built-in TypeScript Extension
- Run
Extensions: Show Built-in Extensions
from VSCode's command palette - Find
TypeScript and JavaScript Language Features
, right click and selectDisable (Workspace)
- Run
- Reload the VSCode window by running
Developer: Reload Window
from the command palette.