- Added PlayerGameResult and PlayerGameStats types to track player results.
- Introduced setupDraft type for game setup configuration.
- Implemented playerGameStats in GameStoreState to maintain individual player results.
- Added autoResetIfInactive method to reset game state after inactivity.
- Created useAppStateListener hook for managing app state changes and auto-saving game state.
- Developed streakService to calculate and format player win/loss streaks.
- Updated game setup logic to preserve player stats and configurations.
- Enhanced tests to cover new player theme and game state features.
- Introduced `bunfig.toml` for test preload configuration.
- Added ESLint configuration file for code linting.
- Implemented a coverage checking script to ensure test coverage meets the specified threshold.
- Created `AppErrorBoundary` component to handle errors gracefully in the application.
- Defined game constants for player requirements and magic number constraints.
- Developed `useProvisionalLoser` hook to compute the provisional loser based on game state.
- Implemented services for parsing dice payloads, managing leaderboard entries, and ranking players.
- Added utility functions for score formatting and pot calculations.
- Created setup service for validating game start inputs and player profiles.
- Wrote comprehensive tests for components, hooks, and services to ensure functionality and reliability.
- Refactored SetupScreen to include a FlatList for end round pot factor selection, allowing for a more dynamic and responsive user experience.
- Introduced a new utility function to compute the end round pot value based on the selected factor.
- Updated player magic number handling to allow for empty inputs.
- Improved UI elements for better accessibility and visual consistency, including header styles and button designs.
- Added a new ui.ts file to centralize styling constants and effects for better maintainability.
- Enhanced StatusBar in App.tsx for better visual consistency.
- Updated app.json to include EAS project ID and improved formatting.
- Added eas.json for build configuration.
- Refined rules in RulesModal.tsx for clarity.
- Adjusted AppNavigator.tsx to disable screen animations.
- Improved GameScreen.tsx with new game logic and UI updates, including handling of provisional losers and displaying pot values.
- Enhanced ScoreScreen.tsx to manage navigation and display scores more effectively.
- Updated SetupScreen.tsx to validate magic numbers and improve user input handling.
- Modified gameStore.ts to manage game state more effectively, including handling of player turns and pot calculations.
- Implement SetupScreen for player setup and game configuration.
- Create gameStore using Zustand for managing game state, including player data, game settings, and turn results.
- Add utility functions for probability calculations related to dice rolls.
- Introduce TypeScript configuration for strict type checking.