Headshot Haven is a web application designed to help users improve their aiming skills through various interactive games and tools. The platform includes features like aim training, CPS (Clicks Per Second) tests, leaderboards, and more.
- Aim Training Game
- CPS Game
- Reaction Speed Game
- Weapon Specifications
- Roulette Game
- User Authentication (Sign Up/Sign In)
- Admin Panel for managing users and scores
- Frontend:
- HTML
- CSS (Bootstrap)
- JavaScript
- Backend:
- PHP
- MySQL/PHPmyAdmin
- Node.js
- Other:
- Apache (Web Server)
To set up the project locally, follow these steps:
-
Clone the repository:
git clone https://github.com/Abdi-Suufi/Headshot-Haven.git
-
Navigate to the project directory:
cd headshot-haven
-
Set up the database:
- Import the provided SQL script (
database.sql
) into your MySQL database. - Update the database connection details in
database.php
if needed.
- Import the provided SQL script (
-
Start the server:
- Ensure you have PHP and Apache installed. You can use Laragon, XAMPP or even get extension if you're using VSC. Paste 'brapifra.phpserver' into VSC extensions and it should allow you to serve your project a server.
- If you are using Laragon or XAMPP, place the project folder in your Apache server's root directory. h2docs for XAMPP and WWW for Laragon.
- Start the Apache server.
-
Access the application: Open your web browser and navigate to
http://localhost:3000/index.php
. Make sure you're using the right port. Usually 3000 8080 or 5500. -
Sign up or log in:
- Create a new user account or log in with existing credentials.
- For admin, login with username: admin and password: admin and make sure to tick the admin box.
-
Use the features:
- Navigate through the application using the navigation bar.
- Play the aim training games, check the leaderboards, and explore other features.
If you would like to contribute to this project, please follow these steps:
- Fork the repository.
- Create a new branch:
git checkout -b feature/your-feature-name
- Make your changes and commit them:
git commit -m 'Add some feature'
- Push to the branch:
git push origin feature/your-feature-name
- Create a pull request.
- Name: Abdi Rahman Suufi
- Email: abdisuufi123@gmail.com
- GitHub: Abdi-Suufi