An open API service indexing awesome lists of open source software.

https://github.com/5h1ngy/fe-phaser-season-times

A TypeScript-based match-3 puzzle game built with Phaser and Vite. This project features an interactive grid with dynamic resizing, smooth animations powered by GSAP, and responsive design for immersive gameplay. Perfect for developers looking to explore game mechanics, animations, and grid-based layouts in web games
https://github.com/5h1ngy/fe-phaser-season-times

animations dynamic-grid frontend game-development gsap match-3 phaser puzzle-game typescript vite web-game

Last synced: 28 days ago
JSON representation

A TypeScript-based match-3 puzzle game built with Phaser and Vite. This project features an interactive grid with dynamic resizing, smooth animations powered by GSAP, and responsive design for immersive gameplay. Perfect for developers looking to explore game mechanics, animations, and grid-based layouts in web games

Awesome Lists containing this project

README

        

# **fe-phaser-season-times ๐Ÿš€**


logo

[![License](https://img.shields.io/badge/license-MIT-blue.svg)](./LICENSE)
[![Version](https://img.shields.io/badge/version-1.0.0-blue)](#)
![Node.js](https://img.shields.io/badge/node-%3E%3D20.18.0-green)
![Yarn](https://img.shields.io/badge/yarn-%3E%3D4.5.1-green)

**fe-phaser-season-times** is an interactive browser-based puzzle game built with Phaser 3, TypeScript, and GSAP. This project focuses on responsive design, animations, and scalability for casual gaming experiences.


logo

## **URLs ๐ŸŒ**

| Key | Value |
|-----------|---------------------------------------------------------------------------------|
| Website | https://5h1ngy.github.io/fe-phaser-season-times/ |

## **Introduction ๐Ÿค–**

**fe-phaser-season-times** is a dynamic puzzle game where players match items on a grid for points. It leverages Phaser 3 for game development, GSAP for animations, and TypeScript for a scalable codebase. The game features responsive design, making it playable on both desktop and mobile devices.

## **Features โœจ**

- โœ… Responsive grid-based puzzle gameplay
- โœ… Interactive animations using **GSAP**
- โœ… Type-safe development with **TypeScript**
- โœ… Real-time score tracking and UI updates
- โœ… Highly customizable and scalable architecture

## **Requirements ๐Ÿ”ง**

Ensure the following are installed on your system:

- **Node.js**: `>= 20.18.0`
- **Yarn**: `>= 4.5.1`

## **Installation ๐Ÿ› **

### Steps

1. Clone the repository:
```bash
git clone https://github.com/5h1ngy/fe-phaser-season-times.git
cd fe-phaser-season-times
```

2. Install dependencies:
```bash
yarn install
```

3. Start the development server:
```bash
yarn start:dev
```

For a production build:
```bash
yarn build:prod
yarn start:prod
```

## **Usage ๐Ÿ•น**

### Core Features:
- **Grid Matching**: Match 3 or more items to clear them and score points.
- **Interactive Animations**: Smooth animations for swaps and grid updates.
- **Responsive Design**: Playable on devices of various screen sizes.

The game initializes a grid where items fall into place. Players can swap adjacent items to form matches, triggering animations and scoring mechanisms.

## **Project Structure ๐Ÿ—‚**

```plaintext
src/
โ”œโ”€โ”€ assets/ # Game assets (sprites, images, etc.)
โ”œโ”€โ”€ entities/ # Game entities and logic (e.g., MainGrid)
โ”œโ”€โ”€ scenes/ # Game scenes (e.g., MainScene)
โ”œโ”€โ”€ types/ # TypeScript type definitions
โ”œโ”€โ”€ utils/ # Utility functions
โ”œโ”€โ”€ main.ts # Game entry point
โ””โ”€โ”€ vite.config.ts # Vite configuration
```

## **Key Dependencies ๐Ÿ”—**

- **Phaser 3**: Game engine for 2D games
- **GSAP**: Animation library for smooth transitions
- **TypeScript**: Type-safe development
- **Vite**: Development server and build tool

For detailed dependency versions, see the [package.json](./package.json).

## **Testing ๐Ÿงช**

The project uses **TypeScript** for type checking. To ensure code quality:

```bash
yarn build:prod
```

No formal test framework is currently integrated. Contributions for testing setups are welcome.

## **License ๐Ÿท**

This project is licensed under the **MIT License**. See the [LICENSE](./LICENSE) file for details.

## **Contributing (Optional) ๐Ÿค**

Feel free to fork this repository and submit pull requests. All contributions are welcome.

## **Contact ๐Ÿ“ง**

For inquiries, please reach out to:
- **Author**: [5h1ngy](https://github.com/5h1ngy)
- **Repository**: [GitHub](https://github.com/5h1ngy/fe-phaser-season-times)