hxu10 / minesweeper Goto Github PK
View Code? Open in Web Editor NEWThe automatic minesweeper code
Home Page: http://www.bilibili.com/video/av8840844/
The automatic minesweeper code
Home Page: http://www.bilibili.com/video/av8840844/
889行 if(plot>=0 && plot<=groupsize) group[plot]++;
访问越界
修改: if(plot>=0 && plot<groupsize) group[plot]++;
代码好像有点问题,在makeclear()函数那里,下面是出错警报,有空看一下呗:smile:
||=== 构建文件: "无目标" 在 "无项目" 中 (编译器: 未知的) ===|
C:\Users\acer\Downloads\Minesweeper-master\Minesweeper-master\main function.c|522|error: conflicting types for 'makeclear'|
C:\Users\acer\Downloads\Minesweeper-master\Minesweeper-master\main function.c|308|note: previous definition of 'makeclear' was here|
C:\Users\acer\Downloads\Minesweeper-master\Minesweeper-master\main function.c||In function 'randomchoice':|
C:\Users\acer\Downloads\Minesweeper-master\Minesweeper-master\main function.c|677|error: expected expression before 'int'|
C:\Users\acer\Downloads\Minesweeper-master\Minesweeper-master\main function.c||In function 'main':|
C:\Users\acer\Downloads\Minesweeper-master\Minesweeper-master\main function.c|782|error: expected expression before 'int'|
C:\Users\acer\Downloads\Minesweeper-master\Minesweeper-master\main function.c|783|error: expected expression before 'int'|
C:\Users\acer\Downloads\Minesweeper-master\Minesweeper-master\main function.c|784|error: expected expression before 'int'|
C:\Users\acer\Downloads\Minesweeper-master\Minesweeper-master\main function.c|785|error: expected expression before 'int'|
C:\Users\acer\Downloads\Minesweeper-master\Minesweeper-master\main function.c|786|error: expected expression before 'int'|
C:\Users\acer\Downloads\Minesweeper-master\Minesweeper-master\main function.c|888|error: expected expression before 'int'|
C:\Users\acer\Downloads\Minesweeper-master\Minesweeper-master\main function.c|889|error: 'group' undeclared (first use in this function)|
C:\Users\acer\Downloads\Minesweeper-master\Minesweeper-master\main function.c|889|note: each undeclared identifier is reported only once for each function it appears in|
C:\Users\acer\Downloads\Minesweeper-master\Minesweeper-master\main function.c|907|error: 'groupsucceed' undeclared (first use in this function)|
C:\Users\acer\Downloads\Minesweeper-master\Minesweeper-master\main function.c|907|error: 'grouptime' undeclared (first use in this function)|
C:\Users\acer\Downloads\Minesweeper-master\Minesweeper-master\main function.c|907|error: 'groupclick' undeclared (first use in this function)|
C:\Users\acer\Downloads\Minesweeper-master\Minesweeper-master\main function.c|907|error: expected expression before 'int'|
C:\Users\acer\Downloads\Minesweeper-master\Minesweeper-master\main function.c|939|error: expected expression before 'int'|
C:\Users\acer\Downloads\Minesweeper-master\Minesweeper-master\main function.c|940|error: expected expression before 'int'|
C:\Users\acer\Downloads\Minesweeper-master\Minesweeper-master\main function.c|941|error: expected expression before 'int'|
||=== 构建 失败: 16 error(s), 0 warning(s) (0 分, 0 秒) ===|
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.