This project implements the Suika (Watermelon) Game with AI-controlled gameplay using the Alpha-Beta Pruning algorithm. The goal is to simulate intelligent gameplay where two players (AI vs User) compete to score the highest by combining cats strategically.
🎮 Play Now: https://alpha-beta-suika-nu.vercel.app/
510561584_10041406172619127_7378914383733556354_n.mp4
- If the container overflows, the game indicates "Game Over".
- Players can move the cat left or right before it drops.
- Only cats of the same size and type can be merged.
- AI vs User using Alpha-Beta pruning for decision making
- Physics-based cat dropping mechanics
- Score tracking and merging logic
To run the project locally, follow these steps:
- Install project dependencies
npm install
- Run the development server
npm run dev
- Install Matter.js for physics simulation
npm install matter-js
Inspired by the video from @paulcode_ on YouTube.
📺 Original Video: "Suika Game" 🎮 Concept by: paulcode_