This source code and program is in the public domain.
About the puzzle
This is a simulation of one of those sliding block puzzles usually made of
plastic and given to children by their parents before a long car trip in
the hope that it will keep them quiet.
The point of the puzzle is to move the large block at the top center
position to the bottom center. The pieces are dragged around using the
mouse. It is a difficult puzzle requiring about 100 moves to solve.
Complicating the problem is the fact that this puzzle must be solved in
one sitting because there is no way to save a puzzle in progress.
About the source code:
I wrote this program in an attempt to learn about C++ in general and
Microsoft Visual C++ in specific. I checked on PC-OHIO for sample MSVC++
code and found very little. This code demonstrates:
A simple MSVC++ app with 1 view and no document.
Customizing the registration of the main window.
Dragging objects with the mouse.
If anyone cares to examine the code I'd be interested in any critisism. I
can be reached at:
PC-OHIO: Dave Lemanowicz
internet, (Freenet): db385@cleveland.freenet.edu
CompuServe: 72142,2367
BEFORE BUILDING
MSVC++ creates a subdirectory /RES off the project directory to hold
resource files that are not edited by App Studio. PC-OHIO does not permit
uploading .ZIP files with with subdirectories so the contents of the /RES
directory were moved to the project directory. In order for the build to
succeed the /RES directory will have to be created by you and the *.ico
and *.rc2 files moved to it.
MSVC开发斐切比塔游戏范例 C源程序-游戏编程
需积分: 0 25 浏览量
2009-01-19
20:57:48
上传
评论
收藏 46KB RAR 举报
wxaddaxw
- 粉丝: 0
- 资源: 1
最新资源
- 基于Java的本科探索学习项目设计源码 - 本科探索
- 基于Javascript和Python的微商城项目设计源码 - MicroMall
- 基于Java的网上订餐系统设计源码 - online ordering system
- 基于Javascript的超级美眉网络资源管理应用模块设计源码
- 基于Typescript和PHP的编程知识储备库设计源码 - study-php
- Screenshot_2024-05-28-11-40-58-177_com.tencent.mm.jpg
- 基于Dart的Flutter小提琴调音器APP设计源码 - violinhelper
- 基于JavaScript和CSS的随寻订购网页设计源码 - web-order
- 基于MATLAB的声纹识别系统设计源码 - VoiceprintRecognition
- 基于Java的微服务插件集合设计源码 - wsy-plugins
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈