15 Star 30 Fork 8

slowrookie/Qt-Tetrix

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
main.cpp 478 Bytes
一键复制 编辑 原始数据 按行查看 历史
slowrookie 提交于 2013-11-11 10:25 . create push
#include <QApplication>
#include <stdlib.h>
#include <QDebug>
#include <QTime>
#include "tetrixwindow.h"
#include "tetrixboard.h"
int main(int argc, char *argv[])
{
QApplication app(argc, argv);
TetrixWindow window;
window.show();
// TetrixBoard board;
// board.resize(380,620);
// board.start();
// board.show();
//初始化随机数种子
qsrand(QTime(0,0,0).secsTo(QTime::currentTime()));
return app.exec();
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C++
1
https://gitee.com/slowrookie/Qt-Tetrix.git
git@gitee.com:slowrookie/Qt-Tetrix.git
slowrookie
Qt-Tetrix
Qt-Tetrix
master

搜索帮助