Project Summary: For my project, I created a NBA fantasy draft simulator. The user selects a team, that team is then randomly assigned a pick in the draft. Then, the program will loop through every team, and draft players to that team (including the user team) for five rounds. The program decides which player to draft by assigning each position a number, randomly generating a number between 1 and 5 (the number of positions), and then having the team select the highest ranked available player from that position. However, since there are only five rounds, and five positions to be filled, the program checks to make sure that each time, the team is drafting a player from position that they have not drafted yet. I have included the top 50 players from each position. After the draft occurs, the user can check the results by viewing their own team or they can choose another team they would like to see.
How to Run: To run the program, I recommend opening code blocks in the VM, downloading all the files into the same project within Code Blocks. After doing this, all you have to do is click the build and run button, and the program will start. This program is very simple to run, as the computer does most of the work. The only crucial user input is the team selection. It expects the user to spell the team name correctly (a list of the team names is printed before asking for the team selection). Other than this, the only other user inputs are just selecting what the user would like to do with the program.
Dependencies: All libraries used are standard in Code Blocks, and included in the code.
System Requirements: There are no system requirements for this program.
Group Members: Sam Busser
Contributors: Jonah Jacobsen
Open Issues/bugs: None known to me at the time.