Meet Matt

He's a hacker

//Bacon
    
    private var baconOwned: Int
    private var baconMultiplier: Int
    private var baconMultiplierPrice: Double
    
    func buybacon() {
        if (muffinsOwned >= 10){
            baconOwned += 1*getbaconMultiplier()
            muffinsOwned -= 10
        }
    }
    
    func getbaconOwned() -> Int {
        return baconOwned
    }
    
    func getbaconMultiplier() -> Int {
        return baconMultiplier
    }
    
    func addTobaconMultiplier() {
        baconMultiplier += 1
    }
    
    /// Adds one to the bacon multiplier, and raises the price of later multipliers.
    func purchasebaconMultiplier() {
        addTobaconMultiplier()
        baconOwned -= Int(baconMultiplierPrice)
        baconMultiplierPrice *= 1.2
    }
    

    
   

What is Matt's job?

5th Grade
History

Teacher

Teaching Kids Programming

From
There to
Here

Now Matt's also a Java teacher

for 5th - 8th graders...

Matt: "How can I contribute?"

  • What is GitHub?
  • How does it work?
  • Can I use it?

Leveling GitHub

Social Coding

Matt's First Recipe

Find
A
Matt

#FindAMatt

Meet Matt

By Lynn Langit

Meet Matt

Teaching Teachers to Commit on GitHub

  • 508
Loading comments...

More from Lynn Langit