VB Typing Game, VB Typing Game

Updated on technology 2024-04-01
9 answers
  1. Anonymous users2024-02-07

    Weakly asked, how can I help you? Can I help you type? I don't think you said anything to help you.

  2. Anonymous users2024-02-06

    Add 10 label1 control groups, a timer, operation: After running, press enter to play the game, **:p rivate declare function getasynckeystate lib"user32" (byval vkey as long) as integer

    dim m as integer

    private sub form_keypress(keyascii as integer)

    if keyascii = 13 then

    elsefor j = 0 to 9

    if label1(j).caption = ucase(chr(keyascii)) then

    m = m + 1

    if m = 30 then = "Level 1"

    if m = 60 then = "Level 2"

    if m = 90 then = "Level 3"

    label1(j).top = 0

    exit for

    end if

    nextend if

    end sub

    private sub form_load()

    for i = 0 to 9

    label1(i).top = 0

    next "Level 0"

    end sub

    private sub timer1_timer()

    static n as integer

    if n = 10 then

    msgbox "Game over"

    falseend if

    for i = 0 to 9

    if label1(i).top > then

    label1(i).top = 0

    randomize

    label1(i).caption = chr(int(rnd * 26 + 65))

    n = n + 1

    elseif label1(i).top = 0 then

    randomize

    label1(i).caption = chr(int(rnd * 26 + 65))

    label1(i).top = label1(i).top + 100

    elselabel1(i).top = label1(i).top + 100

    end if

    nextend sub

  3. Anonymous users2024-02-05

    The program interface, the design, the periphery are already ready, or send an email :

    The program can be written in a maximum of 2 days, which is definitely better than 3L.

  4. Anonymous users2024-02-04

    You can do it yourself, look for online routines, you can hi me.

  5. Anonymous users2024-02-03

    Add 10 label1 control groups, a timer, and an operation:

    Once it's running, press enter to play the game, **:

    private declare function getasynckeystate lib "user32" (byval vkey as long) as integer

    dim m as integer

    private sub form_keypress(keyascii as integer)

    if keyascii = 13 then

    elsefor j = 0 to 9

    if label1(j).caption = ucase(chr(keyascii)) then

    m = m + 1

    if m = 30 then = "Level 1"

    if m = 60 then = "Level 2"

    if m = 90 then = "Level 3"

    label1(j).top = 0

    exit for

    end if

    nextend if

    end sub

    private sub form_load()

    for i = 0 to 9

    label1(i).top = 0

    Level 0"end sub

    private sub timer1_timer()

    static n as integer

    if n = 10 then

    msgbox "Game over"

    falseend if

    for i = 0 to 9

    if label1(i).top > then

    label1(i).top = 0

    randomize

    label1(i).caption = chr(int(rnd * 26 + 65))

    n = n + 1

    elseif label1(i).top = 0 then

    randomize

    label1(i).caption = chr(int(rnd * 26 + 65))

    label1(i).top = label1(i).top + 100

    elselabel1(i).top = label1(i).top + 100

    end if

    nextend sub

    Can it solve your problem?

  6. Anonymous users2024-02-02

    Typing games don't have to be that fancy, right? Just use my **.

  7. Anonymous users2024-02-01

    I can write to you if needed!! Need r·· m··· b!!

  8. Anonymous users2024-01-31

    There are VB1200 cases in Volume 1 of Tomorrow Technology, so you can take a good look at it.

  9. Anonymous users2024-01-30

    It's a simple question, just add this ** to the form load(): = true

    form load() is modified to read:

    private sub form_load()= false

    falsefalse

    trueend sub

    Remember to adopt it!!

Related questions
4 answers2024-04-01

There are two ways to do this, first: with a triple cycle; Second, just write a function call. I'll do it for you here with the second one, first making a method that returns the value of each item: >>>More

14 answers2024-04-01

private sub form_load()

Songti")"Italics GB2312") >>>More

7 answers2024-04-01

There are two optional values for this property: 0-flat means that it is not displayed in 3D when the form is running, and 1-flat means that it is displayed in 3D when the form is running. >>>More

9 answers2024-04-01

The decimal part of the date variable with a value of less than 1 corresponds to the time of day from 0:00:00 to 24:00:00 >>>More

3 answers2024-04-01

Create two texts and one command

dim deshu as string >>>More