Skip to content

SatoMichi/Mahjong_in_Python

Repository files navigation

日本麻雀

日本語説明
本プロジェクトは麻雀の中でも比較的複雑なルールを有する日本麻雀を行うためのプログラムをPythonを使用して実装したものである。本プロジェクトは第一段階としてCUI上で四人交代制による麻雀一局を行うことができるプログラム,第二段階として複数コンピューターがCUIを通してゲームに参加することができるプログラムを提供する。プログラムは大きく三つの部分からなる。一つ目は最上位レイヤーである有限オートマトンを利用したゲームマネージャークラス、二つ目はゲームに参加するプレイヤークラス、そして最後に役や点数の判定を行う点計算クラスである。

English Description
This project is a Python implementation of a program for playing Japanese mahjong, a game with relatively complicated rules. The first stage of this project is to provide a program that can play a game of mahjong with four players taking turns on the CUI, and the second stage is to provide a program that allows multiple computers to participate in the game through the CUI. The program consists of three major parts. The first is a game manager class that uses finite automata as the top layer, the second is a player class that participates in the game, and the last is a score calculation class that judges the hand and the scores.

中文解说
这个项目是,用Python实现的日本麻将程序,。日本麻将是一个规则相对复杂的游戏。这个项目的第一阶段是提供一个程序,让四个玩家在CUI上轮流打麻将,第二阶段是提供一个程序,让多台计算机通过CUI参与游戏。程序由三个主要部分组成。第一个是使用有限自动机作为顶层的游戏管理器,第二个是参与游戏的玩家,最后一个是判断役和分数的算法。

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages