Skip to content

ruchikxxii/tally-cb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

78 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Type Racer Game

Overview

Type Racer Game is a fun and interactive web-based typing game where players can test and improve their typing skills by racing against each other in real-time. The game is built using Express and Next.js with WebSockets for seamless communication between players.

Features

  • Real-time Typing: Players can compete against each other in real-time, typing the displayed text as quickly and accurately as possible.

  • Leaderboard: The game keeps track of the fastest typists and displays a leaderboard with the top performers.

  • Randomized Text: Each typing challenge presents random sentences or paragraphs, making each race exciting and different.

Installation and Setup

  1. Clone the repository

  2. Navigate to the backend folder

  3. Run npm install to install the backend modules

  4. Run node index.js in the terminal - this will start the backend server

  5. Navigate to the frontend/disp folder

  6. Run npm install to install the frontend modules

  7. Run npm run dev in another terminal - this will start the frontend

  8. Open your web browser and go to http://localhost:3000 to access the Type Racer Game.

How to Play

  1. Choose the mode which you want to play and then enter the details respectively.

  2. If playing multiplayer then wait for other players to join the race.

  3. Once all players are ready, the game will start, and a random text will appear on the screen.

  4. Type the displayed text as quickly and accurately as possible.

  5. The first player to complete the text wins the race, and their time will be recorded on the leaderboard.

  6. Enjoy and improve your typing speed with each game!

Technologies Used

  • Express: A minimal and flexible Node.js web application framework.

  • Next.js: A React framework for building server-side rendered applications.

  • Socket.IO: Used for real-time communication between players during the typing race.

About

tally cb

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published