〇Robocodeの画面(AlmaLinux 9)
〇Robocodeの画面(Rocky Linux 9)
インストール方法
シェルから以下のコマンド実行しますsudo dnf install -y java-17-openjdk-devel
sudo mkdir -p /opt/robocode
cd /opt/robocode
sudo wget --inet4-only 'https://sourceforge.net/projects/robocode/files/robocode/1.9.4.7/robocode-1.9.4.7-setup.jar'
sudo jar xvf robocode-1.9.4.7-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
0 件のコメント:
コメントを投稿