texas_holdem's Introduction
texas_holdem's People
texas_holdem's Issues
役が同じでキッカーも同じ場合のDraw処理を追加したい
fix winner.py
winner.pyの役が同じだった場合の処理を追加
変数名を修正したい
変数名やclass名などを一度全て見直したい
role.pyのself.number_collection、self.suit_collectionをコンストラクタから外したい
flushをself.__handに追加したい
role.pyハンドを返すようにしたい
現在role.pyは役の強さ(self.__role)のみを保存し、それを取得できるようにしているが同じ役だった場合にdrawや数値での判断のために手札を返すようにしたい
5枚を選択してself.__handに格納したい
ハンド+コミュニティーカードの7枚の内役が最強になるように5枚を選択し、self.__handに格納するように変更したい
update_roleを作成
現在self.__roleに設定されている値より小さい値がself.__roleに設定されないようにする。
現在self.__roleに設定されている値より大きい値がself.__roleに設定された時handも更新する。
test作成
winner.pyのtest作成とその他のtestをアップデートする
test_deck.py::test_shuffle()の作成
src/deck.pyのshuffle()をテストするtests/func/test_deck.pyのtest_shuffle()を作成する。
card.show()をstringで表示するのではなく画像で表示するように変更する
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.