Cov txheej txheem:

Configurable Lo Lus Clock Simulator: 3 Kauj Ruam
Configurable Lo Lus Clock Simulator: 3 Kauj Ruam

Video: Configurable Lo Lus Clock Simulator: 3 Kauj Ruam

Video: Configurable Lo Lus Clock Simulator: 3 Kauj Ruam
Video: TUTORIAL How to create / change schedule and terminal on Tower Simulator 3 2024, Hlis ntuj nqeg
Anonim
Configurable Lo Lus Clock Simulator
Configurable Lo Lus Clock Simulator

Qhov no tsis yog qhov qhia tau tseeb. Kuv tab tom tsim kuv tus kheej lo lus Clock, thiab txiav txim siab ua ntej tsim lub vev xaib app sim yog li kuv tuaj yeem teeb tawm daim phiaj thiab ntsuas seb nws zoo li cas nyob rau ntau lub sijhawm ntawm hnub. Tom qab ntawd kuv nkag siab tias qhov no tuaj yeem muaj txiaj ntsig zoo rau lwm tus neeg ua haujlwm ntawm cov lus teev, thiab txiav txim siab qhia nws.

Lub app yog ib daim ntawv luv luv HTML. Yog tias koj khaws nws thiab ob npaug nias rau nws, nws yuav qhib hauv koj tus browser, thiab pib nthuav tawm lub sijhawm tam sim no. Tom qab ntawd nws yuav hloov kho cov duab txhua 10 vib nas this yog tias lub sijhawm hloov lawm.

Kuj tseem muaj cov ntawv sau uas koj tuaj yeem ntaus lub sijhawm tshwj xeeb thiab saib yuav ua li cas hauv koj txoj haujlwm.

Txhua tus neeg cov lus tsim lub moos yog txawv, yog li kuv tau sim ua kom yooj yim teeb tsa. Saib ob peb kauj ruam tom ntej rau cov lus qhia yuav ua li cas.

Kuv vam tias koj pom qhov no muaj txiaj ntsig! Nws yog qhov zoo uas tuaj yeem sim nrog cov qauv thiab cov lus ua ntej ua rau kho vajtse!

Kauj ruam 1: Rub tawm HTML File

Lub simulator yog ib-nplooj ntawv web app. Nws tsuas yog qis dua 200 kab. Koj tuaj yeem rub nws ntawm no.

(Tsis muaj khawm tiag tiag los rub tawm cov ntawv ntawm Github.

Tom qab koj tau rub tawm nws, ob npaug nyem rau ntawm cov ntawv thiab nws yuav thauj khoom hauv ib lub tab hauv koj tus browser. Koj yuav tsum pom lub sijhawm tam sim no tso tawm hauv kab lus.

Nco tseg: Kuv tsuas yog sim lub app siv Chrome ntawm Windows.

Kauj ruam 2: Kho kom raug Daim phiaj

Koj tuaj yeem sim ua cov lus sib txawv los ntawm kev kho cov ntawv Javascript uas zoo li qhov no:

var cov_strs = ["Nws YOG", "Ib Leeg Twg Peb", "FIVE FIVE SIX", "SEVEN EIGHT", "NINE TEN", "ELEVEN TWELVE", "OH FIVE TEN", "FIVEN TWENTY", "O'CLOCK THIRTY", "TSIS MUAJ TSEEB NYIAJ FIVE FIVE", "IN THE AFTERNOON", "AT NIGHT MORNING",];

Yog tias koj ntxiv/rho tawm kab thiab rov qhib nplooj ntawv, koj daim phiaj yuav loj dua lossis me dua.

Thiab yog tias koj ntxiv cov ntawv ntau ntxiv rau txhua kab, koj daim phiaj yuav dav dua. Tsuas yog xyuas kom tseeb tias txhua kab muaj tus lej zoo ib yam.

Koj yuav pom tias cov hlua hauv cov cai saum toj no muaj qhov chaw, tab sis cov no tau hloov mus ua cov cim tsis raug hauv kab sib chaws. Koj tuaj yeem xaiv cov txheej ntawm cov cim uas yuav raug siv los sau cov chaw no los ntawm kev kho kab uas zoo li no:

var RANDCHARS = "ABCDEFGHIJKLMNOPQRSTUVWXYZ@#$%&";

Kauj Ruam 3: Hloov Lo Lus

Koj yuav tsum paub yuav sau tus lej li cas yog tias koj xav siv cov lus sib txawv. Cov laj thawj uas siv sijhawm hnub thiab hloov nws mus rau hauv cov lus yog hauv txoj haujlwm hu ua dateToSentence ().

Pom zoo: