A Typeracer game using Laravel, where players can compete by typing text passages as fast as they can. This README will guide you through the setup and usage of the Typeracer game.
- Diverse text passages for players to type.
- Leaderboard to track the fastest typists.
- User authentication and profiles.
- Chosoe your own buddy to type along
Follow these instructions to set up and run the Typeracer game on your local machine.
Make sure you have the following software installed on your computer:
- PHP: Download and install PHP from https://www.php.net/.
- Composer: Download and install Composer from https://getcomposer.org/.
- Laravel: Install Laravel globally using Composer:
composer global require laravel/installer
- Clone the Typeracer repository to your local machine using Git:
git clone https://github.com/yourusername/typeracer.git
- Navigate to the project directory:
cd typeracer
- Install the project dependencies:
composer install
-
Create a copy of the .env.example file and name it .env. Update the database configuration and other environment variables in this file.
-
Generate an application key:
php artisan key:generate
- Migrate the database:
php artisan migrate
- Start the Laravel development server:
php artisan serve
- Open your web browser and go to
http://localhost:8000
to view the Typeracer game.
- Customize the game settings, such as text passages, typing speed requirements, and scoring, by modifying the configuration files in the
config
directory.
-
Register or log in as a user on the Typeracer website.
-
Choose your typing buddy!
-
Start typing the displayed passage as fast and accurately as you can.
-
Compete for the top spot on the leaderboard!
We welcome contributions from the community. To contribute to the Typeracer game, please follow these steps:
-
Fork the repository on GitHub.
-
Clone your forked repository to your local machine.
-
Create a new branch for your feature or bug fix.
-
Make your changes and test them thoroughly.
-
Commit your changes and push them to your fork on GitHub.
-
Create a pull request to the main repository's
main
branch.
SpaceSite is open-source software licensed under the MIT License. Feel free to use, modify, and distribute it as per the terms of the license. Please attribute the project if you use it in your own work.