diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..39fb081 --- /dev/null +++ b/.gitignore @@ -0,0 +1,9 @@ +*.iml +.gradle +/local.properties +/.idea/workspace.xml +/.idea/libraries +.DS_Store +/build +/captures +.externalNativeBuild diff --git a/.idea/compiler.xml b/.idea/compiler.xml new file mode 100644 index 0000000..96cc43e --- /dev/null +++ b/.idea/compiler.xml @@ -0,0 +1,22 @@ + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/copyright/profiles_settings.xml b/.idea/copyright/profiles_settings.xml new file mode 100644 index 0000000..e7bedf3 --- /dev/null +++ b/.idea/copyright/profiles_settings.xml @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/.idea/gradle.xml b/.idea/gradle.xml new file mode 100644 index 0000000..7ac24c7 --- /dev/null +++ b/.idea/gradle.xml @@ -0,0 +1,18 @@ + + + + + + \ No newline at end of file diff --git a/.idea/misc.xml b/.idea/misc.xml new file mode 100644 index 0000000..5d19981 --- /dev/null +++ b/.idea/misc.xml @@ -0,0 +1,46 @@ + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/modules.xml b/.idea/modules.xml new file mode 100644 index 0000000..7763030 --- /dev/null +++ b/.idea/modules.xml @@ -0,0 +1,9 @@ + + + + + + + + + \ No newline at end of file diff --git a/.idea/runConfigurations.xml b/.idea/runConfigurations.xml new file mode 100644 index 0000000..7f68460 --- /dev/null +++ b/.idea/runConfigurations.xml @@ -0,0 +1,12 @@ + + + + + + \ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml new file mode 100644 index 0000000..94a25f7 --- /dev/null +++ b/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/app/.gitignore b/app/.gitignore new file mode 100644 index 0000000..796b96d --- /dev/null +++ b/app/.gitignore @@ -0,0 +1 @@ +/build diff --git a/app/build.gradle b/app/build.gradle new file mode 100644 index 0000000..3270f66 --- /dev/null +++ b/app/build.gradle @@ -0,0 +1,30 @@ +apply plugin: 'com.android.application' + +android { + compileSdkVersion 26 + buildToolsVersion "26.0.0" + defaultConfig { + applicationId "com.example.xinyichen.matchthemembers" + minSdkVersion 15 + targetSdkVersion 26 + versionCode 1 + versionName "1.0" + testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" + } + buildTypes { + release { + minifyEnabled false + proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' + } + } +} + +dependencies { + compile fileTree(dir: 'libs', include: ['*.jar']) + androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', { + exclude group: 'com.android.support', module: 'support-annotations' + }) + compile 'com.android.support:appcompat-v7:26.+' + compile 'com.android.support.constraint:constraint-layout:1.0.2' + testCompile 'junit:junit:4.12' +} diff --git a/app/proguard-rules.pro b/app/proguard-rules.pro new file mode 100644 index 0000000..431960b --- /dev/null +++ b/app/proguard-rules.pro @@ -0,0 +1,25 @@ +# Add project specific ProGuard rules here. +# By default, the flags in this file are appended to flags specified +# in /Users/xinyichen/Library/Android/sdk/tools/proguard/proguard-android.txt +# You can edit the include path and order by changing the proguardFiles +# directive in build.gradle. +# +# For more details, see +# http://developer.android.com/guide/developing/tools/proguard.html + +# Add any project specific keep options here: + +# If your project uses WebView with JS, uncomment the following +# and specify the fully qualified class name to the JavaScript interface +# class: +#-keepclassmembers class fqcn.of.javascript.interface.for.webview { +# public *; +#} + +# Uncomment this to preserve the line number information for +# debugging stack traces. +#-keepattributes SourceFile,LineNumberTable + +# If you keep the line number information, uncomment this to +# hide the original source file name. +#-renamesourcefileattribute SourceFile diff --git a/app/src/androidTest/java/com/example/xinyichen/matchthemembers/ExampleInstrumentedTest.java b/app/src/androidTest/java/com/example/xinyichen/matchthemembers/ExampleInstrumentedTest.java new file mode 100644 index 0000000..80d0e2a --- /dev/null +++ b/app/src/androidTest/java/com/example/xinyichen/matchthemembers/ExampleInstrumentedTest.java @@ -0,0 +1,26 @@ +package com.example.xinyichen.matchthemembers; + +import android.content.Context; +import android.support.test.InstrumentationRegistry; +import android.support.test.runner.AndroidJUnit4; + +import org.junit.Test; +import org.junit.runner.RunWith; + +import static org.junit.Assert.*; + +/** + * Instrumentation test, which will execute on an Android device. + * + * @see Testing documentation + */ +@RunWith(AndroidJUnit4.class) +public class ExampleInstrumentedTest { + @Test + public void useAppContext() throws Exception { + // Context of the app under test. + Context appContext = InstrumentationRegistry.getTargetContext(); + + assertEquals("com.example.xinyichen.matchthemembers", appContext.getPackageName()); + } +} diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml new file mode 100644 index 0000000..d90fb3d --- /dev/null +++ b/app/src/main/AndroidManifest.xml @@ -0,0 +1,24 @@ + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/app/src/main/java/com/example/xinyichen/matchthemembers/GameScreen.java b/app/src/main/java/com/example/xinyichen/matchthemembers/GameScreen.java new file mode 100644 index 0000000..d2b14b0 --- /dev/null +++ b/app/src/main/java/com/example/xinyichen/matchthemembers/GameScreen.java @@ -0,0 +1,423 @@ +package com.example.xinyichen.matchthemembers; + +import android.app.ActionBar; +import android.content.DialogInterface; +import android.content.Intent; +import android.os.CountDownTimer; +import android.provider.ContactsContract; +import android.support.v7.app.AlertDialog; +import android.support.v7.app.AppCompatActivity; +import android.os.Bundle; +import android.support.v7.view.CollapsibleActionView; +import android.view.View; +import android.widget.Button; +import android.widget.EditText; +import android.widget.ImageView; +import android.widget.TextView; +import android.widget.Toast; + +import org.w3c.dom.Text; + +import java.util.ArrayList; +import java.util.Collections; +import java.util.List; +import java.util.Random; + +import static java.security.AccessController.getContext; + +public class GameScreen extends AppCompatActivity { + TextView timeText; + CountDownTimer timer = new CountDownTimer(5100, 1000){ + public void onTick(long millisUntilFinished) { + timeText.setText("00 : 0" + millisUntilFinished / 1000); + } + public void onFinish() { + turn++; + createQuestion(turn); + timer.start(); + } + }; + Button exitButton; + + Button buttonAnswer1, buttonAnswer2, buttonAnswer3, buttonAnswer4; + ImageView memberPic; + + List pairs; + + Random random; + + private int score = 0; + private TextView scoreChanger; + + int turn = 1; + + @Override + protected void onCreate(Bundle savedInstanceState) { + super.onCreate(savedInstanceState); + setContentView(R.layout.activity_game_screen); + timeText = (TextView)findViewById(R.id.timerTime); + exitButton = (Button) findViewById(R.id.exitButton); + + random = new Random(); + + memberPic = (ImageView) findViewById(R.id.memberPic); + + buttonAnswer1 = (Button) findViewById(R.id.choice1); + buttonAnswer2 = (Button) findViewById(R.id.choice2); + buttonAnswer3 = (Button) findViewById(R.id.choice3); + buttonAnswer4 = (Button) findViewById(R.id.choice4); + + scoreChanger = (TextView) findViewById(R.id.scoreNum); + updateScore(score); + + pairs = new ArrayList<>(); + ImgNameDatabase imgNameDatabase = new ImgNameDatabase(); + + //adding image and name pairs to list + for (int i = 0; i < imgNameDatabase.cNames.length; i++) { + pairs.add(new ImgNamePairs(imgNameDatabase.cNames[i], imgNameDatabase.memberImages[i])); + } + + //randomize the pairing order + + Collections.shuffle(pairs); + + createQuestion(turn); + timer.start(); //THIS IS THE LINE WHERE EVERYTHING BREAKS FOR SOME REASON + + + + exitButton.setOnClickListener(new View.OnClickListener(){ + @Override + public void onClick(View view) { + + AlertDialog.Builder builder2=new AlertDialog.Builder(GameScreen.this); + builder2.setMessage("Are you sure you want to quit?"); + builder2.setPositiveButton("Yes",new DialogInterface.OnClickListener() { + + @Override + public void onClick(DialogInterface dialog, int which) { + Toast.makeText(getApplicationContext(), "Thanks for Playing!", Toast.LENGTH_LONG).show(); + Intent intentReturn = new Intent(getApplicationContext(), StartScreen.class); + startActivity(intentReturn); //returns to the start screen + } + + }); + + builder2.setNegativeButton("Nope", new DialogInterface.OnClickListener() { + + @Override + + public void onClick(DialogInterface dialog, int which) { + dialog.dismiss(); + + } + + }); + + builder2.show(); + + /*AlertDialog alertDialog = new AlertDialog.Builder(GameScreen.this).create(); + alertDialog.setTitle("Are you sure you want to quit?"); + alertDialog.setMessage("All progress will be lost."); + alertDialog.setButton(1, "Yes!", new DialogInterface.OnClickListener() + { + @Override + public void onClick(DialogInterface dialog, int id) + { + Toast.makeText(GameScreen.this, "Thank You!", Toast.LENGTH_SHORT).show(); + Intent intentReturn = new Intent(getApplicationContext(), StartScreen.class); + startActivity(intentReturn); //returns to the start screen + } + }); + alertDialog.setButton(0, "Cancel", new DialogInterface.OnClickListener() + { + @Override + public void onClick(DialogInterface dialog, int id) + { + dialog.dismiss(); + finish();//close the dialog window without doing anything + } + } + ); + alertDialog.show();*/ + } + }); + + + memberPic.setOnClickListener(new View.OnClickListener() { + @Override + public void onClick(View view) { + timer.cancel(); //don't penalize the player for creating a contact + //Creates a new Intent to insert a new contact + Intent contactIntent = new Intent(ContactsContract.Intents.Insert.ACTION); + contactIntent.setType(ContactsContract.RawContacts.CONTENT_TYPE); + // Gets the name of the currently displayed member + String memName = pairs.get(turn - 1).getMemberName(); + // Executes the new contact creation + contactIntent.putExtra(ContactsContract.Intents.Insert.NAME, memName); + startActivityForResult(contactIntent, 1); + } + }); + + buttonAnswer1.setOnClickListener(new View.OnClickListener() { + @Override + public void onClick(View view) { + //check correctness of answer, first check wrong then right + timer.cancel(); + if (!(buttonAnswer1.getText().toString().equalsIgnoreCase(pairs.get(turn - 1).getMemberName()))) { + Toast.makeText(GameScreen.this, "Wrong Answer :(", Toast.LENGTH_SHORT).show(); + if (turn < pairs.size()) { + turn ++; + createQuestion(turn); + timer.start(); + } else { + Toast.makeText(GameScreen.this, "Congrats! You've Finished!", Toast.LENGTH_SHORT).show(); + } + + } else { + + score ++; + updateScore(score); + + if (turn < pairs.size()) { + turn ++; + createQuestion(turn); + timer.start(); + } else { + Toast.makeText(GameScreen.this, "Congrats! You've Finished!", Toast.LENGTH_SHORT).show(); + + } + + } + } + }); + + buttonAnswer2.setOnClickListener(new View.OnClickListener() { + @Override + public void onClick(View view) { + timer.cancel(); + //check correctness of answer, first check wrong then right + if (!(buttonAnswer2.getText().toString().equalsIgnoreCase(pairs.get(turn - 1).getMemberName()))) { + Toast.makeText(GameScreen.this, "Wrong Answer :(", Toast.LENGTH_SHORT).show(); + + if (turn < pairs.size()) { + turn ++; + createQuestion(turn); + timer.start(); + } else { + Toast.makeText(GameScreen.this, "Congrats! You've Finished!", Toast.LENGTH_SHORT).show(); + } + + } else { + + score ++; + updateScore(score); + + if (turn < pairs.size()) { + turn ++; + createQuestion(turn); + timer.start(); + } else { + Toast.makeText(GameScreen.this, "Congrats! You've Finished!", Toast.LENGTH_SHORT).show(); + } + + } + } + }); + + buttonAnswer3.setOnClickListener(new View.OnClickListener() { + @Override + public void onClick(View view) { + timer.cancel(); + //check correctness of answer, first check wrong then right + if (!(buttonAnswer3.getText().toString().equalsIgnoreCase(pairs.get(turn - 1).getMemberName()))) { + Toast.makeText(GameScreen.this, "Wrong Answer :(", Toast.LENGTH_SHORT).show(); + + if (turn < pairs.size()) { + turn ++; + createQuestion(turn); + timer.start(); + } else { + Collections.shuffle(pairs); + turn = 1; + } + + } else { + + score ++; + updateScore(score); + + if (turn < pairs.size()) { + turn ++; + createQuestion(turn); + timer.start(); + } else { + Collections.shuffle(pairs); + turn = 1; + } + + } + } + }); + + buttonAnswer4.setOnClickListener(new View.OnClickListener() { + @Override + public void onClick(View view) { + //check correctness of answer, first check wrong then right + if (!(buttonAnswer4.getText().toString().equalsIgnoreCase(pairs.get(turn - 1).getMemberName()))) { + Toast.makeText(GameScreen.this, "Wrong Answer :(", Toast.LENGTH_SHORT).show(); + + if (turn < pairs.size()) { + turn ++; + createQuestion(turn); + timer.start(); + } else { + Collections.shuffle(pairs); + turn = 1; + } + + } else { + + score ++; + updateScore(score); + + if (turn < pairs.size()) { + turn ++; + createQuestion(turn); + timer.start(); + } else { + Collections.shuffle(pairs); + turn = 1; + } + + } + } + }); + + } + + private void createQuestion(int qNum) { + // chooses pic for the question + memberPic.setImageResource(pairs.get(qNum - 1).getImg()); + + //decides which button contains the correct answer + int correctAnswer = random.nextInt(4) + 1; + + int firstButton = qNum - 1; + int secondButton; + int thirdButton; + int fourthButton; + + // the variable names may be confusing as the logic is C&Ped. + + switch (correctAnswer) { + case 1: + buttonAnswer1.setText(pairs.get(firstButton).getMemberName()); + + do { + secondButton = random.nextInt(pairs.size()); + } while (secondButton == firstButton); + + do { + thirdButton = random.nextInt(pairs.size()); + } while (thirdButton == firstButton || thirdButton == secondButton); + + do { + fourthButton = random.nextInt(pairs.size()); + } while (fourthButton == firstButton || fourthButton == secondButton || fourthButton == thirdButton); + + buttonAnswer2.setText(pairs.get(secondButton).getMemberName()); + buttonAnswer3.setText(pairs.get(thirdButton).getMemberName()); + buttonAnswer4.setText(pairs.get(fourthButton).getMemberName()); + + break; + + case 2: + buttonAnswer2.setText(pairs.get(firstButton).getMemberName()); + + do { + secondButton = random.nextInt(pairs.size()); + } while (secondButton == firstButton); + + do { + thirdButton = random.nextInt(pairs.size()); + } while (thirdButton == firstButton || thirdButton == secondButton); + + do { + fourthButton = random.nextInt(pairs.size()); + } while (fourthButton == firstButton || fourthButton == secondButton || fourthButton == thirdButton); + + buttonAnswer1.setText(pairs.get(secondButton).getMemberName()); + buttonAnswer3.setText(pairs.get(thirdButton).getMemberName()); + buttonAnswer4.setText(pairs.get(fourthButton).getMemberName()); + break; + + case 3: + buttonAnswer3.setText(pairs.get(firstButton).getMemberName()); + + do { + secondButton = random.nextInt(pairs.size()); + } while (secondButton == firstButton); + + do { + thirdButton = random.nextInt(pairs.size()); + } while (thirdButton == firstButton || thirdButton == secondButton); + + do { + fourthButton = random.nextInt(pairs.size()); + } while (fourthButton == firstButton || fourthButton == secondButton || fourthButton == thirdButton); + + buttonAnswer2.setText(pairs.get(secondButton).getMemberName()); + buttonAnswer1.setText(pairs.get(thirdButton).getMemberName()); + buttonAnswer4.setText(pairs.get(fourthButton).getMemberName()); + + break; + + case 4: + buttonAnswer4.setText(pairs.get(firstButton).getMemberName()); + + do { + secondButton = random.nextInt(pairs.size()); + } while (secondButton == firstButton); + + do { + thirdButton = random.nextInt(pairs.size()); + } while (thirdButton == firstButton || thirdButton == secondButton); + + do { + fourthButton = random.nextInt(pairs.size()); + } while (fourthButton == firstButton || fourthButton == secondButton || fourthButton == thirdButton); + + buttonAnswer2.setText(pairs.get(secondButton).getMemberName()); + buttonAnswer3.setText(pairs.get(thirdButton).getMemberName()); + buttonAnswer1.setText(pairs.get(fourthButton).getMemberName()); + + break; + } + + } + + private void updateScore(int newScore) { + scoreChanger.setText("Score: " + score); + } + + public class MyCountDownTimer extends CountDownTimer { + + public MyCountDownTimer(long millisInFuture, long countDownInterval) { + super(millisInFuture, countDownInterval); + } + + @Override + public void onTick(long millisUntilFinished) { + int progress = (int) (millisUntilFinished / 1000); + timeText.setText(progress); + } + + @Override + public void onFinish() { + Toast.makeText(GameScreen.this, "Time's Up! :(", Toast.LENGTH_SHORT).show(); + } + } +} + diff --git a/app/src/main/java/com/example/xinyichen/matchthemembers/ImgNameDatabase.java b/app/src/main/java/com/example/xinyichen/matchthemembers/ImgNameDatabase.java new file mode 100644 index 0000000..388b6b7 --- /dev/null +++ b/app/src/main/java/com/example/xinyichen/matchthemembers/ImgNameDatabase.java @@ -0,0 +1,70 @@ +package com.example.xinyichen.matchthemembers; + +/** + * Created by xinyichen on 9/14/17. + */ + +public class ImgNameDatabase { + + Integer[] memberImages = { + R.drawable.aayushtyagi, + R.drawable.abhinavkoppu, + R.drawable.adhirajdatar, + R.drawable.akkshaykhoslaa, + R.drawable.amyshen, + R.drawable.aneeshjindal, + R.drawable.ashwinvaidyanathan, + R.drawable.bengoldberg, + R.drawable.billylu, + R.drawable.borisyue, + R.drawable.candiceye, + R.drawable.codyhsieh, + R.drawable.danielandrews, + R.drawable.edwardliu, + R.drawable.eliothan, + R.drawable.emaanhariri, + R.drawable.erickong, + R.drawable.jaredgutierrez, + R.drawable.jeffreyzhang, + R.drawable.jessicachen, + R.drawable.julialuo, + R.drawable.justinkim, + R.drawable.kevinjiang, + R.drawable.krishnanrajiyah, + R.drawable.kristinho, + R.drawable.leonkwak, + R.drawable.leviwalsh, + R.drawable.mohitkatyal, + R.drawable.muditmittal, + R.drawable.peterschafhalter, + R.drawable.radhikadhomse, + R.drawable.rochelleshen, + R.drawable.sahillamba, + R.drawable.sarahtang, + R.drawable.sayanpaul, + R.drawable.shariewang, + R.drawable.shivkushwah, + R.drawable.shreyareddy, + R.drawable.shubhamgoenka, + R.drawable.sumukhshivakumar, + R.drawable.tarunkhasnavis, + R.drawable.victorsun, + R.drawable.vidyaravikumar, + R.drawable.wilburshi, + R.drawable.younglin, + R.drawable.zachgovani, + }; + + String[] cNames = {"Aayush Tyagi", "Abhinav Koppu", "Adhiraj Datar", + "Akkshay Khoslaa", "Amy Shen", "Aneesh Jindal", "Ashwin Vaidyanathan", + "Ben Goldberg", "Billy Lu", "Boris Yue", "Candice Ye", "Cody Hsieh", + "Daniel Andrews", "Edward Liu", "Eliot Han", "Emaan Hariri", "Eric Kong", + "Jared Gutierrez", "Jeffrey Zhang", "Jessica Chen", "Julia Luo", "Justin Kim", + "Kevin Jiang", "Krishnan Rajiyah", "Kristin Ho", "Leon Kwak", "Levi Walsh", + "Mohit Katyal", "Mudit Mittal", "Peter Schafhalter", "Radhika Dhomse", + "Rochelle Shen", "Sahil Lamba", "Sarah Tang", "Sayan Paul", "Sharie Wang", + "Shiv Kushwah", "Shreya Reddy", "Shubham Goenka", "Sumukh Shivakumar", + "Tarun Khasnavis", "Victor Sun", "Vidya Ravikumar", "Wilbur Shi", "Young Lin", + "Zach Govani" + }; +} diff --git a/app/src/main/java/com/example/xinyichen/matchthemembers/ImgNamePairs.java b/app/src/main/java/com/example/xinyichen/matchthemembers/ImgNamePairs.java new file mode 100644 index 0000000..cf38ede --- /dev/null +++ b/app/src/main/java/com/example/xinyichen/matchthemembers/ImgNamePairs.java @@ -0,0 +1,23 @@ +package com.example.xinyichen.matchthemembers; + +/** + * Created by xinyichen on 9/14/17. + */ + +public class ImgNamePairs { + String memberName; + int img; + + public ImgNamePairs(String name, int img){ + this.memberName = name; + this.img = img; + } + + public String getMemberName() { + return memberName; + } + + public int getImg() { + return img; + } +} diff --git a/app/src/main/java/com/example/xinyichen/matchthemembers/StartScreen.java b/app/src/main/java/com/example/xinyichen/matchthemembers/StartScreen.java new file mode 100644 index 0000000..d8f0e84 --- /dev/null +++ b/app/src/main/java/com/example/xinyichen/matchthemembers/StartScreen.java @@ -0,0 +1,40 @@ +package com.example.xinyichen.matchthemembers; + +import android.content.Intent; +import android.net.Uri; +import android.support.v7.app.AppCompatActivity; +import android.os.Bundle; +import android.view.View; +import android.widget.Button; +import android.widget.ImageView; + +public class StartScreen extends AppCompatActivity { + + @Override + protected void onCreate(Bundle savedInstanceState) { + super.onCreate(savedInstanceState); + setContentView(R.layout.activity_start_screen); + + Button button = (Button)findViewById(R.id.startButton); + + button.setOnClickListener(new View.OnClickListener() { + @Override + public void onClick(View v) { + Intent intent = new Intent(getApplicationContext(), GameScreen.class); + startActivity(intent); + } + }); + + ImageView logo = (ImageView)findViewById(R.id.logo); + logo.setOnClickListener(new View.OnClickListener() { + @Override + public void onClick(View v) { + Uri uri = Uri.parse("http://www.mobiledevsberkeley.org/"); + Intent intent = new Intent(Intent.ACTION_VIEW, uri); + startActivity(intent); + } + }); + + } + +} diff --git a/app/src/main/res/drawable/aayushtyagi.jpg b/app/src/main/res/drawable/aayushtyagi.jpg new file mode 100755 index 0000000..20c626a Binary files /dev/null and b/app/src/main/res/drawable/aayushtyagi.jpg differ diff --git a/app/src/main/res/drawable/abhinavkoppu.jpg b/app/src/main/res/drawable/abhinavkoppu.jpg new file mode 100755 index 0000000..6bb665c Binary files /dev/null and b/app/src/main/res/drawable/abhinavkoppu.jpg differ diff --git a/app/src/main/res/drawable/adhirajdatar.png b/app/src/main/res/drawable/adhirajdatar.png new file mode 100755 index 0000000..6056a8f Binary files /dev/null and b/app/src/main/res/drawable/adhirajdatar.png differ diff --git a/app/src/main/res/drawable/akkshaykhoslaa.png b/app/src/main/res/drawable/akkshaykhoslaa.png new file mode 100755 index 0000000..a14cc33 Binary files /dev/null and b/app/src/main/res/drawable/akkshaykhoslaa.png differ diff --git a/app/src/main/res/drawable/amyshen.png b/app/src/main/res/drawable/amyshen.png new file mode 100755 index 0000000..56bafce Binary files /dev/null and b/app/src/main/res/drawable/amyshen.png differ diff --git a/app/src/main/res/drawable/aneeshjindal.jpg b/app/src/main/res/drawable/aneeshjindal.jpg new file mode 100755 index 0000000..345e24d Binary files /dev/null and b/app/src/main/res/drawable/aneeshjindal.jpg differ diff --git a/app/src/main/res/drawable/ashwinvaidyanathan.jpg b/app/src/main/res/drawable/ashwinvaidyanathan.jpg new file mode 100755 index 0000000..c27f61c Binary files /dev/null and b/app/src/main/res/drawable/ashwinvaidyanathan.jpg differ diff --git a/app/src/main/res/drawable/bengoldberg.jpg b/app/src/main/res/drawable/bengoldberg.jpg new file mode 100755 index 0000000..c87647f Binary files /dev/null and b/app/src/main/res/drawable/bengoldberg.jpg differ diff --git a/app/src/main/res/drawable/billylu.jpg b/app/src/main/res/drawable/billylu.jpg new file mode 100755 index 0000000..a03fe37 Binary files /dev/null and b/app/src/main/res/drawable/billylu.jpg differ diff --git a/app/src/main/res/drawable/borisyue.png b/app/src/main/res/drawable/borisyue.png new file mode 100755 index 0000000..b039809 Binary files /dev/null and b/app/src/main/res/drawable/borisyue.png differ diff --git a/app/src/main/res/drawable/candiceye.jpg b/app/src/main/res/drawable/candiceye.jpg new file mode 100755 index 0000000..ac1677a Binary files /dev/null and b/app/src/main/res/drawable/candiceye.jpg differ diff --git a/app/src/main/res/drawable/codyhsieh.png b/app/src/main/res/drawable/codyhsieh.png new file mode 100755 index 0000000..c380790 Binary files /dev/null and b/app/src/main/res/drawable/codyhsieh.png differ diff --git a/app/src/main/res/drawable/danielandrews.png b/app/src/main/res/drawable/danielandrews.png new file mode 100755 index 0000000..4aa149f Binary files /dev/null and b/app/src/main/res/drawable/danielandrews.png differ diff --git a/app/src/main/res/drawable/edwardliu.jpg b/app/src/main/res/drawable/edwardliu.jpg new file mode 100755 index 0000000..83de0b5 Binary files /dev/null and b/app/src/main/res/drawable/edwardliu.jpg differ diff --git a/app/src/main/res/drawable/eliothan.jpg b/app/src/main/res/drawable/eliothan.jpg new file mode 100755 index 0000000..8ec8398 Binary files /dev/null and b/app/src/main/res/drawable/eliothan.jpg differ diff --git a/app/src/main/res/drawable/emaanhariri.jpg b/app/src/main/res/drawable/emaanhariri.jpg new file mode 100755 index 0000000..d311b90 Binary files /dev/null and b/app/src/main/res/drawable/emaanhariri.jpg differ diff --git a/app/src/main/res/drawable/erickong.png b/app/src/main/res/drawable/erickong.png new file mode 100755 index 0000000..ed131ab Binary files /dev/null and b/app/src/main/res/drawable/erickong.png differ diff --git a/app/src/main/res/drawable/ic_exit_to_app_white_48dp.png b/app/src/main/res/drawable/ic_exit_to_app_white_48dp.png new file mode 100644 index 0000000..e4cd8cf Binary files /dev/null and b/app/src/main/res/drawable/ic_exit_to_app_white_48dp.png differ diff --git a/app/src/main/res/drawable/jaredgutierrez.jpg b/app/src/main/res/drawable/jaredgutierrez.jpg new file mode 100755 index 0000000..fc94eeb Binary files /dev/null and b/app/src/main/res/drawable/jaredgutierrez.jpg differ diff --git a/app/src/main/res/drawable/jeffreyzhang.png b/app/src/main/res/drawable/jeffreyzhang.png new file mode 100755 index 0000000..5f223ae Binary files /dev/null and b/app/src/main/res/drawable/jeffreyzhang.png differ diff --git a/app/src/main/res/drawable/jessicachen.jpg b/app/src/main/res/drawable/jessicachen.jpg new file mode 100755 index 0000000..6423e5a Binary files /dev/null and b/app/src/main/res/drawable/jessicachen.jpg differ diff --git a/app/src/main/res/drawable/julialuo.png b/app/src/main/res/drawable/julialuo.png new file mode 100755 index 0000000..6337ef0 Binary files /dev/null and b/app/src/main/res/drawable/julialuo.png differ diff --git a/app/src/main/res/drawable/justinkim.jpg b/app/src/main/res/drawable/justinkim.jpg new file mode 100755 index 0000000..23ebd77 Binary files /dev/null and b/app/src/main/res/drawable/justinkim.jpg differ diff --git a/app/src/main/res/drawable/kevinjiang.jpg b/app/src/main/res/drawable/kevinjiang.jpg new file mode 100755 index 0000000..a225fb2 Binary files /dev/null and b/app/src/main/res/drawable/kevinjiang.jpg differ diff --git a/app/src/main/res/drawable/krishnanrajiyah.jpg b/app/src/main/res/drawable/krishnanrajiyah.jpg new file mode 100755 index 0000000..85d43c4 Binary files /dev/null and b/app/src/main/res/drawable/krishnanrajiyah.jpg differ diff --git a/app/src/main/res/drawable/kristinho.jpg b/app/src/main/res/drawable/kristinho.jpg new file mode 100755 index 0000000..0427487 Binary files /dev/null and b/app/src/main/res/drawable/kristinho.jpg differ diff --git a/app/src/main/res/drawable/leonkwak.png b/app/src/main/res/drawable/leonkwak.png new file mode 100755 index 0000000..786c8b6 Binary files /dev/null and b/app/src/main/res/drawable/leonkwak.png differ diff --git a/app/src/main/res/drawable/leviwalsh.png b/app/src/main/res/drawable/leviwalsh.png new file mode 100755 index 0000000..10adff4 Binary files /dev/null and b/app/src/main/res/drawable/leviwalsh.png differ diff --git a/app/src/main/res/drawable/mdblogo.png b/app/src/main/res/drawable/mdblogo.png new file mode 100644 index 0000000..721bf19 Binary files /dev/null and b/app/src/main/res/drawable/mdblogo.png differ diff --git a/app/src/main/res/drawable/mohitkatyal.png b/app/src/main/res/drawable/mohitkatyal.png new file mode 100755 index 0000000..327a27d Binary files /dev/null and b/app/src/main/res/drawable/mohitkatyal.png differ diff --git a/app/src/main/res/drawable/muditmittal.jpg b/app/src/main/res/drawable/muditmittal.jpg new file mode 100755 index 0000000..c583e0b Binary files /dev/null and b/app/src/main/res/drawable/muditmittal.jpg differ diff --git a/app/src/main/res/drawable/peterschafhalter.jpg b/app/src/main/res/drawable/peterschafhalter.jpg new file mode 100755 index 0000000..0e41b58 Binary files /dev/null and b/app/src/main/res/drawable/peterschafhalter.jpg differ diff --git a/app/src/main/res/drawable/radhikadhomse.png b/app/src/main/res/drawable/radhikadhomse.png new file mode 100755 index 0000000..efaa17a Binary files /dev/null and b/app/src/main/res/drawable/radhikadhomse.png differ diff --git a/app/src/main/res/drawable/rochelleshen.png b/app/src/main/res/drawable/rochelleshen.png new file mode 100755 index 0000000..dbeb439 Binary files /dev/null and b/app/src/main/res/drawable/rochelleshen.png differ diff --git a/app/src/main/res/drawable/sahillamba.png b/app/src/main/res/drawable/sahillamba.png new file mode 100755 index 0000000..6a76b82 Binary files /dev/null and b/app/src/main/res/drawable/sahillamba.png differ diff --git a/app/src/main/res/drawable/sarahtang.png b/app/src/main/res/drawable/sarahtang.png new file mode 100755 index 0000000..0a15218 Binary files /dev/null and b/app/src/main/res/drawable/sarahtang.png differ diff --git a/app/src/main/res/drawable/sayanpaul.jpg b/app/src/main/res/drawable/sayanpaul.jpg new file mode 100755 index 0000000..32def54 Binary files /dev/null and b/app/src/main/res/drawable/sayanpaul.jpg differ diff --git a/app/src/main/res/drawable/shariewang.jpg b/app/src/main/res/drawable/shariewang.jpg new file mode 100755 index 0000000..3b0327c Binary files /dev/null and b/app/src/main/res/drawable/shariewang.jpg differ diff --git a/app/src/main/res/drawable/shivkushwah.png b/app/src/main/res/drawable/shivkushwah.png new file mode 100755 index 0000000..1716d69 Binary files /dev/null and b/app/src/main/res/drawable/shivkushwah.png differ diff --git a/app/src/main/res/drawable/shreyareddy.jpg b/app/src/main/res/drawable/shreyareddy.jpg new file mode 100755 index 0000000..2c78bb6 Binary files /dev/null and b/app/src/main/res/drawable/shreyareddy.jpg differ diff --git a/app/src/main/res/drawable/shubhamgoenka.jpg b/app/src/main/res/drawable/shubhamgoenka.jpg new file mode 100755 index 0000000..6374bef Binary files /dev/null and b/app/src/main/res/drawable/shubhamgoenka.jpg differ diff --git a/app/src/main/res/drawable/sumukhshivakumar.png b/app/src/main/res/drawable/sumukhshivakumar.png new file mode 100755 index 0000000..6a3fd32 Binary files /dev/null and b/app/src/main/res/drawable/sumukhshivakumar.png differ diff --git a/app/src/main/res/drawable/tarunkhasnavis.png b/app/src/main/res/drawable/tarunkhasnavis.png new file mode 100755 index 0000000..a822f05 Binary files /dev/null and b/app/src/main/res/drawable/tarunkhasnavis.png differ diff --git a/app/src/main/res/drawable/victorsun.jpg b/app/src/main/res/drawable/victorsun.jpg new file mode 100755 index 0000000..f1c77b8 Binary files /dev/null and b/app/src/main/res/drawable/victorsun.jpg differ diff --git a/app/src/main/res/drawable/vidyaravikumar.jpg b/app/src/main/res/drawable/vidyaravikumar.jpg new file mode 100755 index 0000000..5f07d30 Binary files /dev/null and b/app/src/main/res/drawable/vidyaravikumar.jpg differ diff --git a/app/src/main/res/drawable/wilburshi.jpg b/app/src/main/res/drawable/wilburshi.jpg new file mode 100755 index 0000000..ea96cc0 Binary files /dev/null and b/app/src/main/res/drawable/wilburshi.jpg differ diff --git a/app/src/main/res/drawable/younglin.jpg b/app/src/main/res/drawable/younglin.jpg new file mode 100755 index 0000000..828dcbd Binary files /dev/null and b/app/src/main/res/drawable/younglin.jpg differ diff --git a/app/src/main/res/drawable/zachgovani.png b/app/src/main/res/drawable/zachgovani.png new file mode 100755 index 0000000..a90a699 Binary files /dev/null and b/app/src/main/res/drawable/zachgovani.png differ diff --git a/app/src/main/res/layout/activity_game_screen.xml b/app/src/main/res/layout/activity_game_screen.xml new file mode 100644 index 0000000..a7023a6 --- /dev/null +++ b/app/src/main/res/layout/activity_game_screen.xml @@ -0,0 +1,141 @@ + + + +