TicTacToe-VueJS

A simple Tic-Tac-Toe game implemented with Vue.js and Vue Router. This project demonstrates basic Vue.js functionality and routing with a user-friendly interface.

Stars
0

Tic-Tac-Toe Vue Project

image image

Welcome to the Tic-Tac-Toe project built with Vue.js. This project is a simple implementation of the classic Tic-Tac-Toe game using Vue.js and Vue Router.

Project Structure

  • main.js: The entry point of the application. It initializes Vue, sets up the router, and mounts the app.
  • App.vue: The root component of the application.
  • router/index.js: Configures the routes for the application.
  • components/HelloWorld.vue: A basic example component to be displayed at the root path.
  • components/TicTacToe.vue: The main component for the Tic-Tac-Toe game.

Dependencies

  • vue: ^2.6.10
  • vue-router: ^2.8.1

Setup

  1. Clone the repository:

    git clone https://github.com/aniketparate/TicTacToe-VueJS.git
    cd TicTacToe-VueJS
    
  2. Install the dependencies:

    npm install
    
  3. Start the development server:

    npm run serve
    

    This will start the development server and you can view the application in your browser at http://localhost:8080.

Usage

  • Visit http://localhost:8080 to see the application.
  • Navigate to the Tic-Tac-Toe game by going to http://localhost:8080/tictactoe.

Development

  • To build the project for production, run:

    npm run build
    
  • To lint the project, run:

    npm run lint
    

License

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

Acknowledgements