Use checkPoint to collect data, provide multidimensional data query for adventurers
To-do list
- Integrate checkPoint and collect data ✅
- Collect data through full event listening
- StartGame: StartGame,
- UpgradesAvailable: UpgradesAvailable,
- DiscoveredHealth: DiscoveredHealth,
- DiscoveredGold: DiscoveredGold,
- DodgedObstacle: DodgedObstacle,
- HitByObstacle: HitByObstacle,
- AmbushedByBeast: AmbushedByBeast,
- DiscoveredBeast: DiscoveredBeast,
- AttackedBeast: AttackedBeast,
- AttackedByBeast: AttackedByBeast,
- SlayedBeast: SlayedBeast,
- FleeFailed: FleeFailed,
- FleeSucceeded: FleeSucceeded,
- AdventurerLeveledUp: AdventurerLeveledUp,
- PurchasedItems: PurchasedItems,
- PurchasedPotions: PurchasedPotions,
- AdventurerUpgraded: AdventurerUpgraded,
- EquippedItems: EquippedItems,
- DroppedItems: DroppedItems,
- ItemsLeveledUp: ItemsLeveledUp,
- AdventurerDied: AdventurerDied,
- NewHighScore: NewHighScore,
- IdleDeathPenalty: IdleDeathPenalty,
- RewardDistribution: RewardDistribution
- Total number of adventurers (total alive, total dead)
- Number of plays from the same address
- Specified adventurer's gameplay path
Add a .env configuration file to the project root directory.
DATABASE_URL=mysql://root:default_password@localhost:3306/checkpoint