PlayPixelLabs is a premium, responsive online game portal built with Astro. It features a modern glassmorphism design, vibrant neon aesthetics, and a collection of playable browser games.
- Modern UI/UX: Glassmorphism effects, smooth transitions, and a "dark mode" inspired aesthetic.
- Responsive Design: Fully optimized for desktop, tablet, and mobile devices.
- Game Portal: Browse games by category (Arcade, Puzzle, Strategy, etc.).
- Playable Games: Includes a custom-built Snake Classic game with mobile touch controls.
- Fast Performance: Built with Astro for lightning-fast page loads.
- Framework: Astro
- Styling: Vanilla CSS (Variables, Flexbox/Grid, Glassmorphism)
- Icons: Lucide Astro
- Deployment: GitHub Pages (via GitHub Actions)
- Node.js (v18 or higher)
- npm
-
Clone the repository:
git clone https://github.com/your-username/PlayPixelLabs.git cd PlayPixelLabs -
Install dependencies:
npm install
-
Start the development server:
npm run dev
Open your browser and navigate to
http://localhost:4321.
- Browse: Use the home page grid or category filters to find a game.
- Play: Click "Play" on a game card to enter the game arena.
- Controls:
- Desktop: Use arrow keys for movement.
- Mobile: Use the on-screen directional buttons.
To build the project for production:
npm run buildThe output will be in the dist/ directory.
This project is configured to deploy automatically to GitHub Pages using GitHub Actions.
- Push your changes to the
mainorastrobranch. - The workflow in
.github/workflows/deploy.ymlwill trigger. - Your site will be live at
https://your-username.github.io/PlayPixelLabs/.
/
โโโ public/ # Static assets
โโโ src/
โ โโโ components/ # UI Components (Header, GameCard, etc.)
โ โโโ games/ # Game logic components (Snake.astro)
โ โโโ layouts/ # Page layouts
โ โโโ pages/ # Astro pages and routing
โ โโโ styles/ # Global CSS
โโโ astro.config.mjs # Astro configuration
โโโ package.json
This project is open source and available under the MIT License.