课件hit3243hit8243游戏编程gridworld spikes1.pdfVIP

  • 1
  • 0
  • 约1.28万字
  • 约 6页
  • 2025-06-17 发布于北京
  • 举报

课件hit3243hit8243游戏编程gridworld spikes1.pdf

HIT3243/HIT8243GamesProgrammingSpikePlans

Spike1:SimpleGameLoopforCommand-Line(CLI)TextGame

Context:Theconceptofagameloopisaconvenientandcommonideaingames.

Knowledge/SkillGap:Thedeveloperisnotfamiliarwithbasicgameloops.

Goals/Deliverables:[CODE]+[SPIKEREPORT]

Youneedtocreatethe“GridWorld”game,asdescribedinasimplespecificationdocument

availableonthesubjectwebsite.Thegamewilldemonstratetheuseofasimplegame

loop,separationofupdate/rendercode,andgamedata(bothfortheworldmapand

playerscurrentlocation).

Youwillneedtodeliverthefollowingitems:

1.Asimplepaper-basedplanforyourcodedesign.(Yes,asimplefunctionaldesignis

fine–justaslongasyoucandemonstratethatyouplannedfirstbeforecoding!)

2.Createasimpleconsoleprogramthatimplementsthe“GridWorld”gameusinga

simplegameloop.Thegamemustdemonstratetheseparationof:

a.processingofinput(textcommandsfromtheplayer),

b.updatingofagamemodel(wheretheplayerisandtheiroptions),

c.display(outputcurrentlocationandoptions)ofthegametotheuser.

3.SpikeOutcomeReport.

Note:TheSpikeOutcomeReportisalwaysarequired“deliverable”.Itwillnotberepeated

infuturespikerequirementsasitisassumed.

Start-EndPeriod:Week1-Week2

PlanningNotes:

•Readthe“GridWorld”gamedetailsandonpaper(asrequiredinthedeliverables)doa

quicksketch/designofhowyouwillorganiseyourcode.(Noformalstandard

specified…justusesomethingthatwouldworktohelpyouexplainyourdesignto

anotherprogrammerintheclass.)

•LookattheSpikeOutcomeReporttemplate–notewhatyouneedtorecordforlater.

•UseanIDEfor

文档评论(0)

1亿VIP精品文档

相关文档