TA贡献885条经验 获得超1144个赞
给你提供一个思路:
用一种固定的格式表示推箱子的过程,存储时可以用这种方式: 0,0:RIGHT;1,0:DOWN;1,1:RIGHT;2,1:DOWN 解释:前边逗号分割的是坐标,冒号右边的是这个坐标的操作,每一个步骤用分号分割。
游戏开始时将文件读取到链表中,存储时遍历链表,将其格式化存入文件,如果数据安全重要,可以在存储时加密数据,再存储。
TA贡献868条经验 获得超0个赞
XFXFOXNWP
MJSQRJJZI
TXINVFOOA
ZURZOXDCZ
OFNLXQZSV
YWYMBHQAG
HOWFXGOUX
XIDOJMZSY
NLMTEKADW
KEWOJSSBO
LTFXWZNGH
WUNIUEYVL
EVHTVYYSS
GRJYXRHBY
UMZFRERLL
XFAEXIPIP
NYJVTDGDU
DUZLHBGGD
OGYNJCOIO
OPEQMZEII
ZXJVRTWAQ
VWSEJJEVM
DXDVKUZTA
OYKAZUHEV
UVNPBVPHX
LZFHWTGKJ
WOTSIRBOD
GHTOOXBBD
RCOKWGZAD
BZFAGGBYP
MKJYVMVSJ
DRJZUEOYX
MEZBHBBYE
HMYDVJCJT
SUZLHKNBO
RSBGFZCMG
URXTVOSVM
WSXDYCVCM
YPBRWGDQR
JUQVRKORB
OMRTFJCZM
ACYXJJTNK
AIRTLFZFT
PBVNJSMPH
YYKGCLVIC
GRNRTTGTU
SUTZLEROP
DVQCIVSFM
ESHTOVIPQ
MHDAGTDQH
VNCXDDYIJ
NSLXTNHTQ
VRDPLWXXO
GXXNXHBKK
KBXUZJXQX
PPBEMPMGH
YSIUZJMSJ
XGWHDNTDK
XIODMMMOF
CKZRXXQDR
NFHDDNHAR
UCOTFMZWH
QEKXDXAHB
RMLBJBVMW
WUJGZZMWT
XOAMIWZTK
VCYNNWQQQ
RSIMBLIVF
OWSNDGTTC
QBQWRRELC
NFACOBVUU
CKPBRAKHR
NOAGLLPCO
LMYXPCTGQ
XSEJNRORY
KLHWVPSVW
ECYAVBEXI
SPLRNRREL
EFAGLVIHI
KLUZVYSPT
VCOUP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