In Love Letter, players compete to win the princess's heart by strategically playing cards and outwitting their opponents. The game consists of a series of rounds where players earn tokens of affection. The first player to reach the required number of tokens (based on the number of players) wins the game.
- Gameplay: Recreates the core mechanics of the original game through a command line interface.
- Customizable Rounds: Supports various player counts, adapting the winning conditions dynamically.
This project utilizes the following tools, frameworks, and technologies:
- Java 17.0.9 – Core programming language.
- Maven 3.9.9 – Build and dependency management tool.
- JUnit 5 – For writing and running unit tests.
- Mockito 5.6.0 – Mocking framework for testing.
- EasyMock 5.2.0 – Alternative mocking library for flexible testing scenarios.
-
Open the Project:
- Use Visual Studio Code (VS Code) or your preferred IDE.
-
Locate the Entry Point:
- Open the
Main.javafile located in thesrc/main/javadirectory.
- Open the
-
Run the Application:
- In VS Code, click the Run button in the top-right corner or use the IDE's integrated terminal.
-
Interact with the Game:
- The application runs in the command-line interface. Follow the prompts to play the game.