-
Notifications
You must be signed in to change notification settings - Fork 61
Getting Started ‐ Phase 5
GitHub Action edited this page Jul 18, 2025
·
1 revision
The Starter Code has 2 folders, client and ui. Complete the following steps to move the starter code into your project for this phase.
- Open your chess project directory.
- Create the folder
client/src/main/java/ui. This is where you will put your client application code. - Copy the
starter-code/5-pregame/ui/EscapeSequences.javafile into your project'sclient/src/main/java/uifolder. This file defines values that you can use to control the coloration of your console output. - Create the folder
client/src/test/java/client. This is where you will put your client unit tests. - Mark the
client/src/test/javadirectory asTest sources rootby right clicking on the folder and selecting theMark Directory asoption. This enables IntelliJ to run this code as tests. - Copy the
starter-code/5-pregame/client/ServerFacadeTests.javafile into theclient/src/test/java/clientfolder. This test class is meant to get you started on your server facade tests. It includes code for starting and stopping your HTTP server so that your tests can make server requests.
This should result in the following additions to your project.
└── client
└── src
├── main
│ └── java
│ └── ui
│ └── EscapeSequences.java
└── test
└── java
└── client
└── ServerFacadeTests.java