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?

作品:ルビーチェス(Ruby Chess)

Last updated at Posted at 2021-12-16

#概要
Odin Projectのレッスンで作成したチェスゲームです

レッスンURL: https://www.theodinproject.com/paths/full-stack-ruby-on-rails/courses/ruby-programming/lessons/ruby-final-project

Github: https://github.com/RistoLibera/Ruby_Chess

1.png

作品URL: https://replit.com/@qofgxnm7b/RubyChess?v=1

#使用技術
・Ruby
・Replit
・Git
・GitHub
・Oracle VM VirtualBox

#内容一覧

3.png

AIまたは友達と対戦できます。名前を入力し、白か黒を選びます。

1.png

a~hと1~8を組み合わせた文字列を入力して、駒を選択します。

6.png

緑のブロックは選択中の駒、赤いブロックは移動可能なマスを示します。

7.png

駒を移動しました!

8.png

キーボードの「S」を押すと、ゲームを保存できます。

9.png

保存したゲームにアクセス可能です。

10.png

保存時の状態から再開できます。

11.png

勝利!

#まとめ

初めて学んだ知識を活用し、1か月かけてこのプログラムを完成させました。
制作中は多くの困難に直面しましたが、それらを解決することでプログラミング力が大きく向上しました。

また、ターミナル操作やVirtualBoxの扱いにも習熟しました。

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?