Pro Yearly is on sale from $80 to $50! »

Avoider Android Game

Avoider Android Game

An Android Accelerometer game created for CS 329E - Elements of Mobile Computing at The University of Texas at Austin

App Designed & Developer by Kyrsten Kelly & Taylor McCaslin

This project is open source and can be viewed on Github:
https://github.com/Taylor4484/Avoider-Android-Project

4299b54240ccf89f74b2e74b05002c91?s=128

Taylor McCaslin

May 13, 2013
Tweet

Transcript

  1. Avoider By Kyrsten Kelly & Taylor McCaslin

  2. You are a penguin…

  3. Lost in the ice!

  4. Tilt the phone to move

  5. Get suns to gain lives! Avoid rain clouds!

  6. 2 = 1 =

  7. Lose your lives and you lose the game.

  8. Get 10 lives and you win!

  9. Exit using the menu button.

  10. Things we learned: •  Pair programming is the best! • 

    Catch each other’s mistakes •  Write better code •  Decide better data structures and code format
  11. •  To change a collection while iterating over it, you

    must use an iterator.
  12. Iterator<Integer> iter = collection.iterator(); while(iter.hasNext()) { int i = iter.next();

    ... iter.remove(); }
  13. •  Use handler, not timer! - Timer tasks cannot be

    rescheduled
  14. private static Handler handler = new Handler(); run = new

    Runnable() { @Override public void run() { // Task to run handler.postDelayed(runA, 10000); } }; handler.postDelayed(run, 10000);
  15. The End