Skip to content

ilhye/Alpha-Beta-Suika

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

59 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🧠🐱Alpha-Beta Suika Game

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/

📸 Game Preview

510561584_10041406172619127_7378914383733556354_n.mp4

👮‍♀️ Game Rules

  • 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.

✨ Features

  • AI vs User using Alpha-Beta pruning for decision making
  • Physics-based cat dropping mechanics
  • Score tracking and merging logic

⚙ Installation

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
    

📒 Documentation

🙌 Credits

Inspired by the video from @paulcode_ on YouTube.

📺 Original Video: "Suika Game" 🎮 Concept by: paulcode_

About

2 player Suika game using Alpha-Beta Pruning algorithm

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • JavaScript 46.1%
  • HTML 38.7%
  • CSS 15.2%