Giter VIP home page Giter VIP logo

soccer-league-organizer's Introduction

Soccer-League-Organizer

Java Project 2: Treehouse Java Tech Degree

This program allows you to create, organize, and review soccer teams for fairness. The initial menu is as follows. A team with coach has been created:

There are currently 33 registered players.

Add - Add a player to a team
Roster - View roster
Report - View a report of a team by height
Create - Create a team
Quit - Exits the program
Remove - Remove a player from a team
Balance - View the League Balance Report
Select an option: create
What is the team name: Stars
What is the coach name: Dana
The team Stars has been created with Dana as coach.

An array of players to be added to the teams is already contained in Players.java.

Select an option: add
Teams:
1.) Team Stars with coach Dana
Please choose the team number: 1

List of players by height:
1.) Sammy Adams(45 inches - inexperienced)
2.) Chloe Alaska(47 inches - inexperienced)
... 32.) Johnny Thunder(47 inches - inexperienced)
33.) Arfalseld Willis(43 inches - inexperienced)
Choose player number for team Stars:1

Sammy Adams has been added to Stars

Players can be both added and removed from the team of your choice. The player chosen for a team will be removed from the list of players.

Choosing the option "report" will give you a list of players on the team grouped into 3 height categories. It will also give a count of the number of players in each category.

Select an option: report
Teams:
1.) Team Birds with coach Mike
2.) Team Cats with coach Nicky
3.) Team Dogs with coach Brian
4.) Team Stars with coach Dana
Please choose the team number: 1

35-40 inches:
Kenny Lovins

41-46 inches:
Gabe Listmaker
Sammy Adams
Sal Dali

47-50 inches:

1 are 35-40 inches
3 are 41-46 inches
0 are 47-50 inches

Choosing the option "balance" will list players on a team grouped by experienced and inexperienced players. It also calculates the percentage of experienced players.

Select an option: balance
Teams:
1.) Team Birds with coach Mike
2.) Team Cats with coach Nicky
3.) Team Dogs with coach Brian
4.) Team Stars with coach Dana
Please choose the team number: 2

Experienced:
Les Clay

1 players are experienced.

Eva Gordon
Ryan Creedson
Arfalseld Willis

3 players are inexperienced.

25% of the players are experienced.

Choosing the option "roster" will give you an alphabetized list of all the players grouped by team.

Select an option: roster Team Birds coached by Mike - [Sammy Adams(45 inches - inexperienced), Sal Dali(41 inches - inexperienced), Gabe Listmaker(45 inches - inexperienced), Kenny Lovins(35 inches - experienced)]
Team Cats coached by Nicky - [Les Clay(42 inches - experienced), Ryan Creedson(43 inches - inexperienced), Eva Gordon(45 inches - inexperienced), Arfalseld Willis(43 inches - inexperienced)]
Team Dogs coached by Brian - [Andrew Chalklerz(42 inches - experienced), Matt Gill(40 inches - inexperience d), Herschel Krustofski(45 inches - experienced), Johnny Thunder(47 inches - inexperienced)]
Team Stars coached by Dana - [Chloe Alaska(47 inches - inexperienced), Ben Finkelstein(44 inches - inexperi enced), Nick Grande(39 inches - inexperienced), Alena Sketchings(45 inches - inexperienced), Jill Tanner(36 inches - experienced)]

soccer-league-organizer's People

Contributors

tanyacouture avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.