游戏设计已经成为现在社会的一种热门行业。五子棋是一种受大众广泛喜爱的游戏，其规则简单，变化多端，非常富有趣味性和消遣性。这里设计和实现了一个双人对下的五子棋单机游戏。主要应用了Visual C++编程来完成这个游戏的设计的。本文主要介绍了本游戏开发环境Microsoft Visual C++ 6.0，使用当前优秀的开发工具VC++编程。包含了五子棋程序的棋盘初始化、游戏规则、胜负判断方法。
The game designed already becomes the present society one popular profession. The gobang is one kind the game which is widely liked the populace, its rule is simple, changeable, extremely rich interesting and recreational. Here designed and has realized one two person to under gobang single plane game. Mainly applied Visual the C++ programming to complete this game the design. This article mainly introduced this game development environment Microsoft Visual C++ 6.0, use current outstanding development kit VC++ programming. Has contained the gobang procedure checkerboard initialization, the game rule, the victory and defeat judgment method.
Key word: Initialization; Rule; Judgment;