Skip to content

Commit

Permalink
Merge pull request #1 from girlscript-blr/master
Browse files Browse the repository at this point in the history
Upstream merging
  • Loading branch information
AnjaliPatle authored Nov 10, 2020
2 parents 43e2073 + 49dad97 commit f3cb00d
Show file tree
Hide file tree
Showing 12 changed files with 284 additions and 42 deletions.
61 changes: 61 additions & 0 deletions Easy/5. IPL Management App/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
# IPL Management App - Easy

> Date : 1st November 2020
## Prerequisites

- Basic input output of strings and numbers.
- One of `Class`/`Object`/`Dictionary`/`Map` to store survey details. (Depends on the language you are using)
- Creating and displaying arrays.
- Basic calculation.

## Problem Statement

It’s IPL season and we are all pumped about it! The matches on the field are about as competitive as the matches on our Whatsapp groups, with us enthusiastically supporting our favorite teams.

To make the tournament successful, a lot of work and organization is done behind the scene to keep it organized and efficient. Help the BCCI by developing an application that keeps **track of team details** for the tournament.

### Inputs

The app should be able to get a total number of teams playing the tournament, along with team details like the following:

- Number of Teams playing the tournament:
- Fill Team1 Details:
- Name:
- Captain:
- Franchise:
- Home Ground:
- Fill Team2 Details:
- Name:
- Captain:
- Franchise:
- Home Ground:
.
.
.
Soo on till team **n**.

### Output

The app should be able to display all the team details as following:

| Sl No. (Autogenerate) | Team Name | Captain | Franchise | Home Ground |
| --------------------- | --------- | ------- | --------- | ----------- |
| | | | | |

## Requirements for submission

- A document containing a screenshot showing the results must also be pushed along with final submission. A brief description(not more than 4-5 lines/100 words) should be included containing the approach used for solving the problem.
- Last Submission Date : `30th November 2020`
- If you haven’t filled our [participation form](https://tinyurl.com/codewithgsblr) 📃yet, fill it now.

## How to submit solution?

Follow the steps mentioned in [this](../../CONTRIBUTING.md) file to submit your solution.

## Next steps

Solved this problem? Then you might want to checkout the other versions of this problem.

- [Medium](../../Medium/5.%20IPL%20Management%20App/README.md)
- [Hard](../../Hard/5.%20IPL%20Management%20App/README.md)
1 change: 1 addition & 0 deletions Easy/5. IPL Management App/solutions/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Solutions
1 change: 1 addition & 0 deletions Easy/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@
- [2. Pacman Game - August 2020](2.%20Pacman%20Game/README.md)
- [3. COVID-19 Food Supply App - September 2020](3.%20COVID-19%20Food%20Supply%20App/README.md)
- [4. Digital Hospital Manager - October 2020](4.%20Digital%20Hospital%20Manager/README.md)
- [5. IPL Management App - November 2020](5.%20IPL%20Management%20App/README.md)
105 changes: 105 additions & 0 deletions Hard/5. IPL Management App/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,105 @@
# IPL Management App - Hard

> Date : 1st November 2020
## Prerequisites

- Basic input output of strings and numbers.
- One of `Class`/`Object`/`Dictionary`/`Map` to store survey details. (Depends on the language you are using)
- Creating and displaying arrays.
- Basic calculation.
- Array filtering.
- Reading and writing data to permanent storage. (files, database, etc) Refer [this](http://www.cplusplus.com/doc/tutorial/files/) for using files in C++.
- Complex user interface for implementing different modes and features.
- Round Robin Algorithm Implementation Java. Refer [this](https://stackoverflow.com/questions/26471421/round-robin-algorithm-implementation-java) (Feel free to search for similar examples in your prefered coding languages).

## Problem Statement

It’s IPL season and we are all pumped about it! The matches on the field are about as competitive as the matches on our Whatsapp groups, with us enthusiastically supporting our favorite teams.

To make the tournament successful, a lot of work and organization is done behind the scene to keep it organized and efficient. Help the BCCI by developing an application that keeps track of **team details, sets up match fixtures, and maintains scores & points table** as the tournament proceeds.

### Inputs

The app should allow the Admin to have 2 roles:

1. **Add Teams** (should be implemented only ones):
Admin should be able to get a total number of teams playing the tournament, along with team details like the following:

- Number of Teams playing the tournament:
- Fill Team1 Details:
- Name:
- Captain:
- Franchise:
- Home Ground:
- Fill Team2 Details:
- Name:
- Captain:
- Franchise:
- Home Ground:
.
.
.
Soo on till team **n**.

2. **Update Match Results**

- The Generated fixture should be stored in a File/Data table and Admin should be able to update match results after each match.
- Based on the updated match results points should be allocated in another **Points Table**.

### Output

The App should display the following:

1. A Table displaying Team details:

| Sl No. (Autogenerate) | Team Name | Captain | Franchise | Home Ground |
| --------------------- | --------- | ------- | --------- | ----------- |
| | | | | |

2. A Table displaying the fixture of the matches

- Here each team is supposed to play 2 matches with another team, one should be on their home ground another should be on other team’s home ground, i.e. suppose to be an away game for the team.
- Fixture should be created as per [Round Robin Tournament Concept](https://www.youtube.com/watch?v=niXDrhDnGKM).
- Here `Venue` should be the home ground of the Home Team.
- The Table should have additional columns as follows to update match results:
- **Team Won:** Winning Team name
- **Result:** Result of the Match _Eg. Chennai Super Kings Won by 21 runs or Kings XI Punbaj Won by 2 wickets or Match Tied but Mumbai Indians won in Super Over_
- **Man of the Match:** Main performer of the match

| Match Number | Home Team | Away Team | Venue | Team Won | Result | Man of the Match |
| ------------ | --------- | --------- | ----- | -------- | ------ | ---------------- |
| | | | | | | |

3. Based on Match Updates a Points table should be generated as follows:

- **2 points** should be awared for every win and **No Points** for every loss. Matches **won't be tied** as there will be super overs to decide the results.

| Rank | Team Name | No. of Wins | No. of Losses | Points |
| ---- | --------- | ----------- | ------------- | ------ |
| | | | | |

### Tables or Files Required

| Sl. No. | Table/ File Name | Description |
| ------- | ---------------- | ------------------------------------------------------------------------------------------------------------ |
| 1. | Team Details | Table/ file containing columns like Team name, Franchise, Captain, Home Ground |
| 2. | Fixtures | Table/file containing columns like Home Team name, Away Team name, Venue, Team Won, Result, Man of the Match |
| 3. | Points | Table/file containing columns Rank, Team name, no. of wins, no. of loss & Points scored |

## Requirements for submission

- A document containing a screenshot showing the results must also be pushed along with final submission. A brief description(not more than 4-5 lines/100 words) should be included containing the approach used for solving the problem.
- Last Submission Date : `30th November 2020`
- If you haven’t filled our [participation form](https://tinyurl.com/codewithgsblr) 📃yet, fill it now.

## How to submit solution?

Follow the steps mentioned in [this](../../CONTRIBUTING.md) file to submit your solution.

## Next steps

Solved this problem? Then you might want to checkout the other versions of this problem.

- [Easy](../../Easy/5.%20IPL%20Management%20App/README.md)
- [Medium](../../Medium/5.%20IPL%20Management%20App/README.md)
1 change: 1 addition & 0 deletions Hard/5. IPL Management App/solutions/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Solutions
1 change: 1 addition & 0 deletions Hard/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@
- [2. Pacman Game - August 2020](2.%20Pacman%20Game/README.md)
- [3. COVID-19 Food Supply App - September 2020](3.%20COVID-19%20Food%20Supply%20App/README.md)
- [4. Digital Hospital Manager - October 2020](4.%20Digital%20Hospital%20Manager/README.md)
- [5. IPL Management App - November 2020](5.%20IPL%20Management%20App/README.md)
63 changes: 33 additions & 30 deletions LEADERBOARD.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,33 +2,36 @@

Participation🙋‍♀️ is important than winning but so is maintaining the high spirits 💪of the game by highlighting the top contributors🏅. So, here we present our top men/women of the **Code with GirlScript Bangalore** Program 👩‍💻👨‍💻. Keep contributing and earning recognitions🏆. Happy learning! 😃

| User Name | July Score | August Score | September Score | Overall Score |
| ---------------------------------------------------------------- | ---------- | ------------ | --------------- | ------------- |
| [Ankur Chattopadhyay](https://github.com/chttrjeankr) | 75 | 30 | | 105 |
| [Sri Manikanta Palakollu](https://github.com/srimani-programmer) | 60 | | 30 | 90 |
| [Bhargav Bhatiya](https://github.com/bhargavbhatiya) | | 75 | | 75 |
| [INDERPREET SINGH](https://github.com/CO18325) | | | 75 | 75 |
| [Damini Chauhan](https://github.com/damini31) | 60 | 10 | | 70 |
| [Aditya Abhishek](https://github.com/encarcio) | 30 | | | 30 |
| [Garima Singh](https://github.com/garimasingh128) | 30 | | | 30 |
| [Vanshika](https://github.com/Vanshikaa00) | 30 | | | 30 |
| [Jayasurya](github.com/jsuryakt) | 30 | | | 30 |
| [Rishabh Upadhyay ](https://github.com/zenit-abh) | 30 | | | 30 |
| [Bharath C S](https://github.com/bharath-acchu) | 30 | | | 30 |
| [Ansh Agrawal](https://github.com/AcidBurn18) | 30 | | | 30 |
| [Neha Kumari](https://github.com/neha07kumari) | 30 | | | 30 |
| [Nikhil Sunny](https://github.com/nikhil7sunny) | 30 | | | 30 |
| [Varun S Athreya](https://github.com/VarunSAthreya) | | | 30 | 30 |
| [Akshit Soneji](https://github.com/nikhil7sunny) | 10 | | | 10 |
| [Riteek jha](https://github.com/Riteek1999) | 10 | | | 10 |
| [Abhijit Tripathy](https://github.com/Abhijit2505) | 10 | | | 10 |
| [Anshumali Shaw](https://github.com/bagofcodes) | 10 | | | 10 |
| [Nidhi Raniyer](https://github.com/raniyer) | 10 | | | 10 |
| [Harshitha S A](https://github.com/Harshitha-sa) | 10 | | | 10 |
| [Pooja Hegde](https://github.com/poojabh08) | 10 | | | 10 |
| [Adithya Mallya](https://github.com/SlaYpoint) | 10 | | | 10 |
| [Abhishek Singh](https://github.com/IEAbhishek) | 10 | | | 10 |
| [Kaushki Raj](https://github.com/Kaushkiraj) | 10 | | | 10 |
| [shraddha prasad](https://github.com/shraddhavp/) | 10 | | | 10 |
| [Sweta Kyada](https://github.com/swetakyada) | | 10 | | 10 |
| [Prachi Sabarad](https://github.com/Prachi-05) | | 10 | | 10 |
| User Name | July Score | August Score | September Score | October Score | Overall Score |
| ---------------------------------------------------------------- | ---------- | ------------ | --------------- | ------------- | ------------- |
| [Sri Manikanta Palakollu](https://github.com/srimani-programmer) | 60 | | 30 | 75 | 165 |
| [Ankur Chattopadhyay](https://github.com/chttrjeankr) | 75 | 30 | | | 105 |
| [INDERPREET SINGH](https://github.com/CO18325) | | | 75 | 10 | 85 |
| [Bhargav Bhatiya](https://github.com/bhargavbhatiya) | | 75 | | | 75 |
| [Damini Chauhan](https://github.com/damini31) | 60 | 10 | | | 70 |
| [Vanshika](https://github.com/Vanshikaa00) | 30 | | 10 | 10 | 50 |
| [Varun S Athreya](https://github.com/VarunSAthreya) | | | 30 | 10 | 40 |
| [Prachi Sabarad](https://github.com/Prachi-05) | | 10 | | 30 | 40 |
| [Aditya Abhishek](https://github.com/encarcio) | 30 | | | | 30 |
| [Garima Singh](https://github.com/garimasingh128) | 30 | | | | 30 |
| [Jayasurya](github.com/jsuryakt) | 30 | | | | 30 |
| [Rishabh Upadhyay ](https://github.com/zenit-abh) | 30 | | | | 30 |
| [Bharath C S](https://github.com/bharath-acchu) | 30 | | | | 30 |
| [Ansh Agrawal](https://github.com/AcidBurn18) | 30 | | | | 30 |
| [Neha Kumari](https://github.com/neha07kumari) | 30 | | | | 30 |
| [Nikhil Sunny](https://github.com/nikhil7sunny) | 30 | | | | 30 |
| [Pallavi savant](https://github.com/pallavisavant) | | | | 30 | 30 |
| [Harsh rajput](https://github.com/4doctorstrange) | | | | 30 | 30 |
| [Akshit Soneji](https://github.com/nikhil7sunny) | 10 | | | | 10 |
| [Riteek jha](https://github.com/Riteek1999) | 10 | | | | 10 |
| [Abhijit Tripathy](https://github.com/Abhijit2505) | 10 | | | | 10 |
| [Anshumali Shaw](https://github.com/bagofcodes) | 10 | | | | 10 |
| [Nidhi Raniyer](https://github.com/raniyer) | 10 | | | | 10 |
| [Harshitha S A](https://github.com/Harshitha-sa) | 10 | | | | 10 |
| [Pooja Hegde](https://github.com/poojabh08) | 10 | | | | 10 |
| [Adithya Mallya](https://github.com/SlaYpoint) | 10 | | | | 10 |
| [Abhishek Singh](https://github.com/IEAbhishek) | 10 | | | | 10 |
| [Kaushki Raj](https://github.com/Kaushkiraj) | 10 | | | | 10 |
| [shraddha prasad](https://github.com/shraddhavp/) | 10 | | | | 10 |
| [Sweta Kyada](https://github.com/swetakyada) | | 10 | | | 10 |
| [Anjali Patle](https://github.com/AnjaliPatle) | | | | 10 | 10 |
1 change: 0 additions & 1 deletion Medium/4. Digital Hospital Manager/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
- Creating and displaying arrays.
- Basic calculation.
- Array filtering.
- Basic calculation.
- Reading and writing data to permanent storage. (files, database, etc) Refer [this](http://www.cplusplus.com/doc/tutorial/files/) for using files in C++.
- Complex user interface for implementing different modes and features.

Expand Down
Loading

0 comments on commit f3cb00d

Please sign in to comment.