PharoSandGame

Details

Source
GitHub
Dialect
pharo (25% confidence)
License
MIT
Stars
3
Created
May 10, 2025
Updated
June 13, 2025

Categories

Games System / OS

README excerpt

# PharoSandGame

A colorful falling sand simulation built in Pharo Smalltalk.

![Example](example.gif)

## Quick Start

### Prerequisites
- Pharo Smalltalk environment (Pharo 12.0 or later recommended)

### Installation
1. Load the package files into your Pharo image
2. In a Pharo Playground, execute:
```smalltalk
PSGWindow new openInWorld
```

### Controls
- **Mouse Click & Drag**: Spawn colorful sand grains
- **Spacebar**: Flip the entire simulation vertically
- **Left and Right arrow**: Rotate the box (counter-)clockwise.
- **Close Window**: Stops the simulation automatically
← Back to results