Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TanaStudy/Java-Study
/ main
Method
main
8. Demo/Java/src/main/LeetCode/Tetris/Main.java:77–80 ·
view source on GitHub ↗
(String[] args)
Source
from the content-addressed store, hash-verified
75
}
76
/*主函数*/
77
public
static
void
main(String[] args) {
78
Main m =
new
Main();
//创建Main对象,主要用于初始化数据
79
m.go();
// 开始游戏
80
}
81
/*开始游戏*/
82
public
void
go() {
// 开始游戏
83
while
(true) {
//游戏开始直到游戏失败才结束,否则一直执行
Callers
nothing calls this directly
Calls
1
go
Method · 0.95
Tested by
no test coverage detected