Inspiration
My inspiration for the app, "NBA Selection" was that I liked to play basketball and watch NBA games from a young age, and decided to make a fun app based on the NBA teams.
What it does
Basically, my app chooses two randomly selected NBA teams from the 30 teams there are and randomly generates a score for each of the teams. From there, it choses which team won and projects the winner.
How we built it
I built this app using Swift, using the Xcode software. First, I put the 30 teams in two arrays, and for each array, I put a random generator from 1 to 150 to determine each of the teams' score, and lastly, made a function showing which team won.
Challenges we ran into
A few challenges I ran into were some technical problems with the code not working because I wasn't paying enough close attention to the small mistakes I made in the code.
Accomplishments that we're proud of
I am proud of making such a simple app that is very fun to use, and hope that you guys can use my code for this app to play it too!
What we learned
I learned more about the components of Swift UI, and learned to learn how to pay attention for minor details better.
What's next for NBA Selection
I will probably include all 30 teams in the app, and make them play off in a tournament, where there is one team which will crowned champion.
Log in or sign up for Devpost to join the conversation.