Copyright
Copyright © 2004 O Reilly Media, Inc.
Printed in the United States of America.
Published by O Reilly MediaInc., 1005 Gravenstein Highway North, Sebastopol, CA 95472.
O Reilly & Associates books may be purchased for educational, business, or sales promotional use. Online editions are also available for most titles (http://safari.oreilly.com). For more information, contact our corporate/institutional sales department: (800) 998-9938 or corporate@oreilly.com.
Nutshell Handbook, the Nutshell Handbook logo, and the O Reilly logo are registered trademarks of O Reilly Media, Inc The Cookbook series designations, Java Servlet and JSP Cookbook, the image of a fennec fox, and related trade dress are trademarks of O Reilly & Associates, Inc.
Java and all Java-based trademarks and logos are trademarks or registered trademarks of Sun Microsystems, Inc., in the United States
標簽:
Copyright
America
Printed
Reilly
上傳時間:
2014-08-20
上傳用戶:lps11188
//在tc3.0++在運行
//a數組用于隨機產生1-6數表示每個方格后面的圖形.用inita()函數來實現
//c數組用于記錄方格的狀態,用字符L(lock)表示沒有打開的方格
//D(delete)表示已消去的方格.O(open)表示打開的方格.
//變量m表示按回車鍵的有效次數.也是記憶力參數,越小記憶力越好
//變量xpos,ypos用于表示當前光標所在的位置
//(x1,y1),(x2,y2)用于記錄打開的兩個方格的位置
//judge()函數用于控制光標范圍,使其不能移出長方形
//win()函數用于判斷游戲是否過關,通過判斷每個方格是否全是 D 狀態
//xago,yago 用于記錄移動前的位置
//ax,ay表示行列式的行與列,用它們來控制游戲的關數,ax位于3-6之間,ay位于4-7之間
//z來控制方格后的圖形
//第一關后面的圖形用1-6代表的圖形.第二關后面的圖形用0-9十個數。第三關后面的圖形用A-O十五個字母,
//第四關后面的圖形用A-T二十一個字母
標簽:
inita
lock
3.0
數組
上傳時間:
2015-06-19
上傳用戶:hgy9473