〇Robocodeの画面
インストール方法
シェルから以下のコマンド実行しますsudo dnf -y install dnf-plugins-core epel-release
sudo dnf config-manager --set-enabled powertools
sudo dnf -y update
sudo dnf install -y java-11-openjdk-devel
sudo dnf --enablerepo=powertools install nkf
sudo mkdir -p /opt/robocode
cd /opt/robocode
sudo wget 'https://sourceforge.net/projects/robocode/files/robocode/1.9.4.2/robocode-1.9.4.2-setup.jar'
sudo jar xvf robocode-1.9.4.2-setup.jar
sudo chmod +x /opt/robocode/robocode.sh
cat << EOF | sudo tee /usr/share/applications/robocode.desktop
[Desktop Entry]
Type=Application
Version=1.0
Name=Robocode
GenericName=Tank AI programming game for Java and .NET
Comment=Build the best - destroy the rest!
Icon=/opt/robocode/desktop/robocode.png
Exec=/opt/robocode/robocode.sh
Categories=Game;StrategyGame;
EOF
sudo nkf -Lu --overwrite /opt/robocode/robocode.sh
0 件のコメント:
コメントを投稿