Giter Club home page Giter Club logo

battlefront's Introduction

Battlefront

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!

Game Preview

Battlefront

play.mp4

Installation and Running the Game

To run this game, you need to have Visual Studio installed on your system. Follow these steps:

  1. Clone this repository to your local machine
  2. Run the exe file GameUI.exe within the root directory of the project to start the game.

How to Play

  1. 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.
  2. 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.
  3. 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.
  4. Win Condition: The game continues until one player's HP drops to zero. The player whose HP isn't zero wins the game.

Features

  • Two-player turn-based gameplay.
  • Various characters with different attack and defense attributes.
  • Engaging battle mechanics.

Technologies Used

  • C#
  • Windows Forms

Future Improvements

  • Potential to add more functionality and features.

Contributing

Contributions are welcome! If you have any suggestions, ideas, or bug fixes, feel free to open an issue or create a pull request.

License

This project is licensed under the MIT License.

battlefront's People

Contributors

udabasili avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.