GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - bPavan16/ubiquitous-games: A modern real-time multiplayer gaming platform featuring Sudoku, Battleship, and Tic-Tac-Toe

BranchesTags
Open more actions menu

Latest commit

 

History

27 Commits
27 Commits

Folders and files

NameName
Last commit message
Last commit date
backend
backend
 
 
frontend
frontend
 
 
README.md
README.md
 
 

Repository files navigation

Ubiquitous Games Platform

A modern real-time multiplayer gaming platform featuring Sudoku, Battleship, and Tic-Tac-Toe. Built with cutting-edge web technologies for seamless multiplayer experiences with live chat, leaderboards, and responsive design.

Live Demo

✨ Features

Game Description Players Features
🧩 Sudoku Collaborative puzzle solving 1-4 Real-time sync, hints, difficulty levels
āš“ Battleship Classic naval combat 2 Ship placement, turn-based combat, animations
āŒ Tic-Tac-Toe Quick strategy matches 2 Fast gameplay, instant results

🌟 Platform Features

  • šŸ’¬ Real-time Chat - In-game messaging for all multiplayer games
  • šŸ† Live Leaderboards - Track progress and rankings in real-time
  • šŸ“± Mobile Responsive - Optimized for all devices and screen sizes
  • šŸš€ Modern UI - Beautiful interface with smooth animations
  • šŸ”„ Auto-reconnect - Robust connection handling with automatic reconnection

šŸ› ļø Tech Stack

Frontend

React TypeScript Tailwind Vite

  • React 19 - Latest React with concurrent features
  • TypeScript - Full type safety and enhanced developer experience
  • Zustand - Lightweight state management for each game
  • Tailwind CSS 4 - Modern utility-first styling with animations
  • Shadcn UI - Beautiful, accessible component library
  • Vite - Lightning-fast build tool and dev server

Backend

Node.js Express Socket.IO

  • Node.js & Express - Scalable server architecture
  • Socket.IO - Real-time bidirectional communication
  • CORS - Cross-origin resource sharing configuration

šŸš€ Quick Start

Prerequisites

  • šŸ“¦ Node.js 18+
  • šŸ”§ npm or yarn

Installation

# 1ļøāƒ£ Clone the repository
git clone https://github.com/bPavan16/ubiquitous-sudoku.git
cd ubiquitous-sudoku

# 2ļøāƒ£ Install dependencies
cd backend && npm install
cd ../frontend && npm install

# 3ļøāƒ£ Setup environment files
cp backend/.env.example backend/.env
cp frontend/.env.example frontend/.env

Running Locally

# šŸ–„ļø Start backend (Terminal 1)
cd backend && npm run dev
# āžœ Server: http://localhost:3001

# 🌐 Start frontend (Terminal 2)  
cd frontend && npm run dev
# āžœ App: http://localhost:5173

šŸŒ API Endpoints

  • šŸ„ Health Check: http://localhost:3001/api/health
  • šŸŽ® Available Games: http://localhost:3001/api/games
  • šŸ“Š Game Stats: http://localhost:3001/api/stats

šŸš€ Deployment

Vercel (Recommended)

Deploy with Vercel

Backend Setup

  1. Import your repo to Vercel
  2. Set root directory to backend/
  3. Add environment variables:
    NODE_ENV=production
    CORS_ORIGIN=https://your-frontend-domain.vercel.app
    

Frontend Setup

  1. Create new Vercel project for frontend
  2. Set root directory to frontend/
  3. Add environment variable:
    VITE_BACKEND_SERVER_URL=https://your-backend-domain.vercel.app
    

āš ļø Note: Vercel uses polling transport for Socket.IO (no WebSocket support in serverless)

šŸ“ Project Structure

šŸ“¦ ubiquitous-games/
ā”œā”€ā”€ šŸ–„ļø  backend/           # Node.js Express Server
│   ā”œā”€ā”€ src/games/         # Game logic implementations  
│   ā”œā”€ā”€ src/socket/        # Socket.IO management
│   └── src/index.js       # Server entry point
ā”œā”€ā”€ 🌐 frontend/           # React Application
│   ā”œā”€ā”€ src/components/    # React components
│   ā”œā”€ā”€ src/store/         # Zustand state stores
│   └── src/App.tsx        # Main app component
└── šŸ“ README.md          # Project documentation

šŸ¤ Contributing

We welcome contributions! Here's how you can help:

  1. šŸ“ Fork the repository
  2. 🌟 Create your feature branch (git checkout -b feature/amazing-feature)
  3. šŸ’¾ Commit your changes (git commit -m 'Add amazing feature')
  4. šŸ“¤ Push to the branch (git push origin feature/amazing-feature)
  5. šŸ”„ Open a Pull Request

šŸ‘Øā€šŸ’» Author

bPavan16

  • šŸ™ GitHub: @bPavan16
  • šŸ“« Repository: ubiquitous-sudoku

šŸ“„ License

This project is licensed under the MIT License - feel free to use it however you'd like!


šŸŽ® Ready to play? Start Gaming Now! šŸŽ®

Made with ā¤ļø by bPavan16

About

A modern real-time multiplayer gaming platform featuring Sudoku, Battleship, and Tic-Tac-Toe

ubiquitous-games.vercel.app/

Topics

mern-stackmultiplayer-gamesocket-ioweb-development

Resources

Readme
Activity

Stars

1 star

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800Ɨ600. No cookies required.