Welcome to Battlefront! This is a two-player game built with C# using Windows Forms in Visual Studio. Players will engage in exciting battles between characters, each with their own attack and defense stats. The objective of the game is to reduce your opponent's HP (Hit Points) to zero. Let the battle begin!
play.mp4
To run this game, you need to have Visual Studio installed on your system. Follow these steps:
- Clone this repository to your local machine
- Run the exe file
GameUI.exe
within the root directory of the project to start the game.
- Starting: The start screen shows when you run the code and the user(s) would need to click the
Add Player
button and add two players. - Cards Selection: Once the players have been added, you click the
Start Game
button to start the game. Each player will be given 5 cards from the deck. - Battle: Players take turns attacking each other. The attack power of the attacking player's character will be compared against the defense of the defending player's character. Damage will be calculated accordingly, and the defending player's HP will only be reduced if the attack power is greater than the defense.
- Win Condition: The game continues until one player's HP drops to zero. The player whose HP isn't zero wins the game.
- Two-player turn-based gameplay.
- Various characters with different attack and defense attributes.
- Engaging battle mechanics.
- C#
- Windows Forms
- Potential to add more functionality and features.
Contributions are welcome! If you have any suggestions, ideas, or bug fixes, feel free to open an issue or create a pull request.
This project is licensed under the MIT License.