Package main
package main
This package contains the main application logic for the betting system.
The main package includes classes like BetOrganization which manages customer bets,
and GameEmulator that simulates random game outcomes. The BetMain
class serves as the entry point to the application, initializing the system and running the betting scenarios.
-
ClassDescriptionEntry point for simulating a betting organization, generating random game results, and calculating and displaying customer betting results.Singleton class representing the organization responsible for managing customer betting activities.Singleton class for emulating game results by randomly selecting outcomes for a list of bets.Interface for customer betting services, defining methods for calculating gains and presenting results, as well as a default method for saving results to a text file.