Skip to content

Instantly share code, notes, and snippets.

View mm-uddin's full-sized avatar

Mohammad Moslem Uddin mm-uddin

View GitHub Profile
//This is run whenever the phone is touched by the user
@Override
protected void actionOnTouch(float x, float y) {
//Increase/decrease the speed of the ball making the ball move towards the touch
mBallSpeedX = 2*(x - mBallX);
mBallSpeedY = 2*(y - mBallY);
}
@mm-uddin
mm-uddin / PyramidSolution
Created December 22, 2015 08:04 — forked from NatashaTheRobot/PyramidSolution
This is the solution to the Pyramid problem from Assignment 2 of the Stanford CS106A Introduction to Programming Methodology Class
/*
* File: Pyramid.java
* Name:
* Section Leader:
* ------------------
* This file is the starter file for the Pyramid problem.
* It includes definitions of the constants that match the
* sample run in the assignment, but you should make sure
* that changing these values causes the generated display
* to change accordingly.
using UnityEngine;
using System.Collections;
public class Score : MonoBehaviour {
public TextMesh currentScore;
public GameObject ballPref;
public Transform paddleObj;
GameObject ball;
int score;
@mm-uddin
mm-uddin / PY0101EN-1-2-Strings.ipynb
Created October 5, 2020 10:36
Created on Skills Network Labs
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@mm-uddin
mm-uddin / PY0101EN-2-1-Tuples.ipynb
Created October 5, 2020 11:32
Created on Skills Network Labs
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@mm-uddin
mm-uddin / PY0101EN-2-2-Lists.ipynb
Created October 5, 2020 11:44
Created on Skills Network Labs
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@mm-uddin
mm-uddin / PY0101EN-2-3-Dictionaries.ipynb
Created October 5, 2020 14:16
Created on Skills Network Labs
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@mm-uddin
mm-uddin / PY0101EN-2-4-Sets.ipynb
Created October 5, 2020 14:51
Created on Skills Network Labs
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@mm-uddin
mm-uddin / PY0101EN-3-1-Conditions.ipynb
Created October 5, 2020 15:55
Created on Skills Network Labs
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@mm-uddin
mm-uddin / PY0101EN-3-2-Loops.ipynb
Created October 5, 2020 22:41
Created on Skills Network Labs
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.