DOC PREVIEW
Duke CPS 004 - Java for Video Games

This preview shows page 1-2-3-4-5 out of 15 pages.

Save
View full document
View full document
Premium Document
Do you want full access? Go Premium and unlock all 15 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 15 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 15 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 15 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 15 pages.
Access to all documents
Download any document
Ad free experience
Premium Document
Do you want full access? Go Premium and unlock all 15 pages.
Access to all documents
Download any document
Ad free experience

Unformatted text preview:

CompSci 44.1Computer Science 4:Java for Video GamesDietolf (Dee) RammD226 [email protected]/education/courses/spring06/cps004/Robert DuvallD228 [email protected] 44.2Introductionÿ Administrative materialÿ Introduction thinking about gamesÿ Webpage developmentÿ First assignment (due Tuesday)CompSci 44.3Administrative Materialÿ Course Webpageÿ What you will learn?ÿ Is this course right for you?ÿ Structure of the courseCompSci 44.4What you will learn in this courseÿ Two primary goals are to teach1. Basic programming2. Basic computer science conceptsÿ To explore these topics we’ll study Video game design Algorithms used in video gamesCompSci 44.5Whatyouwon’tlearninthiscourseÿ The same amount and type of programming as in CompSci 6 for majorsÿ Enough about Java or video games to market your own gamesÿ Programming concepts that will only be useful using our video games packageCompSci 44.6Who should take this course ?ÿ Students with very little or no background in computer programmingÿ Students who want to learn something about computer programming and might want to take additional coursesÿ Prospective majors who feel they are not ready for CompSci 6ÿ Students who want to learn something new, interesting, and fun, that might actually be usefulCompSci 44.7Who shouldnottake this courseÿ Computer Science Majors who already know how to program (in any language)ÿ Computer Programmersÿ Students afraid of technology who want to get QS credit with as little pain a possible and who could never imagine taking another computer course (take CompSci 1 instead: it’s a survey course with more general knowledge)CompSci 44.8Structure of the Courseÿ Homeworks 50% Weekly Typically done in pairs Build toward projectÿ Tests 30% 2 Each 15% (no final: final period required for project presentations)ÿ Project 20% Presentation is your final exam Done in teams of 2 or 3CompSci 44.9Web Page Developmentÿ Where files should be placedÿ How to create and use directories (folders)ÿ Using Windows Notepad Can use almost any editor  Could use the one in EclipseCompSci 44.10Webpage Placementÿ Your webpage is located in P:\public_htmlÿ Your individual course webpage will be located in P:\public_html\cps4ÿ Your personal webpage is viewable fromhttp://www.duke.edu/~yourloginÿ Your course webpage is viewable fromhttp://www.duke.edu/~yourlogin/cps4CompSci 44.11Creating Directoriesÿ Double Click on My Computer (ICC229)ÿ Double Click on P drive (could also be indicated by your login)ÿ Double Click on public_htmlÿ File->New->Folderÿ Type in cps4 and EnterCompSci 44.12Using Notepadÿ Find and open up Notepadÿ Type in<html><head> </head><body><h1> Hello! </h1></body></html>ÿ File->Save asÿ Select P:\public_htmlÿ Select cps4ÿ Save as Hello.htmlCompSci 44.13Netscape/Mozilla Composerÿ In Netscape/IE/Firefox, go tohttp://www.duke.edu/~yourlogin/cps4/Hello.htmlÿ Rename Hello.html to index.html and go tohttp://www.duke.edu/~yourlogin/cps4/ÿ index.html is searched for automatically if no file name is givenÿ Experiment on your own time with this web page to make more webpages and add linksÿ (Refer to resources on class web page for help with html)CompSci 44.14First Assignmentÿ Visit the course website and complete the first assignment due on TuesdayCompSci 44.15Today’s In-Class Exerciseÿ Understanding and Mastering the game of Nim See handoutÿ One heap game Develop a strategyÿ Two heap game Extend your ideasÿ Generalize to additional heaps Extend your


View Full Document

Duke CPS 004 - Java for Video Games

Documents in this Course
Lecture

Lecture

18 pages

Chapter 7

Chapter 7

18 pages

Chapter 9

Chapter 9

15 pages

Java 1

Java 1

24 pages

Java 3

Java 3

11 pages

Lecture

Lecture

10 pages

Chapter 4

Chapter 4

28 pages

Chap 2

Chap 2

16 pages

Graphics

Graphics

20 pages

Lecture

Lecture

12 pages

HTML

HTML

16 pages

Java 1

Java 1

6 pages

Chapter 4

Chapter 4

16 pages

The Plan

The Plan

25 pages

Lecture

Lecture

16 pages

Chapter 6

Chapter 6

21 pages

Lecture

Lecture

18 pages

Lecture

Lecture

23 pages

Lecture

Lecture

16 pages

Lecture

Lecture

19 pages

Lecture

Lecture

12 pages

Lecture

Lecture

5 pages

Lecture

Lecture

26 pages

Lecture

Lecture

16 pages

Chapter 7

Chapter 7

23 pages

Lecture

Lecture

21 pages

Lecture

Lecture

4 pages

Lecture

Lecture

4 pages

Lecture

Lecture

8 pages

Lecture

Lecture

4 pages

Lecture

Lecture

10 pages

Chapter 4

Chapter 4

32 pages

Java

Java

4 pages

CompSci 4

CompSci 4

18 pages

Lecture

Lecture

26 pages

CompSci 4

CompSci 4

12 pages

HTML

HTML

17 pages

Lecture

Lecture

16 pages

Chapter 5

Chapter 5

22 pages

Lecture

Lecture

4 pages

Chapter 4

Chapter 4

10 pages

Chapter 2

Chapter 2

15 pages

Chapter 8

Chapter 8

14 pages

Lecture

Lecture

15 pages

Load more
Download Java for Video Games
Our administrator received your request to download this document. We will send you the file to your email shortly.
Loading Unlocking...
Login

Join to view Java for Video Games and access 3M+ class-specific study document.

or
We will never post anything without your permission.
Don't have an account?
Sign Up

Join to view Java for Video Games 2 2 and access 3M+ class-specific study document.

or

By creating an account you agree to our Privacy Policy and Terms Of Use

Already a member?