Cov txheej txheem:

Yuav Tsim Li Cas Microbit Game: 7 Kauj Ruam
Yuav Tsim Li Cas Microbit Game: 7 Kauj Ruam

Video: Yuav Tsim Li Cas Microbit Game: 7 Kauj Ruam

Video: Yuav Tsim Li Cas Microbit Game: 7 Kauj Ruam
Video: 20 MOMENTS YOU WOULDN'T BELIEVE IF NOT FILMED 2024, Kaum ib hlis
Anonim
Yuav Tsim Li Cas Microbit Game
Yuav Tsim Li Cas Microbit Game

Hai pals, Hauv zaj lus qhia no kuv yuav qhia koj yuav ua li cas los tsim kev ua si hauv tinkercad siv qhov tshwj xeeb tshiab tivthaiv microbit

Khoom siv:

Ib qho microbit thiab koj cov txuj ci ua lej

Kauj Ruam 1: Tso Microbit

Ua ntej koj yuav tsum xaiv lub microbit thiab muab tso rau hauv qhov raws li koj xav tau rau tsim kev ua si hauv microbit koj tsuas xav tau coding ntau dua li tsim

Kauj Ruam 2: Pib Tsim Cov Qauv

Pib Tsim Ntau Yam
Pib Tsim Ntau Yam

rau kev tsim game koj xav tau siv qhov sib txawv Variables; Variables yog lo lus siv rau khaws cia qhov muaj txiaj ntsig peb xav tau, kev hloov pauv yog qhov tseem ceeb ntawm qhov kev ua si Hauv cov lej no kuv tau tsim cov lej xws li kuv txoj haujlwm rau khaws cia tus nqi = 2Asteroid = random los ntawm 0 txog 4. AndCount thiab qhab nia ua 0 thaum Pib

Kauj Ruam 3: Tsim Tus Cwj Pwm rau Kev Hloov Kuv Txoj Haujlwm

Tsim Tus Ntsiab Lus rau Kev Hloov Kuv Txoj Haujlwm
Tsim Tus Ntsiab Lus rau Kev Hloov Kuv Txoj Haujlwm

Koj yuav tsum txhim kho yuav ua li cas thiaj tswj tau tus yam ntxwv, yog li daim duab saum toj no txhais tau tias txoj haujlwm ntawm tus cwj pwm yuav tsum tau hloov pauv thaum khawm thib ob hauv microbit thaum simulation nyem nyem txhais tau tias txav Clear screen block tau siv los tshem tawm mus rau txoj haujlwm ib txwm tom qab lub pob nyem.

Kauj Ruam 4: Plotting Cov Neeg Ua Si thiab Asteroids

Plotting Players thiab Asteroids
Plotting Players thiab Asteroids

Koj xav tau siv cov phiaj xwm X, y thaiv thiab nrog rau qhov ci ntsa iab thaiv kuj tseem yuav tsum tsim cov ntsiab lus uas yuav tsum muaj nyob hauv qhov kev ua si Rau lub hnub qub xav tau poob qis txuas ntxiv yog li peb yuav tsum siv suav qhov sib txawv nrog rau lej lej raws li qhov peb xav tau.

Kauj Ruam 5: Tsim Yog Thaiv

Tsim Yog Thaiv
Tsim Yog Thaiv

Qhov no qhia peb tias yog lub hnub qub poob ntawm tus cwj pwm txhais tau tias qhov kev ua si yuav dhau mus thiab qhov kev ua si pib dua ib zaug txij li thawj zaug mus.

Kauj Ruam 6: Tsim Lwm Tus Thaiv Ntxiv;

Tsim Lwm Tus Thaiv Ntxiv
Tsim Lwm Tus Thaiv Ntxiv

Lwm qhov cuam tshuam rau peb tias yog 10 lub hnub qub qub tseem tsis poob rau ntawm tus ua cim qhov kev ua si yuav yog yeej los ntawm peb

Kauj ruam 7: Kev ua tiav

Tiav
Tiav

Daim duab saum toj no yog qhov tshwm sim ntawm zaj lus qhia no kuv vam tias txhua tus nkag siab kuv qhov project thiab txhua tus thov tuaj pov npav rau kuv kom yeej qhov kev sib tw Ua tsaug

Pom zoo: