/Tetris

Primary LanguageJava

About The Game

操作說明

務必以英文輸入模式遊玩

遊戲畫面

  • 上鍵:旋轉
  • 左右鍵:左右移動
  • 下鍵:下移一格
  • 空白鍵:移至底部
  • ESC 鍵:暫停

暫停畫面

  • ESC 鍵:返回遊戲

排行榜畫面

  • 英文字母:輸入名字(最多十位)
  • Backspace 鍵:刪除一位
  • Enter 鍵:確認上傳(僅有一次機會)
  • 上下鍵:捲動排行榜
  • 空白鍵:重新整理(僅連線失敗時)

計分方式

以單次消除行數計分

  • 1 行:40 分
  • 2 行:100 分
  • 3 行:300 分
  • 4 行:1200 分

升級與下落速度

參考本文: https://tetris.fandom.com/wiki/Tetris_(NES,_Nintendo)

About The Source Code

Getting Started

Welcome to the VS Code Java world. Here is a guideline to help you get started to write Java code in Visual Studio Code.

Folder Structure

The workspace contains two folders by default, where:

  • src: the folder to maintain sources
  • lib: the folder to maintain dependencies

Meanwhile, the compiled output files will be generated in the bin folder by default.

If you want to customize the folder structure, open .vscode/settings.json and update the related settings there.

Dependency Management

The JAVA PROJECTS view allows you to manage your dependencies. More details can be found here.