Cov txheej txheem:
- Khoom siv
- Kauj ruam 1: Tau Koj Cov Ntawv Editor
- Kauj ruam 2: Download Tuag Lub ntsej muag
- Kauj ruam 3: Pib Coding
- Kauj ruam 4:
- Kauj Ruam 5: Siv Var thiab Lej Function
- Kauj ruam 6: Khiav
Video: Yuav Ua Li Cas Tus lej Yooj Yim Random Virtual Tsuav: 6 Cov Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:26
Nyob zoo sawv daws !!!!! Nov yog kuv thawj qhov kev qhia thiab kuv yuav qhia koj yuav ua li cas thiaj tsim lub tsuav virtual ntawm koj lub PC lossis smartphone. Kuv siv HTML, JavaScript thiab CSS, Kuv vam tias koj txhua tus yuav nyiam nws thiab tsis txhob hnov qab pov npav rau kuv hauv cov ntsiab lus hauv qab no.
Khoom siv
1. Tus kws sau ntawv zoo ntawm koj lub xov tooj ntse lossis PC
Kauj ruam 1: Tau Koj Cov Ntawv Editor
Ntawm no kuv tab tom siv kuv lub xov tooj smartphone ua cov ntawv sau ntawm no (AnWriter). Koj tuaj yeem siv koj lub PC's notepad ib yam nkaus, lossis tau txais cov ntawv sau zoo hauv online
Kauj ruam 2: Download Tuag Lub ntsej muag
Kuv rub tawm qee lub ntsej muag tuag los ntawm 1 txog 6 uas kuv txuas rau theem no. Yog li, koj tuaj yeem rub tawm qhov koj nyiam lossis siv kuv li (koj yog dawb).
Kuv npe kuv tus kheej raws li lub ntsej muag tuag. Ntawd yog:
Die_face_1.png, Die_face_2.png…. Thiab ntxiv mus txog rau 6 kom paub zoo dua
Kauj ruam 3: Pib Coding
Txuag cov cai ua.html ntawv
Pib los ntawm kev qhia lub ntsej muag tuag lub ntsej muag uas koj xav tau los ntawm kev siv img src
Kauj ruam 4:
Tom ntej no peb yuav xav tau lub pob kom dov lub tsuav peb ua qhov no los ntawm kev ntxiv khawm ua haujlwm
ROLL DICE
Kauj Ruam 5: Siv Var thiab Lej Function
DAB TSHUAJ
muaj nuj nqi getRand () {
var vu = Math.floor (Math.random ()*6) +1;
var vu2 = Math.floor (Math.random ()*6) +1;
var di = ["die_face_1.png", "die_face_2.png", "die_face_3.png", "die_face_4.png", "die_face_5.png", "die_face_6.png"];
document.getElementById ("tsuav"). src = di [vu-1];
document.getElementById ("dicl"). src = di [vu2-1];
}
Nov yog tag nrho cov cai, kawm nws thiab sim nws thiab xyuas kom koj tau txais daim duab kom tau txais txiaj ntsig
Thiab yog tias koj xav tau kuv kev pab ntawm cov cai no hais nws hauv kab lus
Koj tuaj yeem hloov qhov tsim yog tias koj tsis nyiam nws tab sis kuv nyiam nws rau lub hom phiaj kuv xav siv nws rau
Kauj ruam 6: Khiav
khiav cov cai ntawm koj tus browser kom nws ua haujlwm
Pom zoo:
D.I.Y YOOJ YIM YOOJ YIM YOOJ YIM YOOJ YIM YOOJ YIM LOS NTAWM SCRAPS: 4 Cov Kauj Ruam (nrog Duab)
D.I.Y YOOJ YIM YOOJ YIM YOOJ YIM YOOJ YIM LOS NTAWM SCRAPS: Hnub no kuv xav qhia yuav ua li cas kom pom lub teeb pom kev zoo los ntawm lub zog xa hluav taws xob tsis siv hluav taws xob los ntawm tus txhuam txhuam hniav thiab lub tshuab solenoid valve coils uas tau khaws los ntawm scrapyard.Ua ntej pib, thov saib cov vis dis aus hauv qab no:
Micro: ntsis MU Vision Sensor rau Cov Pib Tshiab - Cov Ntawv Cim Tus Nqi thiab Tus lej Tus lej Cim: 6 Cov Kauj Ruam
Micro: me ntsis MU Kev Pom Kev Pom Zoo rau Cov Pib Tshiab - Cov Ntawv Cim Tus Nqi thiab Tus lej Cim Cim: Qhov no yog kuv phau ntawv qhia thib ob rau MU lub zeem muag pom kev. Hauv qhov haujlwm no peb yuav ua haujlwm micro: ntsis kom paub txog daim npav sib txawv los ntawm kev siv daim ntawv lo qhov tseem ceeb
Python Tus lej Yooj Yim Yooj Yim Yooj Yim: 11 Kauj Ruam
Python Tus lej Yooj Yim Yooj Yim Yooj Yim: Hauv qhov kev qhia no peb yuav qhia yuav ua li cas los tsim cov nab npawb nab npawb yooj yim kwv yees kev ua si hauv daim ntawv thov Pycharm. Nab hab sej yog cov lus sau uas zoo rau ob tus pib thiab cov kws paub ib yam nkaus. Tus lej cim hauv Python yog ib qho yooj yim nyeem thiab ua raws
Yuav Ua Li Cas: Tsim Tus Tsim Tus Zauv Tus lej Random Nrog Python: 8 Kauj Ruam
Yuav Ua Li Cas: Tsim Tus Tsim Tus Qauv Tsim Tus Kheej Nrog Python: Hauv qhov kev qhia no, koj yuav kawm paub yuav tsim lub tshuab hluav taws xob tus lej zais siv tus nab npawb li cas hauv ob peb kauj ruam yooj yim
YUAV UA LI CAS YOOJ YIM YOOJ YIM YOOJ YIM YOOJ YIM YOOJ YIM TSHAJ PLAWS YOOJ YIM: 4 Cov Kauj Ruam
YUAV UA LI CAS YOOJ YIM YOOJ YIM YOOJ YIM YOOJ YIM YOOJ YIM TSHAJ PLAWS: Nyob zoo txhua tus hauv cov lus qhia no kuv yuav qhia koj yuav ua li cas kom yooj yim " SOIL DRYNESS SENSOR ". Qhuav ntawm cov av tau txheeb xyuas siv qhov taw qhia coj. Lub teeb ci wi