20 lines
528 B
Dart
20 lines
528 B
Dart
class GameConstants {
|
|
static const int gridWidth = 9;
|
|
static const int gridHeight = 8;
|
|
static const double gemSize = 64.0;
|
|
static const double gridPadding = 16.0;
|
|
static const int minMatchLength = 3;
|
|
|
|
// Gem types
|
|
static const List<int> gemTypes = [0, 1, 2, 3, 4, 5];
|
|
|
|
// Animation durations
|
|
static const double swapDuration = 0.3;
|
|
static const double fallDuration = 0.5;
|
|
static const double matchDuration = 0.2;
|
|
|
|
// Scoring
|
|
static const int baseScore = 100;
|
|
static const int comboMultiplier = 50;
|
|
}
|