A web application for managing and displaying Valorant map picks and bans between two teams. This project is built using PHP and JavaScript and can be hosted on a PHP-enabled server.
- Enter and save team names.
- Pick or ban maps for each team.
- Display the results of the map picks and bans.
- Reset team names and map choices.
- Dynamic updates with animations for the latest choices.
- A web server with PHP support (e.g., Apache, Nginx).
- PHP 7.0 or later.
-
Clone the repository to your web server's root directory:
git clone https://github.com/TechSanjal/valorant-map-pick-ban.git cd valorant-map-pick-ban
-
Ensure the web server has write permissions to the project directory to allow PHP to create and modify
teams.json
andchoices.json
files.
- Open
index.php
in your browser. - Enter the names of Team 1 and Team 2.
- Click "Save Team Names" to save the team names and proceed to the map pick/ban form.
- Select the team, action (Pick or Ban), and the map.
- If the action is "Pick", select the opponent's side (Attack or Defense).
- Click "Submit" to save the choice.
- Choices will be stored and can be reset using the "Reset Choices" button.
- Open
display.php
in your browser to view the results of the map picks and bans. - The display will automatically refresh every 5 seconds to show the latest choices.
- Use the "Reset Team Names" button to clear the saved team names.
- Use the "Reset Choices" button to clear the saved map choices.
- Use the "Reset All" button to clear both team names and map choices.
├── index.php
├── resetTeams.php
├── saveTeams.php
├── display.php
├── getTeams.php
├── submitChoice.php
├── resetChoices.php
├── getChoices.php
├── teams.json (auto-generated)
├── choices.json (auto-generated)
- Fork the repository.
- Create a new branch (
git checkout -b feature-branch
). - Make your changes.
- Commit your changes (
git commit -m 'Add some feature'
). - Push to the branch (
git push origin feature-branch
). - Open a Pull Request.
This project is licensed under the MIT License - see the LICENSE file for details.
If you have any questions or suggestions, please feel free to contact me at [hello@wiser.com.np].
Thank you for using the Valorant Map Pick and Ban System! Enjoy your matches!