Sea Battle is a thrilling and strategic command-line interface (CLI) game that brings the classic naval combat experience to your terminal. Engage in intense battles on the high seas as you command your fleet of battleships and submarines, aiming to outmaneuver and outgun your opponent.
- Install Java 20
- Download latest jar from releases
- For linux only:
sudo apt update sudo apt install libxkbcommon-x11-0
- Run application with
java -jar seabattle-1.0.jar
(replace with your version)
sudo apt-get update
wget https://download.oracle.com/java/20/latest/jdk-20_linux-x64_bin.deb
sudo dpkg -i jdk-20_linux-x64_bin.deb
If you get an error dpkg: error processing package jdk-20
Run this command:
apt --fix-broken install
And then run dpkg again sudo dpkg -i jdk-20_linux-x64_bin.deb
wget https://download.oracle.com/java/20/latest/jdk-20_linux-aarch64_bin.rpm
sudo rpm -i jdk-20_linux-aarch64_bin.rpm
Open .bashrc
file
nano ~/.bashrc
Add this lines to the end of the file:
export JAVA_HOME="/usr/lib/jvm/jdk-20/"
export PATH=$JAVA_HOME/bin:$PATH
Save and exit the file, then relogin
Then check if java is installed:
java -version
> java version "20.0.1" 2023-04-18
> Java(TM) SE Runtime Environment (build 20.0.1+9-29)
> Java HotSpot(TM) 64-Bit Server VM (build 20.0.1+9-29, mixed mode, sharing)
- [Windows] App not shutting down if you close windows
- [Windows] Key listener listening always