Skip to content

An Arkanoid-based game built with VueJS 3, TailwindCSS and Typescript

Notifications You must be signed in to change notification settings

jpjuliao/vue-arkanoid

Repository files navigation

Vue Arkanoid Game 🎮

Welcome to Vue Arkanoid, a simple Arkanoid game built with Vue.js!

🔗 Play Game Online

Description ℹ️

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.

Features ✨

  • Control the paddle using keyboard (Arrow keys) or mouse
  • Break bricks by bouncing the ball off them
  • Simple and addictive gameplay

Setup 🛠️

  1. Clone the repository.
  2. Navigate into the project directory.
  3. Install dependencies.
  4. Start the development server.
  5. Open your browser and visit http://localhost:8080

Controls 🎮

  • Keyboard: Use the Arrow keys (Left and Right) to move the paddle.
  • Mouse: Move the mouse left or right to move the paddle accordingly.

Contributing 🤝

Contributions are welcome! Feel free to open an issue or submit a pull request.

License 📝

This project is licensed under the MIT License - see the LICENSE file for details.

Vue 3 + TypeScript + Vite

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.

Recommended IDE Setup

Type Support For .vue Imports in TS

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:

  1. Disable the built-in TypeScript Extension
    1. Run Extensions: Show Built-in Extensions from VSCode's command palette
    2. Find TypeScript and JavaScript Language Features, right click and select Disable (Workspace)
  2. Reload the VSCode window by running Developer: Reload Window from the command palette.

About

An Arkanoid-based game built with VueJS 3, TailwindCSS and Typescript

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published