Scribble Game is a real-time multiplayer drawing and guessing game built using React and Socket.IO. Players take turns drawing a word while others try to guess it.
- Real-time drawing and guessing
- Turn-based game play
- Word guessing with feedback
- Clear canvas functionality
- User-friendly interface
- Node.js and npm installed on your machine
-
Clone the repository:
git clone https://github.com/Abanoub321/scribble-game-clone.git cd scribble-game-clone
-
Install dependencies for both client and server:
cd client npm install cd ../server npm install
-
Start the server:
cd server npm start
-
Start the client:
cd client npm start
-
Open your browser and navigate to
http://localhost:3000
to start playing.
-
client/
: Contains the React frontend codesrc/components/
: React components for the gamesrc/App.tsx
: Main application componentsrc/App.css
: Styles for the application
-
server/
: Contains the Node.js backend codesrc/index.ts
: Server setup and configurationsrc/socket.ts
: Socket.IO connection handlingsrc/game.ts
: Game logic and state managementsrc/utils.ts
: Utility functions
This application was developed with the help of Cursor, an AI-powered code editor that assists in writing and refactoring code efficiently.
This project is licensed under the MIT License - see the LICENSE file for details.