From f0416db9c2b5e9146a55d101ef9f0e0f03269f82 Mon Sep 17 00:00:00 2001 From: Vikramb987 <47336882+Vikramb987@users.noreply.github.com> Date: Fri, 12 Apr 2019 08:59:41 -0600 Subject: [PATCH] Update README.md fixed formatting --- README.md | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 39a60ad..603f519 100644 --- a/README.md +++ b/README.md @@ -27,21 +27,19 @@ To play the text-based version run MainText.java using java text.MainText ``` -# To run the test file PlayerTest.java, type in -For Linux: +# To run the test file PlayerTest.java for Linux type in: ``` javac -cp .:junit-4.12.jar:hamcrest-core-1.3.jar:jfxrt.jar gui/*.java text/*.java logic/*.java tests/*.java ``` -For Windows: +This compiles all the necessary files. Now, run PlayerTest.java by typing in +``` +java -cp .:junit-4.12.jar:hamcrest-core-1.3.jar org.junit.runner.JUnitCore tests.PlayerTest +``` +# To run the test file PlayerTest.java for Windows, type in: ``` javac -cp .;junit-4.12.jar;hamcrest-core-1.3.jar;jfxrt.jar gui/*.java text/*.java logic/*.java tests/*.java ``` This compiles all the necessary files. Now, run PlayerTest.java by typing in -For Linux: -``` -java -cp .:junit-4.12.jar:hamcrest-core-1.3.jar org.junit.runner.JUnitCore tests.PlayerTest -``` -For Windows: ``` java -cp .;junit-4.12.jar;hamcrest-core-1.3.jar org.junit.runner.JUnitCore tests.PlayerTest ```