Skip to content

Conversation

@1234-ad
Copy link

@1234-ad 1234-ad commented Nov 15, 2025

Description

Implements Carrom Clash - a digital version of the classic Carrom board game where players flick the striker to pocket coins.

Fixes #190

Features Implemented

Realistic Physics Engine

  • Collision detection between striker and coins
  • Coin-to-coin collisions with proper momentum transfer
  • Wall bouncing with restitution
  • Friction and velocity damping

Gameplay Mechanics

  • Turn-based 2-player system
  • Drag-and-release striker control
  • Power meter for shot strength
  • Visual aim line for precision
  • Automatic turn switching

Scoring System

  • White coins for Player 1 (10 points each)
  • Black coins for Player 2 (10 points each)
  • Red queen coin (50 points bonus)
  • Real-time score tracking

UI/UX

  • Responsive canvas design
  • Smooth animations
  • Turn indicator
  • Score display
  • Power meter visualization
  • Back to home button
  • New game reset functionality

Visual Design

  • Wooden board texture
  • Corner pockets
  • Colored coins (white, black, red)
  • Golden striker
  • Gradient backgrounds
  • Consistent with GameHub theme

Technical Details

  • Pure JavaScript with HTML5 Canvas
  • No external game libraries
  • Physics calculations for realistic gameplay
  • Mouse/touch input support
  • Integrated with existing GameHub styling

Testing

  • Tested striker movement and aiming
  • Verified collision physics
  • Confirmed scoring system
  • Validated turn switching
  • Checked responsive design

Screenshots

The game features a classic Carrom board with:

  • 4 corner pockets
  • 18 coins (9 white, 9 black, 1 red queen)
  • Golden striker
  • Power meter
  • Score tracking

Ready for review! 🎮

- Implement classic Carrom board game with physics
- Add striker and coin mechanics
- Include scoring system and turn-based gameplay
- Responsive canvas with touch/mouse controls
- Power meter for shot strength
- Realistic collision physics

Fixes kaifansariw#190
- Add Carrom Clash game entry to main.js
- Include game metadata and image
- Categorize as strategy game
@kaifansariw
Copy link
Owner

@1234-ad done

@kaifansariw
Copy link
Owner

@1234-ad what was the conflict with the branch ??

@kaifansariw
Copy link
Owner

@1234-ad star the repo if you like it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[NEW GAME] - Carrom Clash

2 participants