Scala program allowing a user to play a Connect 4 game against a player or a computer.
What you need to install, compile and run the project :
- Java - 1.8
- Scala - 2.13.1
- sbt - 1.3.8 (optional for execution)
- Go to the
connect-fourfolder containing thebuild.sbtfile.
cd connect-four\- Run
sbt
sbt- Enter
compileto compile (obviously)
compileYou can also compile with the following command without running sbt
sbt run- Go to the
connect-fourfolder containing the JAR filepuissance-4.jar
cd connect-four\- Enter the following command to execute the program
scala puissance-4.jar- Go to the
connect-fourfolder containing the filebuild.sbt
cd connect-four\- Run
sbt
sbt- Enter
~run. The~is optional and causes sbt to re-run every time you save a file, allowing a fast edit/run/debug cycle. sbt also generates a target directory that you can ignore.
~runYou can also execute with the following command without running sbt
sbt run- Dorian Chau - Initial work - chaudorian
This project is licensed under the MIT License - see the LICENSE file for details