Computer Science 4: Java for Video GamesIntroductionAdministrative MaterialWhat you will learn in this courseWhat you won’t learn in this courseWho should take this course ?Who should not take this courseStructure of the CourseWeb Page DevelopmentWebpage PlacementCreating DirectoriesUsing NotepadNetscape/Mozilla ComposerFirst AssignmentToday’s In-Class ExerciseCompSci 44.1Computer Science 4:Java for Video GamesDietolf (Dee) RammD226 [email protected]/education/courses/spring06/cps004/Robert DuvallD228 [email protected] 44.2IntroductionAdministrative materialIntroduction thinking about gamesWebpage developmentFirst assignment (due Tuesday)CompSci 44.3Administrative MaterialCourse WebpageWhat you will learn?Is this course right for you?Structure of the courseCompSci 44.4What you will learn in this courseTwo primary goals are to teach1. Basic programming2. Basic computer science conceptsTo explore these topics we’ll studyVideo game designAlgorithms used in video gamesCompSci 44.5What you won’t learn in this courseThe same amount and type of programming as in CompSci 6 for majorsEnough about Java or video games to market your own gamesProgramming 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 programmingStudents who want to learn something about computer programming and might want to take additional coursesProspective majors who feel they are not ready for CompSci 6Students who want to learn something new, interesting, and fun, that might actually be usefulCompSci 44.7Who should no t take this courseComputer Science Majors who already know how to program (in any language)Computer ProgrammersStudents 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 CourseHomeworks 50%WeeklyTypically done in pairsBuild toward projectTests 30%2 Each 15% (no final: final period required for project presentations)Project 20%Presentation is your final examDone in teams of 2 or 3CompSci 44.9Web Page DevelopmentWhere files should be placedHow to create and use directories (folders)Using Windows NotepadCan use almost any editor Could use the one in EclipseCompSci 44.10Webpage PlacementYour webpage is located in P:\public_htmlYour individual course webpage will be located in P:\public_html\cps4Your personal webpage is viewable from http://www.duke.edu/~yourloginYour course webpage is viewable fromhttp://www.duke.edu/~yourlogin/cps4CompSci 44.11Creating DirectoriesDouble Click on My Computer (ICC229)Double Click on P drive (could also be indicated by your login)Double Click on public_htmlFile->New->FolderType in cps4 and EnterCompSci 44.12Using NotepadFind and open up NotepadType in<html><head> </head><body><h1> Hello! </h1></body></html>File->Save asSelect P:\public_htmlSelect cps4Save as Hello.htmlCompSci 44.13Netscape/Mozilla ComposerIn Netscape/IE/Firefox, go tohttp://www.duke.edu/~yourlogin/cps4/Hello.htmlRename Hello.html to index.html and go tohttp://www.duke.edu/~yourlogin/cps4/index.html is searched for automatically if no file name is givenExperiment 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 AssignmentVisit the course website and complete the first assignment due on TuesdayCompSci 44.15Today’s In-Class ExerciseUnderstanding and Mastering the game of NimSee handoutOne heap gameDevelop a strategyTwo heap gameExtend your ideasGeneralize to additional heapsExtend your
View Full Document