Board Game

Write a program that modifies the BoardGame Project that is found in the Handout folder so that it allows two players to play a board game. Your program must draw a board game with at least 15 game board squares. Sketch the interface and label the corner points of each game board square before you begin writing code. To account for the menu described below and the default size of the form, the boundaries of the playing area must be defined by the following DrawLine statements (although you may change the pen color and border thickness). Your maze should be contained within this region on your graph paper illustrated by this model.

        e.Graphics.DrawLine(Pens.Black, 0, 30, 290, 30)     ' top boundary
        e.Graphics.DrawLine(Pens.Black, 0, 260, 290, 260)   ' bottom boundary
        e.Graphics.DrawLine(Pens.Black, 0, 30, 0, 260)      ' left boundary
        e.Graphics.DrawLine(Pens.Black, 290, 30, 290, 260)  ' right boundary

Use two picture boxes to represent the players. When a player clicks a picture box that represents a dice cup, a random number must be generated and that player's picture box must moved to the correct position on the board. Then the other player must get his/her turn to move. When the first player reaches the end of the game, the winner must be acknowledged and the game should reset.

You must use the following menu:

File
   New Game
   Exit

You must add a few special squares to make the game interesting (i.e. like the chutes and ladders in the game Chutes & Ladders or squares that earn a player a free turn.) You must also add one or more sounds (e.g. sound of dice tumbling, computer voice directions, etc.) and you must use decorate the game board with interesting graphics and color to make the game appealing.

For extra credit, modify the game so that one player plays against the computer instead of another player. You can also use a Timer to show the pieces animate when they go through "chutes" and "ladders".

Your program must follow standard Windows conventions as well as our school's Visual Basic Coding Standards. Name your project BoardGame.

Staple your printouts in the following order:

  1. VB code
  2. interface sketch (your graph paper with the game board and coordinates of the corner points of each game board square)
  3. The screen capture of your actual form window at runtime.