ITV0140:Kodutöö 3 - Hangman

Allikas: Kursused
Redaktsioon seisuga 30. aprill 2015, kell 06:07 kasutajalt Roger (arutelu | kaastöö)
Mine navigeerimisribale Mine otsikasti

Idee on teha hangmani mäng, mis teeb sohki. Hangman näeb välja umbes selline.

==Nõuded

  • Vähemalt 3 vaadet
    • Kõik sõnad "plist" failist
    • Seaded, kust saab mingit gameplay elementi muuta (näiteks maksimaalset sõnapikkust)
    • Mäng ise
  • Mäng valib algul välja mingisuguse sõna randomiga, peale mida saab tähti arvama hakata. (Näiteks kui listis on 3 sõna, mis kõik on 4 tähe pikkused, siis pakkudes tähe õigesti ära, vahetab ta sõna võimaliku alternatiivi välja vastu ja ütleb, et sellist tähte ei ole)
  • Pildid vahetuvad, kui valesti täht panna
  • Oma valik kuidas seda kõike teha


   <?xml version="1.0" encoding="UTF-8"?>
   <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
   <plist version="1.0">
   <array>
       <string>year</string>
       <string>time</string>
       <string>people</string>
       <string>way</string>
       <string>day</string>
       <string>man</string>
       <string>thing</string>
       <string>woman</string>
       <string>life</string>
       <string>child</string>
       <string>world</string>
       <string>school</string>
       <string>state</string>
       <string>family</string>
       <string>student</string>
       <string>group</string>
       <string>country</string>
       <string>problem</string>
       <string>hand</string>
       <string>part</string>
       <string>place</string>
       <string>case</string>
       <string>week</string>
       <string>company</string>
       <string>system</string>
       <string>program</string>
       <string>question</string>
       <string>work</string>
       <string>government</string>
       <string>number</string>
       <string>night</string>
       <string>point</string>
       <string>home</string>
       <string>water</string>
       <string>room</string>
       <string>mother</string>
       <string>area</string>
       <string>money</string>
       <string>story</string>
       <string>fact</string>
       <string>month</string>
       <string>lot</string>
       <string>right</string>
       <string>study</string>
       <string>book</string>
       <string>eye</string>
       <string>job</string>
       <string>word</string>
       <string>business</string>
       <string>issue</string>
       <string>side</string>
       <string>kind</string>
       <string>head</string>
       <string>house</string>
       <string>service</string>
       <string>friend</string>
       <string>father</string>
       <string>power</string>
       <string>hour</string>
       <string>game</string>
       <string>line</string>
       <string>end</string>
       <string>member</string>
       <string>law</string>
       <string>car</string>
       <string>city</string>
       <string>community</string>
       <string>name</string>
       <string>president</string>
       <string>team</string>
       <string>minute</string>
       <string>idea</string>
       <string>kid</string>
       <string>body</string>
       <string>information</string>
       <string>back</string>
       <string>parent</string>
       <string>face</string>
       <string>others</string>
       <string>level</string>
       <string>office</string>
       <string>door</string>
       <string>health</string>
       <string>person</string>
       <string>art</string>
       <string>war</string>
       <string>history</string>
       <string>party</string>
       <string>result</string>
       <string>change</string>
       <string>morning</string>
       <string>reason</string>
       <string>research</string>
       <string>girl</string>
       <string>guy</string>
       <string>moment</string>
       <string>air</string>
       <string>teacher</string>
       <string>force</string>
       <string>education</string>
   </array>
   </plist>