## Game Features
- **Exquisite UI Design:** Features a modern dark theme for excellent visual effects.
- **Smooth Animations:** Three reels spin independently, creating a realistic slot machine experience.
- **Rich Reward System:** Nine different fruits with varying probabilities and reward values.
- **Smart Winning Mechanism:** Three of a Kind = 10x reward, Two of a Kind = 2x reward.
- **Points System:** Each game costs 10 points; winning earns corresponding rewards.
## Game Rules
### Fruit Types and Rewards
- Apple: 10 points (25% probability)
- Orange: 20 points (20% probability)
- Banana: 30 points (15% probability)
- Grape: 50 points (12% probability)
- Strawberry: 80 points (10% probability)
- Peach: 100 points (8% probability)
- Watermelon: 200 points (5% probability)
- 777: 500 points (3% probability)
- Diamond: 1000 points (2% probability)
### Winning Rules
- **Three of a Kind**: 10 times the value of the fruit
- **Two of a Kind**: 2 times the value of the fruit
- **None of a Kind**: No reward
## Technical Implementation
### Core Components
- **MainActivity**: Main interface controller
- **SlotMachineGame**: Core game logic
- **Fruit**: Fruit data model
- **WheelAdapter**: Wheel adapter
### Key Technologies
- RecyclerView implements an infinite scrolling wheel
- Probability algorithm controls the winning rate
- Handler implements asynchronous animation control
- Custom Drawable beautifies the interface
## Interface Preview
The game includes the following main areas:
- Title bar: Displays the game name
- Score display: Currently available points
- Spinning Wheel Area: Three independent spinning wheels
- Control Buttons: Start Game and Reset Functions
- Results Display: Winning Information and Reward Display
## Development Environment
- Android Studio
- Minimum SDK: 24
- Target SDK: 35
- Java 8
## Installation and Running
1. Clone the project to your local machine.
2. Open the project using Android Studio.
3. Connect your Android device or launch the emulator.
4. Click the Run button to start the game.
## Gameplay
1. After starting the game, players start with 1000 points.
2. Click the "Start Game" button to consume 10 points to begin spinning.
3. The three wheels will stop sequentially, displaying the final result.
4. Receive the corresponding reward according to the winning rules.
5. If you don't have enough points, click "Reset" to start again.