dec 10 2013

NBA Players Reverse Engineered – Steve Novak

#include "marquette"
#include "nba"

class steveNovak{
   private: 
      float 3pprocent;
      float mpg;
      bool willhitnext;
   public:
      int main(){
         3pprocent = 442;
         mpg = 13.5;
         bench = true;
         willhitnext = false;
      }
      
      bool shoot2pt(){
         return false;
      }

      bool shoot3pt(){
         shot = rand() % 1001;
         if (shot < 3pprocent){
            return true;
            willhitnext = false;
         }else{
            if (willhitnext){
               return true
            }else{
               return false;
               willhitnext = true
            }
         }
      }

      void playDefence(){
         sleep(2);
         echo "HELP!!!!";
      }  
}