Women in Game Programming

Slides:



Advertisements
Similar presentations
AP Computer Science Anthony Keen. Computer 101 What happens when you turn a computer on? –BIOS tries to start a system loader –A system loader tries to.
Advertisements

GAME:IT Junior Learning Game Maker: The Control Tab.
Summer Computing Workshop. Introduction to Variables Variables are used in every aspect of programming. They are used to store data the programmer needs.
Algorithms Series of mathematical or variable manipulations Integer a,b,c a = 12 b = 22 c = a * b (what is c?) 12 * 22 = 264.
Introduction to Computing Science and Programming I
CS150 Introduction to Computer Science 1
What is RobotC?!?! Team 2425 Hydra. Overview What is RobotC What is RobotC used for What you need to program a robot How a robot program works Framework.
Hello AP Computer Science!. What are some of the things that you have used computers for?
Advanced Web 2012 Lecture 4 Sean Costain PHP Sean Costain 2012 What is PHP? PHP is a widely-used general-purpose scripting language that is especially.
An Introduction to Textual Programming
Introduction to Python
Lecture 4 MATLAB Windows Arithmetic Operators Maintenance Functions
Professor Ira Fay Class 9. Game Guru Programming for Game Designers.
1 CSC 221: Introduction to Programming Fall 2012 Functions & Modules  standard modules: math, random  Python documentation, help  user-defined functions,
CSC Intro. to Computing Lecture 13: PALGO. Announcements Midterm is in one week  Time to start reviewing  We will do more review in class Tuesday.
By the end of this session you should be able to...
Module 3 Fraser High School. Module 3 – Loops and Booleans import statements - random use the random.randint() function use while loop write conditional.
Agenda Review C++ Library Functions Review User Input Making your own functions Exam #1 Next Week Reading: Chapter 3.
Coding Design Tools Rachel Gauci. What are Coding Design Tools? IPO charts (Input Process Output) Input- Make a list of what data is required (this generally.
USING UNITY JAVASCRIPT. CONVENTIONS AND SYNTAX IN JAVASCRIPT Case Sensitivity All keywords like var or function must be in lowercase. All variable names,
By Chad Blankenbeker.  The for-loop is best used when you know how many times it is going to be looped  So if you know you want it to only loop 10 times,
Professor Ira Fay Class 10. Game Guru Programming for Game Designers.
Visual Basic Games: Week 4 Recap Parallel structures Initialization Prepare for Memory Scoring Shuffling Homework: when ready, move on to next game/chapter.
1. Understand the application of Pseudo Code for programming purposes 2. Be able to write algorithms in Pseudo Code.
Professor Ira Fay Class 8. Game Guru Programming for Game Designers.
Professor Ira Fay Class 4. Mining Part 3 Programming Concepts Josie Nutter Unity Demo.
Classes. Student class We are tasked with creating a class for objects that store data about students. We first want to consider what is needed for the.
Professor Ira Fay Class 2. Survey feedback Mining Part 1 Meta-Discussion Programming vs. Math Mining Part 2.
Hello Computer Science!. Below is an example of a Hello World program in JAVA. While it is only three lines of code, there are many things that are happening.
Problem Solving Methodology Rachel Gauci. Problem Solving Methodology Development Design Analysis Evaluation Solution requirements and constraints. Scope.
Introduction to Python Dr. José M. Reyes Álamo. 2 Three Rules of Programming Rule 1: Think before you program Rule 2: A program is a human-readable set.
PROGRAMMING IN PYTHON LETS LEARN SOME CODE TOGETHER!
Professor Ira Fay Class 11. Game Guru Programming for Game Designers.
GameDevClub CODE CHEAT SHEET NOTE: ALL OF THE CODE IS CASE-SENSITIVE AND THE SYNTAX IS STRICT SO A LOT OF YOUR ERRORS WILL PROBABLY COME FROM TYPOS If.
BIT 115: Introduction To Programming Professor: Dr. Baba Kofi Weusijana (say Doc-tor Way-oo-see-jah-nah, Doc-tor, or Bah-bah)
Professor Ira Fay Class 5. Mining survey for() loops arrays cupcake lab.
Introduction to Programming the Arduino Dr Gaw 3/21/14.
Professor Ira Fay Class 6. Mining survey feedback 2D arrays Objects Part 1 walkthrough.
2.1 First C Program. First Program Open visual studio, click new file Save as “programName.c” – Program must start with letter and have no spaces – Must.
Professor Ira Fay Class 1. Course Intro Syllabus Project 1.
CMSC201 Computer Science I for Majors Lecture 05 – Comparison Operators and Boolean (Logical) Operators Prof. Katherine Gibson Prof. Jeremy.
BIT116: Scripting Lecture 05
Whatcha doin'? Aims: To start using Python. To understand loops.
The George Washington University Department of ECE ECE Intro: Electrical & Computer Engineering Intro to the Robotics Introducing the IC Discuss.
EECS 183 Discussion #9: It’s time to “Git” Python! November 22nd, 2016
JavaScript Functions.
CS 240 – Lecture 11 Pseudocode.
CS Programming I Jim Williams, PhD.
Cookies BIS1523 – Lecture 23.
Cracking the Coding Interview
Introduction to Object-Oriented Programming
Introduction to TouchDevelop
Language Basics.
Functions In Matlab.
Remembering lists of values lists
Python programming exercise
Variables and Inheritance Part 1
Python 19 Mr. Husch.
ECS15 while.
To understand what arrays are and how to use them
Just Basic Lessons 9 Mr. Kalmes.
Python 19 Mr. Husch.
Creating Maintainable code
Basic 9 Mr. Husch.
Python Simple file reading
Problem to solve Given four numbers, days, hours, minutes, and seconds, compute the total number of seconds that is equivalent to them. For example, 0.
under the direction of Professor Susan Rodger
Creating readable code
Matlab tutorial course
Presentation transcript:

Women in Game Programming Professor Ira Fay Class 3

Overview Mining Part 2 Programming Concepts Rachelle Davis Unity Demo

Learn a Name Stand up Learn the name of someone you don’t know Sit down

Mining – Part 2 How did it go? Walkthroughs? GitHub?

Mining – Part 2 Creating a GameObject and attaching a script Time.time Update() loop

Growth Mindset Reminder With a growth mindset, we can improve our skills through practicing. Learning happens over time, not instantly. The process of learning is uncomfortable when we’re not competent yet.

Math vs. Programming Math and programming look similar, but aren’t the same

Programming Lines of code are executed in order = is an assignment operator Programming is typo-intolerant You have to say the magic words exactly right for the spell to work!

Variables Variables hold information Variables can change value while the program is executing Example int myRoll;

Methods Methods are like a factory: Example They take input, and spit out results Example Random.Range(1,7);

Three Useful commands += // if ()

Useful commands: += totalScore = 0; myRoll = Random.Range(1, 7); totalScore = totalScore + myRoll;

Useful commands: += totalScore = 0; myRoll = Random.Range(1, 7); totalScore += myRoll;

Useful commands: // // Player starts with a score of 0 totalScore = 0; // Roll 1d6 myRoll = Random.Range(1, 7); // Add the roll to the score totalScore += myRoll; That’s what comments look like. Not executed by the computer. Mostly a note to your future self, and other programmers.

Useful commands: // totalScore = 0; // Random.Range excludes the max number when // given ints, so this returns a number 1-6 myRoll = Random.Range(1, 7); totalScore += myRoll; Ideally, your code should be self-documenting. Pick variable names and method names that are clear, so you don’t need comments. totalScore = 0 is obvious. Add comments where there’s a tricky bit of code that’s not as obvious.

Useful commands: if() totalScore = 0; // Random.Range excludes the max # for ints myRoll = Random.Range(1, 7); if (myRoll > 4) { totalScore += myRoll; } Indent anything within the if() statement. Don’t forget the starting and ending {}. When typing it, put the { } in the code, then fill in the middle.

Useful commands: if() > means greater than < means less than >= means greater than or equal to <= means less than or equal to == means equal != means not equal && means AND || means OR Remember that = is an assignment operator!

Variables Variables hold information Variables can change value while the program is executing

Unity Demo Create an empty game object, rename it Add a script to it Print Time.time Do something at 3 seconds. Change 3 seconds to a variable name. ActionTimer Do something every 3 seconds. How? Create a second variable. TimeToAct Create a BronzeCube prefab. Organize my files.

Rachelle Davis 1:45pm Now! Come prepared with 1 question Skype rachelle.m.davis

Josie Nutter Wednesday! Come prepared with 1 question Google Hangout: josienutter@gmail.com

Game Jam! Who went? How was it?

Useful commands: for() How could I display the numbers 1 to 9?

Useful commands: for() How could I display the numbers 1 to 9? print (“1”); print (“2”); print (“3”); print (“4”); print (“5”); print (“6”); print (“7”); print (“8”); print (“9”);

Useful commands: for() How could I display the numbers 1 to 99? 1 to 999?

Useful commands: for() // Count from 1 to 9 for (int i = 1; i < 10; i += 1) { print (i); } // We could also use a while() loop int i = 1; while (i < 10) { i += 1;

Useful commands: for() // Count from 1 to 99 for (int i = 1; i < 100; i += 1) { print (i); } // We could also use a while() loop int i = 1; while (i < 100) { i += 1;

Useful commands: for() // Count from 1 to 999 for (int i = 1; i < 1000; i += 1) { print (i); } // We could also use a while() loop int i = 1; while (i < 1000) { i += 1;

Crafting Life Isaiah + team made a game over the summer! http://stout.hampshire.edu/~ibm13/CraftingLife