0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

【製作進捗】BlackJack:04

Posted at

初めに

前回まででほとんど製作の部分は終わっていたので、今回はGitHubで公開しましたという報告がメインです。

更新内容

プログラム更新

  • 前回記事のコメントにもあった「ディーラーは17点以上になるまでHitを繰り返す」という条件に変更しました。
BlackJack_main.java
		//ディーラーの行動
		while(cardPoints_dealer<17) {
			handCard_dealer.add(bills.get(0));
			System.out.println("ディーラーの引いたカードは["+handCard_dealer.get(handCard_dealer.size()-1)+"]です");
			cardPoints_dealer+=points.get(handCard_dealer.get(handCard_dealer.size()-1));
			bills.remove(0);
			System.out.println("ディーラーの得点は"+cardPoints_dealer+"点です");
			JUDGE.judge(cardPoints,cardPoints_dealer);
			if(JUDGE.result != "") {
				System.out.println("BlackJack終了!また遊んでね☆");
				return;
			}
		}		//while文締め

Github

上記の更新までを含めたプログラミングをGithubで公開しました。

DoroRitch/BlackJack

最後に

全体で二週間弱ほどかかってしまいましたが、ひとまず終わりということで区切りをつけたいと思います。

今後

今後はもっと気軽にアウトプットできる技術ブログサービス「Qrunch(クランチ)」をリリースした【個人開発】で紹介されているQrunchで記事の執筆などしていこうと思います。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?