Skip to content
/ Dream-11 Public

Programmed the mock Dream11 application, which includes functionalities such as selecting players to form a team, choosing leagues such as football or IPL, and calculating points based on player performance to determine winners.

License

Notifications You must be signed in to change notification settings

VIVPM/Dream-11

Repository files navigation

Dream-11

Implement a Dream 11 Application wherein the users are supposed to choose the players to form the team and calculate points based on the player’s performance. A team's Total points are calculated by summing the player’s points and deciding the winner among the users who gets the highest points over a single match.

  • The user can choose any Sports league (Football League, Basketball League, IPL League).
  • After choosing any league, the console displays the live match between two teams randomly from the choosen league.
  • The user creates a team from set of players belonging to both teams.
  • The user can choose the players from the given list os playersbased on player skills.
  • The captain of the team is chosen and the points of the captain are doubled.
  • The points of each player are calculated and the team's total points are calculated by summing the player’s points.
  • The total points of each user are compared and the user with the maximum Total points is awarded as Winner.

Example of choosing IPL

Test case number Test case description Input Expected output Test status
1 Users entering different league choice 1,2,3 choice Warning to enter 3 i.e. to enter the choice for IPL league. PASS
2 User1 selects the best team. Both users will be selecting their teams. The calculated points of User 1 will be higher than User 2. So, User 1 will be declared the winner. PASS
3 User 2 selects the best team. Both users will be selecting their teams. The calculated points of User 2 will be higher than User 1. So, User 2 will be declared the winner. PASS
4 Both users select the same team. Both users will be selecting their teams. The calculated points of User 1 and User 2 will be the same. There are no winners in this case. PASS

About

Programmed the mock Dream11 application, which includes functionalities such as selecting players to form a team, choosing leagues such as football or IPL, and calculating points based on player performance to determine winners.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages