Professional Documents
Culture Documents
Developer Induction Test Problem
Developer Induction Test Problem
Task1:ASimpleThirdPersonGame
A3rdpersoncamerashouldfollowacharacter(asimplecubescaledtomatchthehumanproportionsis
enough).Thecubeshouldmoveonasurface/planeusingarrowkeys.Leftandrightarrowkeysrotatethe
cubeandforwardandbackwardarrowkeysshouldmovethecubeinitscurrentrotateddirection.Spacebar
shouldmakethecubejumpduringwhichthedirectionalkeysshouldalsowork.
Bonus1(Easy):Adda`cubewall`ontheplanethroughwhichthe`charactercube`shouldn'tpassthrough.
Bonus2(Moderate):Addsomesmallcubestosimulatecardboardboxeswhichshouldfallandreact
naturallywhenthe`charactercube`collideswiththem.
Important:Don'tuseanybuiltinpackagese.g.charactercontrolleretc.Justcreateanewprojectwithno
packagesinitandwriteyourownscriptsfromscratch.
Task2:ASimpleFirstPersonGame
Imagineabigemptyareainwhichyou(thefirstpersoncamera)isinthecenter.Nowinthestart,randomly
generateanumberofrelativelysmallcubesinthisareawhichareadequatelyspacedapart(notpenetrating
witheachother).Thereisnogravityintheenvironmentsotheywillbejuststationarywherevertheyare
created.Thefirstpersoncamerashouldbeabletorotatewithmouseandshouldalsomove
forward/backwardwithup/downarrowkeysinthecurrentforwarddirection(Thereisnogravitysoplayercan
goup/down/left/right,anywhereitwantswhereverthecameraislookingat).
Also,makeasmallcrosshairinthecenterofthescreen.Andclickingmousebutton(fire)should
remove/hidethecubewhichisinfrontofthecrosshair.
Bonus1(Hard):
Forclickingofcubes,don'tuseanylibraryfunctionsofUnityexceptofcoursetheMathflibrary.
Important:Don'tuseanypackagese.g.charactercontrolleretc.Justcreateanewprojectwithno
packagesinitandstartmakingyourownscriptsfromscratch.
EndofTaskDescriptions
ToolstoUse:UnityGameEngine
FilestoSubmit:ThecompleteUnityProject
Submission:Putfilesforeachquestioninafolderlabeledbythequestionnumber(e.g.
Task_1).CreateaReadmefileaswellforanyadditionalinformationfortheevaluators.Zipall
thesefolderstogether.Submitthezipfiletoyourinductioncoordinatorviaemail.
GradingCriteria:
1.Numberoftaskscompleted.
2.Approachtosolvingthegivenproblem.
3.Efficiencyoftheapproachandthecode/scriptused.
Note:
1.Assumptionscanbemadeaboutanythingthatisnotlistedinthetaskdescription.
2.Donthesitatetoaskaquestionifsomethingintheproblemstatementsisambiguous.
3.Pleaserefrainfromaskingquestionsrelatedtoyourownprogressorsolutions.