Skip to content

chaudorian/connect-four

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Connect Four

Scala program allowing a user to play a Connect 4 game against a player or a computer.

Prerequisites

What you need to install, compile and run the project :

  • Java - 1.8
  • Scala - 2.13.1
  • sbt - 1.3.8 (optional for execution)

Compiling

  1. Go to the connect-four folder containing the build.sbt file.
cd connect-four\
  1. Run sbt
sbt
  1. Enter compile to compile (obviously)
compile

You can also compile with the following command without running sbt

sbt run

Running

With Scala

  1. Go to the connect-four folder containing the JAR file puissance-4.jar
cd connect-four\
  1. Enter the following command to execute the program
scala puissance-4.jar

With SBT

  1. Go to the connect-four folder containing the file build.sbt
cd connect-four\
  1. Run sbt
sbt
  1. 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.
~run

You can also execute with the following command without running sbt

sbt run

Authors

License

This project is licensed under the MIT License - see the LICENSE file for details

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages