Welcome to the repository for the Solwr Tile Game built with Vue 3, TypeScript, TailwindCSS, and Firebase.
This is a simple tile game implemented using Vue 3, TypeScript, TailwindCSS, and Firebase. The game involves moving tiles to make the Solwr logo surface. I created this project in order to learn new technologies. The project has seen many iterations with different technologies.
- Interactive tile movement
- Real-time highscore updates using Firebase WebSocket
- Game state management with Pinia
- Firebase for backend services
- TypeScript for type safety
- Fast build and hot-reload with Vite
- Framework: Vue 3
- Language: TypeScript
- Build Tool: Vite
- Styling: TailwindCSS
- Backend: Firebase
- Real-time Updates: Firebase Realtime Database
To get a local copy up and running, follow these steps:
- Clone the repository:
git clone https://github.com/PMolnes/tilegame-vuets.git
- Navigate to the project directory:
cd tilegame-vuets
- Install dependencies:
npm install
This project uses Firebase for backend services, including real-time highscore updates. Ensure you have your Firebase configuration set up:
- Firebase Project Setup
- Go to Firebase Console
- Create a new project
- Env File:
- Create a env file in the root of your project
- Add your firebase configuraton VITE_FIREBASE_API_KEY=your_api_key
VITE_FIREBASE_AUTH_DOMAIN=your_auth_domain
VITE_FIREBASE_PROJECT_ID=your_project_id
VITE_FIREBASE_STORAGE_BUCKET=your_storage_bucket
VITE_FIREBASE_MESSAGING_SENDER_ID=your_messaging_sender_id
VITE_FIREBASE_APP_ID=your_app_id
VITE_FIREBASE_MEASUREMENT_ID=your_measurement_id
To start the development server with hot-reload, run:
npm run dev
I recommend using Vue - Official plugin for vue support.