head>
|
Computer Science Classes at Marshfield High School |
Introduction to Basic Assignments and Schedule
Link to Lesson Plans
Link to Power Point: Class Procedures, Schedules, and Assessments
demo all three tool - scratch, basic, game maker
For Students and Parents: Basic Programming Schedule and Assessments
Important Information:
Improper use of the Internet during class time will result in the loss of computer use. The student will make up the time after school. Improper use is defined as visiting an internet site that has not been sanctioned by the school or teacher. This includes all types of games that are not related to class work.In addition, adding unrelated files to the school's computer network will result in immediate loss of all internet privileges.
Lesson
- Lecture
- Create a Name Tag
- Sit alphabetically
- A little About me -
- Write a little about yourself and share it with someone you don't know well.
Lecture
A little about the class-
- notebook and pen or pencil on your desk open by the bell
- class overview - You will learn how to create basic programs using different tools. All these tools can be downloaded for free
- The first tool is Scratch from MIT
- smallbasic from Microsoft
- Game Maker lite( a drag and drop game making programming environment ),
- 3 minute paper - in your notebook-
- lecture - take notes
- work at the computer
- summation-review what we have learned
Class procedures on the Power Point - Link to Power Point: Class Procedures, Schedules, and Assessments and class outline Basic Programming Schedule and Assessments
***********************************************************************************
Oct 9 Go over Test
Test Study guide to do Oct 1
Basic Test on File Management
1) Draw our file hierarchy that we use in class starting with techpro and techproMO?
Hierarchy - Wikipedia, the free encyclopedia
en.wikipedia.org/wiki/HierarchyA hierarchy is an arrangement of items (objects, names, values, categories, etc.) in which the items are represented as being "above," "below," or "at the same ..on top is basic
next level small basic, python, gamemaker
2) What is the difference between the C and H drive at the high school?
The C drive is on the local machine you are working on. H is a server -Definition for network drive:
Web definitions:
In computing, a file server is a computer attached to a network that has the primary purpose of providing a location for shared disk...
en.wikipedia.org/wiki/Network_driveMapping a Network Drive
it-help.bathspa.ac.uk/fileman/file_mapdrive.htmlSep 21, 2012 – Your computer stores your work on its disk drive. A 'Network drive' is just another disk drive - but rather than being in the machine in front of you ...
Drive mapping - Wikipedia, the free encyclopedia
en.wikipedia.org/wiki/Drive_mappingDrive mapping is how Microsoft Windows and OS/2 associate a local drive letter (A through Z) with a shared storage area to another computer over a network.3) What is the pathname to your pong game?
look at hierarchy and pathname
A sequence of symbols and names that identifies a file. Every file has a name, called a filename, so the simplest type of pathname is just a filename. If you specify a filename as the pathname, the operating system looks for that file in your current working directory. However, if the file resides in a different directory, you must tell the operating system how to find that directory. You do this by specifying a path that the operating system must follow.
The pathname always starts from your working directory or from the root directory. Each operating system has its own rules for specifying paths. In DOS systems, for example, the root directory is named \, and each subdirectory is separated by an additional backslash. In UNIX, the root directory is named /, and each subdirectory is followed by a slash. In Macintosh environments, directories are separated by a colon.
4) What is the difference when I refer to a directory vs. a folder? none
5) What is the name of my Web site? goldclasses.com
6) What is your file backup system?
I want a page in your notebook on what is your backup system. I will check to see you are using it.Demo 2 ways.
7) What should the name of your pong game be? firstinitialLastNamePong.sb
8) What is a file Manager or file System, and why do we need them?
9) Where are file names stored in the computer?
10) Name 4 program extensions? For example .doc means it is a Word document.
11) Explain how to create a file folder?
12) How do you open a new file folder?
13) How can you move a file from one directory to another directory>
14) What operating system does my server run on? Windows 7 - (A file system is part of a operating system. It is not an OS.
15) What other computer language will you learn in this class?
16) What devices ie hard disk do file systems exist on?
17) Why are file systems different on different machines? For example the file system on a MAC is different than Windows.
Different Operating Systems - different code18) What operating system do we use for Scratch? Windows 7
19) What is the extension for a Scratch file? .sb
20) Explain how your work is mapped to the H drive, but mine is mapped to the z: drive?
Extra Credit - Answer number 20 you can use all resources to find out the answer.
examples of storyboards simpson storyboard
- An Essay (Long 3 minute paper) - What does Creative computing mean?
Creative computing is about computing. Many young people with access to computers
End of Week - Pong due and Project 1 Package (CEO letter, storyboard, prototype)
participate as consumers, rather than designers or creators. Creative computing emphasizes the
knowledge and practices that young people need to create the types of dynamic and interactive
computational media that they enjoy in their daily lives.
Engaging in the creation of computational artifacts prepares young people for more than careers
as computer scientists or as programmers. It supports young people’s development as
computational thinkers – individuals who can draw on computational concepts, practices, and
perspectives in all aspects of their lives, across disciplines and contexts.
- Pong named correctly - firstinitialLastNamePong - The computer will append a .sb to indicate it is a scratch file.
- Your Pong game is placed in the correct File Directory.
- comment code to explain the authors code and your code
- NO Spaces in file or sprite names.
- Change Sprite variable names to - for example Sprite1 to cat
Create two separate top level Folders
H:/Basic and H:/BasicMO
- To Do: November 19
- Set up File Structure on H Drive
- H:/Basic/SmallBasic and H:/Basic/SmallBasicMO
- H:/Basic/Scratch and H:/BasicScratchMO
- H:/Basic/FileManagement and H:/Basic/FileManagementMO
- H:/Basic/SmallBasic and H:/Basic/SmallBasicMO/
- H:/Basic/GameMaker, H:/Basic/GameMaker/MO
- H:Basic/Reflections and H: /ReflectionMO
Backups safely put copy on the C drive under c:/userName...
Writeup and hand in your Backup procedure
At the end of every class stop before the end and write a summation in your notebook.
The summation should include a
- 7 minute summation - write what did you do and learn in today's class - in your notebook
MHS File System - C and H drives The C drive is local to our machine. The H driver is where your data is stored
Absolute vs relative path names
for example is the following path absolute or relative
../../basic/smallbasic/yoyo.html (relative pathway).
Identify and describe file extensions - ,exe , doc. ppt, ....
- That the Scratch game is placed in the proper file folder
- Only meaningful Sprite names
- Comment your code
- creative and computational thinking
- file systems
- file extensions
Dec 3
Game Maker Studio 8.1 lite tutorial
http://sandbox.yoyogames.com/make/tutorials
more tutorialsGame Maker Central gm.htmDo the tutorials -My first game and then What makes a good game?
Dec 10
Lecture on how to make a platform game.Essay - What makes a good game. ( Minimum of 4 paragraphs)
December 30 First Game Maker gameAssessment
- Correct Filepath and Filename H:./Basic/GameMaker/firstInitial and last name
- meaningful sprite names
- meaningful Object names
- The game should adhere to your "What Makes a good Game" Essay.
- Backgrounds
- If it's a platform game at least three rooms
- One create event
- B and above.
- Time Line
- Scrolling game
- hand make animation through Game Maker
- Tiles
- If/then/else action statement
- Unique game
- Game gets harder as you progress
- Game Maker Language
- Score
- Draw Score (have score with sprites)
(Need ideas go through games on goldclasses. )
Game due 1/11/13
Technology Discussion on WikiLeaks
To Do:
1. Find and read articles on Wiki Leaks.
2 Read the statement below :Program or Be Programmed, Ten Commands for a Digital Age by Douglas Rushoff
"Digital networks were built for the purpose of sharing computing resources by people who were themselves sharing resources, technologies, and credit in order to create it. This is why digital technology is biased in favor of openness and sharing. Because we are not used to operating in a realm with these biases, however, we often exploit the openness of others or end up exploiting ourselves. By learning the difference between sharing and stealing, we can promote openness without succumbing to selfishness."
3. Think about the implications of the preceding quote and what is happening today with WikiLeaks and World Wide Web. Write in a word document on the H:/Basic/WikiLeaks/FirstInitialLastNamaeWikiLeaks.doc on your opinion of the large digital technology questions that WikiLeaks brings to the surface.
For example:
¦ The Implications of WikiLeaks :http://www.ajr.org/Article.asp?id=4999 - implications on journalism
¦ Why does Wikileaks impact your digital privacy?
4. The current WikiLeaks incident has brought to light the many unresolved issues and yet uncharted territory surrounding the big questions of digital media and digital life. Government, for-profit and non-profit organizations, and individuals have been storing, sharing, securing, and disseminating information on the internet without long-range plans for security, privacy, or even personal freedom. The process has been ad hoc leaving us with security leaks, a vibrant hacker community thriving on easy access, personal information is just a cookie away, even the stability of the internet has been questioned by recent hacker attacks.
While all of this is going on around us life continues, and we continue to play our games and buy our iPods and iPads. The digital revolution will continue to unfold with or without your participation. The challenge for students is yours for the taking. Are you ready for the challenge?
Please write to this challenge and include the types of information, knowledge, and background you think you need to be ready for the future.
*********************************************************************************January 29
Small basic tutorial smallBasic tutorials http://smallbasic.com/
******************************************************************************************
end of current web page
Second Scratch game
Start Learning programming by reading the following power point http://scratched.media.mit.edu/sites/default/files/Scratch2.swf
Go through the five tutorials :
WorkSpace Description
Creating a Sprite
Creating Customs
Creating Backgrounds
Adding Sound
Code Blocks
Stage dimensions
Construction Scripts
write a paragraph on what your first game will look like and operate from the browser (lab assignment(20%)
Finish up Scratch game1 at For Students and Parents: Basic Programming Schedule and Assessments
Finish up File Structure - (worth 20% of grade - lab assignment)
Start your first scratch Project (worth 30% of grade- project)
Create a new Folder in the Scratch Directory called Project1.
Scratch Game Due!Verify that your game is in the correct Folder at H:/Basic/Scratch/l/firstInitialLastNameSGame1.sb -Verify that all sprite and object names are meaningful. (delete extra sprite and objects) -Make sure that your tutorial works as defined by the directions. -Grading Assessment for Scratch game 1Your game contains SpritesYour game contains collision with colorUse mouse click -When Objects are clicked on they bounce to a random position -Background -Music -Opening pageHelp -End - Game ends or restarts gracefullybroadcast and receive (methods)The more commands you use the better the grade,Must use a statement from each of the 6 logical buttons.If you used sprites or pictures from the internet include their url'sIf you have something to tell me that is special about your game create a word document in your folder called MsGold.doc. This document should explain whatever you want to tell me.Game is Graded lab assignment 20%
start variables, statements, conditionals,loops Create a new Folder in the SmallBasic Directory called Project1 The Secret Life of Data http://csteachlearn.com/secret_life.ht
- All About Data Types and Variables
- Assignments Due
- These assignments will be checked for correctness
- calculator
- Compare Two Numbers and return the largest of the two numbers - Your program should handle the case where both numbers are equal
- Alphabetize two Strings. Your program should copy the strings and order them in correct alphabetical order. Again your program should handle identical strings
- Guess a Random Number from 1 to 100
- This assignment will be graded as a lab assignment (%15)
- You can use Guess a High Number Game as a sample - Don't forget the instructions
- Create a Math Game get ideas off of the Web hint -take your calculator and turn it into a Math game
- Next Assignment -Conditional Exercises
- paper.bmp
- rock.bmp
- scissors.bmp
- For Extra Credit -In Black Jack let the user pick the the high card. For example the user could pick 25 instead of 21 to compare his or her cards t
Drawing Exercises
- in Language Reference look up Graphics, for the following methods drawline, drawOval, drawRect, FillOval ..etc. In addition, look up Color to understand how to change color.
- Drag a Canvas onto the Window
- double click in the Canvas
- type your code in the Paint method of the Canvas
- g.drawline(x1,y1,x2,y2)
- x1and y1 = the starting point of the line you are about to draw on the canvas
- x2 and y2 = the end point of the line you are drawing on the canvas
- for example try the following code
g.drawline(100,100, 300,100)
g.foreColor=RGB(255,0,0) ' sets the color to red
g.drawRect( 50,50,20,20) ' draws a red rectangle at x=50, y=50, width = 20 and height= 20
g.FillRect( 50,50,20,20) ' fills the rectangle with all red
- Link to Simple Drawing Exercise to Draw a House
Write up Assignment Parse the Basic CodeSteps for Stickman
move the ball back and forth across the screen make the stick body move with the head - to calculate where the body will begin find the middle and the bottom point of the ball. The length of the body is your choice. Then decide where the arms and legs should go Remember you must increase the X coordinate to move your stickman horizontally across the screen and the Y coordinate can move the arms and legs up and down.Assessment of Stickman Program
Name the basic file YourfirstNameStick.rbp and firstNameStick.exe (REMEMBER NO SPACES) Create a New Folder on the H: Drive under your basic Folder called Graphics(Subject to Change) Out of 100 point Technical Accuracy - 50 points
the files is in basic/Graphics folder on the network (H) drive - 5 points the file names is as directed with no spaces - 5 points there are two files firstNameStick.rbp and firstNameStick.exe - 10 points at a minimum the parts of the body are clearly commented - 5 points Both your programs work - 10 points The legs, arms and legs are aligned properly -5 points Used a loop - 5 points Used a rnd - 5 pointsStick figure walks - 85 points
Stick figure walks across the room - 20 points Stick figures arms and or legs move -15 pointsStick figure Extras up to 15 points
Stick figure hits the wall and starts again or better yet turns around Good use of color Extra, Extra Points - If use sound code and the figure dances at least a little to the music Surprise me!If there is anything special you want to tell me about your Stickman leave me a note called MsGoldStickman.Completing Stickman - Program and Power Point
Program or Be Programmed, Ten Commands for a Digital Age by Douglas Rushoff"Digital networks were built for the purpose of sharing computing resources by people who were themselves sharing resources, technologies, and credit in order to create it. This is why digital technology is biased in favor of openness and sharing. Because we are not used to operating in a realm with these biases, however, we often exploit the openness of others or end up exploiting ourselves. By learning the difference between sharing and stealing, we can promote openness without succumbing to selfishness."
While all of this is going on around us life continues, and we continue to play our games and buy our iPods and iPads. The digital revolution will continue to unfold with or without your participation. The challenge for students is yours for the taking. Are you ready to educate yourself to become a knowledgable citizen of the internet?
Please write to this challenge and include the types of information, knowledge, and background you think you need to be ready for the future.Back to Game Maker - Link to Basic Programming's Game Maker Page
Document will contain
- Opening paragraph will describe your game storyline.
- Further descriptions need to include:
- What is the goal of the game for example how does your game end?
- Include a description of the characters. What are their roles in the game?
- A paragraph should include why people will enjoy playing your game. Take this part seriously. What are the challenges a player will face and think about why your game is compelling. For example does it lure the player in by starting off easy and slowly getting harder making it harder to stop.
- A paragraph on why this game is a thoughtful and a more complicated game than your first game. Compare and contrast your two games. Demonstrate to me how you have grown as a Game Maker programmer and game creator.
Other topics to include in your document:
- A description of the design of the game - How will your game be organized - is it a scrolling game or will it have rooms?
- If it is scrolling I want one screen mock-up. If it is room-based I want three room mock-ups.
- Pictures and descriptions of the sprites that you have used in the game.
- All Game Maker Project 1 Assessments still apply
- Additions to be considered for your Game Maker 2 Project. The more of the following you add the better the grade
- GML / Game Maker Language- (the amount of credit depends on the level of originality and complexity)
- Attention to detail - organization of sprites, objects, and rooms
- Complexity of Events
- Complexity of Sprite movements
- Score
- Health
- Lives
- Music
- Tiles
- Backgrounds
- Drawing on the Screen
- Scrolling
- Manipulating the x and y coordinates
- Utilize Step Events
Time to create your first game maker project.
- The Project will Include:
Write a document in Word using full sentences that describes your game. Give your game a name, and save it on H:/Basic/GameMaker/Project1/FirstInitialLastNameGameName.doc. The document will include the following:
- At least one paragraph that describes your game.-
- a description of how your game is played. For example if you use a mouse or key movements tell us what keys you use, and what they are used for.
- Describe your proposed Sprites/Objects, and explain their purpose in your game. For example, PacMan is to eat all the Dot Objects, and he losses lives when he hits a Green Monster. Pictures are always helpful here. Don't assume people know a game.
- Include any other material you think might be of interest to a fellow programmer reading your document.
- Save your document in H:/basic/GameMaker/Project1/YourDoc.doc
-
If you finish early produce a power point presentation on how you game works.
- The Game will include:
- Somewhat true to your document. If not include a letter to me called MsGold, and explain what the plot of your game is.
- Correct naming conventions (Sprites start with spr and Objects start with obj)
- sound
- background
- at least one create event
- at least 2 items from each tutorial
- game information (help) F1 Key
- Something Extra
- Ms Gold letter
- Folder and Filename Rules
All Files must be on the H: drive (the network drive.)Your DocumentSong Lyrics if appropriateBasic.*Basic.*
Your project needs to be in H:/Basic/SmallBasic/Project1/firstInitialLastSmallBasicName.sbNo Spaces in FilenamesMore Resources
- New How to Animate a Sprite - New
- The GameMaker Page gm.htm -
- Two Books (the books are on the big desk in the middle of the room)
- Getting Started with Game Maker by Jerry Lee Ford, Jr
- The Game Maker Apprentice, by Jacob Habgood and Mark Ovesrmars- (These are the guys who wrote Game Maker)
Folder and Filename Class Rules
All Files must be on the H: drive (the network drive.)
Your Document Song Lyrics if appropriate yourGame.gmk yourGame.exe Your project needs to be in H:/Basic/GameMaker/Project1/firstInitialLastNameGameName.gmk No Spaces in FilenamesWeek Starting 10/4- Progress Reports Monday and Tuesday
New How to Animate a Sprite - New
Meeting with CEO - Block E and F on Wednesday, and Block C on Thursday. Dress business casual.Complete your Project One Documents. (instructions are above)Complete your Project OneIf you are finished with your game start a new game called ExtraCredit1. ExtraCredit1 belongs in your project1 folder, and it should include:One walking (right, left, and jumping animated sprite). You must have created the animation as shown in class.You will receive extra credit for each new piece of functionality added to your ExtraCredit1 game.We will be beginning Lesson 6.Complete Game Maker Study Guide Lesson 6
- Steps of Making a Program:
1. Read the problem
2. Design
3. Code
4. Test and Debug- All Programs are made up of the following:
1. List of instructions
2. Conditionals /if
3. Repeating instructions /loops
4. Breaking things into smaller pieces - problem decompose - Methods- Link to Game Maker Project 1 Assessment
- If you are finished with your game start a new game called ExtraCredit1. ExtraCredit1 belongs in your project1 folder, and it should include:
- One walking (right, left, and jumping animated sprite). You must have created the animation as shown in class.
- You will receive extra credit for each new piece of functionality added to your ExtraCredit1 game.
- All About Data Types and Variables
- If you are finished with your game start a new game called ExtraCredit1. ExtraCredit1 belongs in your project1 folder, and it should include:
- One walking (right, left, and jumping animated sprite). You must have created the animation as shown in class.
- You will receive extra credit for each new piece of functionality added to your ExtraCredit1 game.
- The Definition of Syntax - the grammatical rules and structural patterns governing the ordered use of appropriate words and symbols for issuing commands, writing code, etc., in particular software application or programming language.
***************************************************************************************************************************************************
Technology Discussion
.
Raster and Vector Graphics from basic Cross-Platform Application Development By Mark Choate
(for educational purposes only) - Raster and vector graphics are two ways of representing an image of some sort using the native language of 1 s and 0s employed by computers. A raster image is simpler to understand, but takes up much more memory to work with. A raster image is a rectangular grid of pixels, and a specific color is encoded for each pixel (it gets a little more complicated than this when considering compressed images, but the basic facts are the same).
On the other hand, a vector image is composed of geometric primitives such as circles, lines, rectangles, and so on that can be described using mathematical formulas. Whereas a line represented in a raster image would have to identify individual pixels that make up the line, a vector
General Resources
Link to Lesson on How X and Y Coordinates Work
All About Data Types and Variables
Game MakerFirst Assignment Game Maker Assignment
Complete the tutorial exactly as described. When I say exactly I mean the sprites, the background, and the music should be the same as those used in the tutorial. If you want to change the tutorial first create a complete tutorial and save it. The name of the file should be your first initial- last name then tutorial - for example my valid filename would be vgoldTutorial.gmk
You can then create a new game and be as creative as you like.
All About Data Types and Variables
- If you are finished with your game start a new game called ExtraCredit1. ExtraCredit1 belongs in your project1 folder, and it should include:
- One walking (right, left, and jumping animated sprite). You must have created the animation as shown in class.
- You will receive extra credit for each new piece of functionality added to your ExtraCredit1 game.
- The Definition of Syntax - the grammatical rules and structural patterns governing the ordered use of appropriate words and symbols for issuing commands, writing code, etc., in particular software application or programming language.
- Complete Game Maker Study Guide for Test
links
links for small basic -
- [PDF]
Microsoft Small Basic - Download Center - Microsoft- Refrence Manual - [sm[PDF] Microsoft Small Basic - Download Center - Microsoftallbasic.com/doc.aspx