Neko Cat racing programs - many versions

  1. Using an Array of Objects to make it easier to handle large numbers of Neko racers.

  2. Several versions of the Neko Cat racing software, as it developed from simpler form to more complex form with additional features.

    1. Download the EXEcutable sample program. It was originally written in Visual Basic 6.0 (or earlier). You have the VB 6.0 code for this EXEcutable sample program as a handout from before spring break. VB 6.0 code is NOT VB .Net code, by the way! :-)

    2. Download the SECOND VERSION of Neko racing: EXEcutable Cat race: Version 2. It includes three new checkboxes, two new buttons, and three labels for the Gold, Silver and Bronze.

    3. Download the THIRD VERSION of Neko racing: EXEcutable Cat race: Version 3. (As of 11:50 a.m. Wednesday, March 24th).

    4. Download the FOURTH VERSION of Neko racing: EXEcutable Cat race: Version 4. (As of 4:50 p.m. Wednesday, March 24th).

    5. The FIFTH VERSION would have been here. Click on the PUBLIC SERVICE ANNOUNCEMENT to see why it isn't here, after HOURS of hard work.

  3. Download the NINE cat images (GIF files) you will need. Two are for running animation, two are for scratching, and two are for snoozing.
    math-cs:~/web/Neko> ls
    awake.gif   right2.gif    scratch2.gif  sleep2.gif  yawn.gif
    right1.gif  scratch1.gif  sleep1.gif    stop.gif

  4. Your program will need to have a finish line for the cats to cross. You do NOT need to record and display who was 1st, 2nd and 3rd and 4th to finish the race, but you are required to report which Neko won the race.

  5. Download the SIX new cat images (GIF files) only if you get ambitious and want to have additional fun. Two are for running down the screen, two are for running up the screen, and two are for running to the left or westward (instead of to the right or eastward).

    I ALSO HAVE ADDED 8 TRANSPARENT Neko cat images, for left, down, right and upward movement. These would be useful if they are to run across different colored backgrounds.

The ImageList Control used with the PictureBox control. The ImageList control contains all NINE different cat images, as shown in the Neko cat race software today in class.
Private Sub btnNewCat_Click(ByVal sender As System.Object, _ 
                            ByVal e As System.EventArgs)   _
                                                   Handles btnNewCat.Click
  Static whichPic As Integer
  If whichPic < ImageList1.Images.Count - 1 Then
     whichPic += 1
     whichPic = 0
  End If

  picNeko.Image = ImageList1.Images(whichPic)
End Sub