PROJECT PREVIEW: THE TIC-TAC-TOE GAME


As this chapter's game project, you will develop a two-player Visual Basic version of the Tic-Tac-Toe game. You will track and validate player moves and determine when a game is won, lost, or tied. Figures 11.1 to 11.3 show examples from the Tic-Tac-Toe game, demonstrating its functionality and overall execution flow.

image from book
Figure 11.1: The Tic-Tac-Toe game begins by displaying a blank game board.

image from book
Figure 11.2: The game keeps track of each player's turn.

image from book
Figure 11.3: The game monitors each player's move and determines when there is a winner.

By the time you have created and run this game, you will have completed the last game project in this book and will be well on your way to becoming a Visual Basic programmer. By completing this game and the other games in this book, you will have established a solid collection of code, which you can expand and build upon to create even more intricate and powerful Visual Basic applications.




Microsoft Visual Basic 2005 Express Edition Programming for the Absolute Beginner
Microsoft Visual Basic 2005 Express Edition Programming for the Absolute Beginner
ISBN: 1592008143
EAN: 2147483647
Year: 2006
Pages: 126

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net