📄 http:^^ai.eecs.umich.edu^classes^498-2^assign3.html
字号:
Date: Tue, 14 Jan 1997 22:39:17 GMT
Server: NCSA/1.5.1
Last-modified: Wed, 18 Sep 1996 17:50:45 GMT
Content-type: text/html
Content-length: 5011
<html><title>EECS 498-2 Assignment 3</title><body bgcolor=#FFFFFF text=#000000><center><h1>EECS 498-2: Assignment 3</h1><h1>Program an Arcade Game</h1><h2>Assigned: September 13, 1996</h2><h2>Due Date: October 4, 1996</h2></center><hr>For assignment 3 you get to take your first crack at actuallyprogramming a game. We will provide you with code (which we'll callthe Arcade Package) which handles most of the low level messy stuff(such as selecting the video mode, setting up a back buffer and pageflipping). You have to design a (fairly) simple arcade game, draw thegraphics and program the inner workings of your game. You have threeweeks to create a <b>working</b> arcade game, so design and softwareengineer carefully to make sure you are done. We expect a game on theorder of Centipede.<h3>Grading Criteria</h3>Your grade on assignment 3 will be based on 4 factors:<dl> <dt> Is the game fully fuctional? <dd> The most important thing that we're looking for is a workinggame. If the game is almost but not quite finished or still containsbugs your grade will suffer. When you design yourgame make sure you can finish the project within the three week timeframe. Create a schedule and stick to it.<dt> Is the game nontrivial?<dd> You won't get a good grade if your final game is just pong withdifferent colors and a bigger paddle. Your game doesn't have to beoriginal (i.e. a clone of a classic arcade game is fine) but it shouldbe something you are proud to hand in.<dt> Is the game well designed?<dd> We talked about designing a game and some of the design sins thatare commonly made. Make sure you show us that you were payingattention in class and learned something.<dt> Is your code well structured and commented?<dd> We will be looking at your code and the easier it is to read andfollow the better mood we will be in when it comes time to decide on agrade.</dl><h3>Tools</h3>To do this assignment you will need to use a C/C++ compiler (such asBorland C++ 4.2 which is available on CAEN machines), the <!WA0><ahref="http://ai.eecs.umich.edu/classes/498-2/AP/">Arcade Package</a> (which is available on the classwebpage), and a paint program (such as the Windows Paint program alsoavailable on CAEN machines).<dl><dt> C/C++ Compiler<dd> The Borland C/C++ compiler is available on CAEN machines andshould work well for this project. Make sure when you create aproject you set the Platform to DOS (Standard) and the Target Model toLarge. If necessary we may have an evening session to introduce peopleto the compiler and the Arcade Package.<dt> The <!WA1><a href="http://ai.eecs.umich.edu/classes/498-2/AP/">Arcade Package</a><dd> This code has been written specifically for this assignment. Ithandles all of the low level stuff that is such a pain in gameprogramming. On the class website you will find a simple Pong programwhich was written with the Arcade Package. All you have to do isreplace the pong code with your game.<p>Notes on the Arcade Package:<ul><li> The Arcade Package is written in C and C++.<li> On Wednesday half of the lecture will be an introduction to theArcade Package. Please try to look the code over (and perhaps compilethe Pong program) as this will be an excellent change to askquestions.<li> Your game will be limited to 320 by 200 pixels and 256 colors.<li> The arcade package is somewhat object oriented. You will becreating game objects (i.e. paddles and balls in Pong) and for eachobject writing a number of functions which update the position of theobject (Update), handle collisions with other objects (You_Hit), anddraw the object (Draw). In addition you will get input from the mouseor the keyboard.</ul><dt> Paint Program<dd> You will have to create graphics for each of your game objects.You can use any paint program which creates PCX files. The Paintprogram in windows is appropriate as is the shareware program PaintShop Pro.</dl><h3>What you hand in</h3>Three weeks from today (which is October 4th) you will hand in thefollowing items.<ol><li> A floppy disk with your game executable.<li> Printouts of all your code.<li> A manual for your game.<li> A write-up containing an explanation of your code (what the datastructures are and how the program is organized) and anything specialthat you would like to point out to the grader.</ol>We will then begin the grueling task of playing all your games.<h3>Additional Notes</h3><ul><li> If you have questions about the Arcade Package please bring themup in class or email them to both <tt>vanlent@umich.edu</tt> and<tt>mikeott@umich.edu</tt>.<li> If bugs are found in the Arcade Package we will announce them inclass and on the class webpage. If you are having a problem pleasecheck the webpage before emailing for help.<li> Half of class on Wednesday will be devoted to explaining theArcade Package. Please don't miss this class. If you are absolutelyunable to make it we might be able to set up an appointment to coverthe material.</ul></body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -