- Java 17 or higher (JDK)
- Terminal/command prompt
- Text editor or IDE (IntelliJ IDEA, Eclipse, VS Code recommended)
java -version # Should show 11 or higher
javac -version # Should show 11 or higherIf not installed: Download from Oracle or OpenJDK
Linux/Mac:
cd scripts
chmod +x *.sh
./build_script.shExpected output:
=========================================
Mastermind Multiplayer - Build
=========================================
Creating bin directory...
Compiling source files...
√ Build successful!
If compilation fails: Check Java version, verify all .java files are in src/ directory.
./run-client.sh Terminal 2:
cd scripts
./run-server.shServer should start and wait for connections