Cov txheej txheem:

Cov Chav Nyob Hauv Twine Nrog Qab Zib Qab Zib: 11 Kauj Ruam
Cov Chav Nyob Hauv Twine Nrog Qab Zib Qab Zib: 11 Kauj Ruam

Video: Cov Chav Nyob Hauv Twine Nrog Qab Zib Qab Zib: 11 Kauj Ruam

Video: Cov Chav Nyob Hauv Twine Nrog Qab Zib Qab Zib: 11 Kauj Ruam
Video: koj xav muaj peev nyiaj yuav tsim li cas? peev los qhov twg los? clip no muaj lus teb (05) 2024, Hlis ntuj nqeg
Anonim
Cov Chav Nyob Hauv Twine Nrog Qab Zib
Cov Chav Nyob Hauv Twine Nrog Qab Zib

Nyob zoo nyob zoo thiab txais tos kuv cov lus qhia ntawm kev tsim Wumpus Hunt hauv Twine nrog Qab Zib!

Twine yog cov cuab yeej yooj yim heev, tsim los tsim cov ntawv ua si taug txuj kev nyuaj! Kuv tus kwv tij txheeb ze me tau xaiv los ua game nrog Twine rau nws txoj haujlwm loj, thiab kuv tau txais kev pab yog li kuv tsim cov kab lus qhia no!

Cov koob no tau npaj tseg tsawg dua li qhov haujlwm nws tus kheej, thiab ntau ntxiv raws li kev siv rau kev tsim game nrog twine. Kuv yuav nthuav tawm qee qhov Twine tus yam ntxwv, thiab koj yuav siv lawv li cas ib feem ntawm koj qhov kev ua si.

Yog tias koj xav ua raws nrog kuv thaum kuv tsim Hunt the Wumpus, Kuv txhawb koj kom hloov pauv yam thaum peb mus. Sim ntxiv cov yam ntxwv, lossis siv yam khoom hauv txoj hauv kev tshiab. Txoj kev ntawd koj tuaj yeem ua koj tus kheej kev ua si, tsis txhob ua raws li kuv li.

Tam sim no, peb tau txais Wumpus mus yos hav zoov!

Kauj Ruam 1: Rau Sake ntawm Kev Nyuaj Siab …

Rau Sake ntawm Brevity …
Rau Sake ntawm Brevity …

Cov ntawv qhia no yuav xav tias koj tau paub txog qee qhov pib. Feem ntau kuv nyiam ua kuv cov ntawv qhia kom nkag tau yooj yim li sai tau, tab sis lub sijhawm no kuv yuav tsum tau mus rau cov nqaij thiab qos yaj ywm rau lub hom phiaj ntawm kuv tus npawg adowable widdle.

Kuv tabtom kwv yees tias koj tau dhau los paub zoo nrog Twine; tias koj paub yuav rub nws li cas (lossis siv online version), thiab koj paub yuav ua li cas thiaj li ua tau cov kab lus tshiab thiab txuas lawv ua ke. Kuv kuj tseem xav tias koj tau paub txog qee lub hauv paus ntsiab lus ntawm lub tswv yim, uas yog hloov pauv thiab ua haujlwm, thiab lawv siv li cas hauv Sugarcube.

Kuv yuav tsum xav tias koj tau paub txog game Hunt the Wumpus. Nws yog lub tswv yim nyuaj piav qhia hauv cov lus, thiab piav qhia hauv cov duab yuav siv tas mus li. Kuv tau sim nrhiav cov vis dis aus lossis qee yam uas tau piav qhia nws, tab sis kuv tsis tuaj yeem pom ib qho uas tsuas yog piav qhia-tsawg gameplay. Kuv kwv yees nws yog ib yam ntawm cov uas nyuam qhuav dhau los rau tiam neeg, thiab txhua tus neeg tsuas yog xav tias koj paub txog nws. Kuv twv kuv tsis pab nrog qhov ntawd.

Kauj Ruam 2: Lub Tswv Yim

Lub Tswv Yim
Lub Tswv Yim

Lub tswv yim tom qab txoj haujlwm no yog tias peb tuaj yeem siv Twine cov kab lus ua ib chav nyob. Tus neeg ua si tuaj yeem hla cov chav no los ntawm kev sib txuas, thiab cov cai yuav hloov chav chav cov ntawv nyob ntawm seb Wumpus nyob ntawd lossis tsis.

Lub tswv yim no tau dhau los ua qhov nyuaj tshaj qhov kuv xav tau, tab sis tag nrho kuv xav tias nws haum feem ntau hauv Twine lub log tsheb.

Kauj Ruam 3: Tsim Qee Chav

Tsim Qee Chav
Tsim Qee Chav
Tsim Qee Chav
Tsim Qee Chav
Tsim Qee Chav
Tsim Qee Chav
Tsim Qee Chav
Tsim Qee Chav

Raws li koj tuaj yeem pom saum toj no, Kuv pib los ntawm kev tsim 3x3 kab sib chaws ntawm chav. Kuv kuj tseem muaj cov lus qhia nkag mus qhov twg tus neeg uas ua ntawv yuav pib, thiab txuas mus rau ib chav ntawm kab sib chaws. Cov cai rau cov no yog qhov yooj yim heev, tsuas yog qee cov ntawv thiab txuas. Kuv tau ua me ntsis kev teeb tsa los teeb tsa cov kab sib txuas hauv txhua chav (raws li koj tuaj yeem pom hauv daim duab thib peb), tab sis kuv khaws nws tsawg.

Tus yuam sij rau cov kauj ruam no yog minimalism. Koj yuav xav rov ua haujlwm feem ntau ntawm cov khoom no ib ntus, yog li koj tsis xav kom rov ua tag nrho cov haujlwm. Ua kom tsawg dua 10 chav nyob rau hauv tag nrho, khaws cov lus piav qhia hauv chav luv, tsis txhob ua tej yam zoo nkauj tam sim no. Lawv tsuas yog yuav tsum ua haujlwm.

Thaum koj tau txais cov cai ua haujlwm, tom qab ntawd nws tuaj yeem zoo nkauj.

Kauj Ruam 4: Ntxiv Wumpus

Ntxiv Wumpus
Ntxiv Wumpus

Txhawm rau ntxiv peb Wumpus, peb yuav tsum tsim Zaj Dab Neeg.

Cov kab lus no tshwj xeeb rau SugarCube, thiab tau khiav ua ntej tus neeg ua si pom qhov pib nkag. Nws tau siv los teeb tsa qhov sib txawv thiab cov khoom uas xav tau los tsim ua ntej qhov kev ua si pib. Nws yog ib qho tseem ceeb heev uas cov nqe lus muaj lub npe "StoryInit", thiab nws yog qhov tseeb.

Peb tshaj tawm peb Wumpus qhov sib txawv raws li txoj hlua, thiab muab nws lub npe chav chav tsis raug cai. Peb tuaj yeem siv ob qho () ua haujlwm los muab nws txoj hlua sib tw los ntawm cov npe ntawm cov hlua. Txoj kev ntawd, Wumpus yuav ib txwm pib hauv chav tsis raug.

Kauj Ruam 5: Txheeb xyuas Wumpus

Txheeb xyuas Wumpus
Txheeb xyuas Wumpus

Rau txhua chav peb ntxiv cov lus "" "uas txheeb xyuas seb Wumpus nyob hauv chav tam sim no. Yog tias yog, nws yuav luam tawm txoj hlua luv. Yog tias tsis yog, tsis muaj dab tsi tshwm sim.

Vim tias peb tab tom tsim qhov no, peb tseem yuav ntxiv qee cov ntaub ntawv debug. Peb xav paub ua ntej ntawm lub sijhawm uas peb Wumpus nyob, thiab nws ua haujlwm tau zoo.

Koj yuav tsum theej thiab muab cov cai no tso rau hauv txhua chav ntawm tus kheej rau tam sim no. Qhov no yog vim li cas kuv hais kom koj ua raws li ob peb chav xwb.

Kauj Ruam 6: Xeem

Xeem
Xeem
Xeem
Xeem

Peb sim peb cov cai los ntawm kev ua si nws. Tseeb txaus peb tuaj yeem pom qhov twg Wumpus nyob rau saum lub vijtsam. Yog tias peb tsis nyob hauv chav ntawd, "A Wumpus nyob ntawm no!" ntawv tsis tshwm.

Los ntawm kev mus rau chav raug, peb tuaj yeem ua cov ntawv tshwm. Nov yog qhov peb yuav muab peb Wumpus rau chav sib tw rau txhua qhov kev ua si!

Kauj Ruam 7: Ntxiv Generic Room Code

Ntxiv Generic Room Code
Ntxiv Generic Room Code
Ntxiv Generic Room Code
Ntxiv Generic Room Code

Txhua qhov ntawd theej thiab muab tshuaj txhuam kom tau txais txhua chav los tshuaj xyuas Wumpus yog tedius. Thaum peb txhim kho qhov kev ua si no, peb yuav xav hloov txoj cai no ntau heev. Peb yuav xav tau txoj hauv kev zoo dua los ua qhov ntawd. Cia peb tsim qee qhov chaw dav dav.

Ua ib kab lus thiab npe nws qee yam tshwj xeeb. Kuv tsuas yog hu kuv lub "chav", nrog txhua tus ntawv qis. Koj yuav xav siv cov cim tshwj xeeb, lossis txhua lub kaus mom, los ua koj li tshwj xeeb yog li nws tsis zoo ib yam ntawm koj lub npe chav tiag.

Peb yuav txiav thiab muab peb cov lus "" tso rau hauv chav tsev dav dav no. Tom qab ntawd, hauv txhua chav ntawm koj chav tiag, siv nqe lus "". Qhov no yuav luam theej thiab muab cov ntsiab lus ntawm peb "chav" tso rau hauv ib feem ntawm txhua chav. Txoj kev ntawd peb tuaj yeem cia lub tshuab ua haujlwm cov khoom tsis txaus siab, thaum peb tsom mus rau cov cai!

Koj tuaj yeem nyeem ntxiv txog "" thiab lwm cov lus hauv Qab Zib Qab Zib 2 cov ntaub ntawv.

Kauj Ruam 8: Xeem

Xeem
Xeem
Xeem
Xeem

Kev xeem qhov no, tau kawg, ua rau cov txiaj ntsig zoo ib yam li ua ntej, tab sis nws yog qhov tseem ceeb los sim ntau zaus. Txaus siab heev.

Nws ua, txawm li cas los xij, taw qhia qhov hmoov tsis zoo-cuam tshuam ntawm txhua qhov peb cov lej uas peb tam sim no tuaj yeem hais tau zoo dua. Koj yuav pom tias thaum peb ntxiv cov cai ntxiv rau txhua kab lus peb tau txais ntau thiab ntau qhov chaw khoob hauv peb qhov kev ua si. Peb yuav saib xyuas cov tom ntej.

Kauj Ruam 9: Vim Li Cas Thiaj Tsis Muaj Kab?

Vim Li Cas Thiaj Tsis Muaj Kab?
Vim Li Cas Thiaj Tsis Muaj Kab?
Vim Li Cas Thiaj Tsis Muaj Kab?
Vim Li Cas Thiaj Tsis Muaj Kab?

Koj tuaj yeem pom saum toj no kuv tau ntxiv backslashes mus rau qhov kawg ntawm qee txoj kab ntawm cov cai. Qhov twg thiab thaum twg kuv siv cov ntawd yog txhob txwm ua, thiab kom nkag siab tias koj yuav tsum nkag siab tias vim li cas peb thiaj li muaj kab mob txawv txawv hauv thawj qhov chaw.

Nws yog qhov xwm txheej ntawm Twine los sib xyaw nrog cov ntawv ib txwm muaj. Cov kab lus kaum (cov khoom no:) qhia Twine tias dab tsi muaj nyob yog tus lej thiab tsis yog ntawv nyeem. Cia kuv qhia qhov teeb meem nrog qhov no. Cia peb hais tias koj muaj cov cai hauv qab no:

<> Cov ntawv ib txwm tshwm hauv kev ua si … <> Ntau cov ntawv game …

Ntau cov ntawv txheej txheem muaj qhov kev xaiv uas tso cai rau koj pom cov cim dawb-qhov chaw; yam xws li chaw, tabs, thiab kab kab. Twine tsis ua, tab sis yog nws tau ua, nws yuav zoo li qhov no:

Normal˙text˙ tshwm sim hauv game… ¶ ¶ More˙ game˙text…

Pom cov cim kab lus ntawd? (¶) Cov no tsis nyob hauv lub kaum sab xis. Qhov ntawd txhais tau tias Twine xav tias lawv yog cov ntawv ib txwm muaj thiab muab tso rau hauv koj qhov kev ua si. Tias yog vim li cas, thaum koj ua si game, nws zoo li no:

Cov ntawv ib txwm tshwm hauv kev ua si…

Ntau cov ntawv game…

Txhawm rau tshem tawm lawv, peb tuaj yeem siv tus cim rov qab los qhia Twine peb tsis xav tau cov kab sib chaws nyob ntawd. Hauv koj tus lej, nws yuav zoo li qhov no:

Normal˙text˙ tshwm sim hauv game… ¶ ¶ More˙ game˙text…

Qhov no yuav tshwm raws li koj xav tau hauv koj qhov kev ua si:

Cov ntawv ib txwm tshwm hauv kev ua si…

Ntau cov ntawv game…

Nco ntsoov tias tsuas yog kab kab sab nrauv ntawm lub kaum sab xis xav tau qhov no. Piv txwv li, yog tias peb muaj cov cai hauv qab no:

Peb tsuas xav tau ib qho rov qab, vim tias thawj kab ntawv tawg (¶) yog sab hauv lub kaum sab xis ().

Qhov thib ob, backslashes () txawv los ntawm cov slashes tom ntej (/), thiab koj yuav tsum tau ceev faj txog qhov twg koj siv qhov twg, vim tias lawv ua ntau yam sib txawv.

Kauj ruam 10: Xeem

Xeem
Xeem

Koj qhov kev xeem yuav tsum qhia tias koj tau tshem qhov chaw tsis raug! Zoo kawg!

Kauj ruam 11: Qhov ntawd yog txhua yam tam sim no

Qhov ntawd yog txhua yam tam sim no
Qhov ntawd yog txhua yam tam sim no

Nov yog txhua lub sijhawm uas kuv muaj rau tam sim no. Txog tam sim no txhua yam yog qhov yooj yim Twine khoom. Cov lej hauv chav nyob yog qhov muaj txiaj ntsig zoo los txo cov ntawv theej thiab muab tshuaj txhuam koj yuav tsum tau ua, thiab cov thim rov qab yog qhov tsim nyog kom ua rau koj cov kab lus saib huv thiab koj cov lej nyeem tau.

Tej yam yuav tawm sai sai ntawm no!

Zoo siab tua tsiaj!

Pom zoo: