Skip to content

haato-w/TetrisSystemWithPython

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

TetrisSystemWithPython

テトリスプログラムです。
Pythonで実装しており、ゲーム処理部分はサーバー、GUI部分をクライアントとして通信する形になっています。
ゲームオーバー時に消した行数ををポイントとして表示します。

tetris_python_single

【実行方法】

  1. Pythonが実行できる環境にプログラムを設置する
  2. player.pyを実行する
  3. client_gui.pyを実行する
  4. ゲーム開始
  5. ゲーム終了後 ポイントがコマンドラインに表示される

【操作方法】

キーボード操作になります
w: ミノの向きを変更
d: ミノを右に移動
s: ミノを下に移動
a: ミノを左に移動

【詳細】

ミノに色はついていません。

言語:Python
GUI:Tkinter

client_gui.py:GUIを実装 通信ではクライアント部分
mino_shapes.py:ミノの形を表すデータを保持
player.py:ゲーム処理を実装 通信ではサーバー部分

About

This is a repository of Tetris game code with python

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages