The goal of this project will be to create a basic Hangman game. See https://www.galgje.com/ to get an idea of how the game works. We will stick to a command-line version of the game
Story description
A basic project setup has already been done for you. You can clone it as follows:
git clone git@github.com:deltasource/hangman.git
This will create a "hangman" project folder in the folder that you are in. Go into that folder. You'll see:
a README.md file (now empty, we will add content in there along the way).
a main class called Hangman.
Acceptance criteria
Make sure you can compile and run the project. We'll use maven (mvn) for that. Your current project contains a maven wrapper (mvnw) that you can use to do things such as:
compile the project: mvnw compile (you should see BUILD SUCCESS)
run the project: mvnw java:exec (you should see BUILD SUCCESS. You should also see Replace me, which is being printed by the Hangman class.
Note that you can also run the project without maven, just with java. From the root directory of the project:
java -cp target\classes eu.deltasource.hangman.Hangman (you should see Replace me).
When your project is set up like this, you should also be able to work with it from Eclipse without issue.
Goal
The goal of this project will be to create a basic Hangman game. See https://www.galgje.com/ to get an idea of how the game works. We will stick to a command-line version of the game
Story description
A basic project setup has already been done for you. You can clone it as follows:
This will create a "hangman" project folder in the folder that you are in. Go into that folder. You'll see:
Acceptance criteria
Make sure you can compile and run the project. We'll use maven (mvn) for that. Your current project contains a maven wrapper (mvnw) that you can use to do things such as:
mvnw compile
(you should seeBUILD SUCCESS
)mvnw java:exec
(you should seeBUILD SUCCESS
. You should also seeReplace me
, which is being printed by the Hangman class.Note that you can also run the project without maven, just with java. From the root directory of the project:
java -cp target\classes eu.deltasource.hangman.Hangman
(you should seeReplace me
).When your project is set up like this, you should also be able to work with it from Eclipse without issue.