Welcome to the Web Game Site, a personal project where you can enjoy multiplayer and single-player games online with your friends. Currently, the platform features two games: TicTacToe and a Quiz Game, with plans to expand in the future.
A classic game brought to life using C#, React, and WebSocket. Enjoy both single-player and multiplayer modes!
- Singleplayer Mode:
Play against an AI with two difficulty levels:- Easy 🟢
- Hard 🔴
![]() |
![]() |
---|---|
![]() |
![]() |
- Multiplayer Mode:
Join one of three available rooms and play with friends. The game starts as soon as another player joins your room.- Enter your name for personalized gameplay ✍️
- Restart the game with mutual agreement 🌀
- Track scores throughout the game 🏆
![]() |
![]() |
---|---|
![]() |
![]() |
Test your knowledge by answering a series of timed questions. Compete to see how quickly you can answer each question, and review the correct answers at the end of the quiz.
- Time-based scoring system ⏲️
- Review correct answers after the quiz 📜
- Backend: C# (.NET)
- Frontend: JavaScript (React)
- API: WebSocket
To run the project locally, follow these steps:
-
Fork and Clone the Repository:
- Use your terminal to fork and clone this repository.
git clone https://github.com/najemhamo/WebGameSite.git
-
Run the Backend:
- Navigate to the
Backend
folder in the terminal. - Start the .NET project by running:
dotnet run
- Navigate to the
-
Run the Frontend:
- Navigate to the
Frontend
folder. - Install the required dependencies:
npm ci
- Install WebSocket:
npm install websocket
- Start the development server:
npm run dev
- Navigate to the
-
Access the Application:
- Open the link provided in your terminal to access the game site.
-
Multiplayer Mode:
- Open multiple browser tabs to simulate multiplayer with friends locally.
- Multiplayer Deployment: Soon, you'll be able to play the multiplayer mode online after the game is deployed to the web.
Stay tuned for more games and updates! 🚀
Feel free to contribute by forking the repo or opening issues for any bugs or suggestions. 🎉