Skip to content

amy-chen23/SlapJack

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🃏 Slapjack

A fast-paced, two-player card game built for the browser!
Test your reflexes and observation skills—slap the pile when you spot a Jack, double, sandwich, or top-bottom match.
Built with vanilla JavaScript, HTML, and CSS.


🎮 How to Play

  • Player 1: Press A to slap
  • Player 2: Press L to slap
  • Slap when:
    • The top card is a Jack
    • Two cards of the same rank are on top (Double)
    • The top and third card are the same (Sandwich)
    • The top and bottom card are the same (Top-Bottom)
  • Win the pile if you slap correctly!
  • Lose a card if you slap incorrectly.

🖥️ Features

  • Animated, realistic card pile with random rotation and stacking
  • Scoreboard for both players
  • Reaction time display for successful slaps
  • Responsive, modern design
  • Restart and next round controls

Enjoy the game and may the fastest slap win! ✋🃏

About

A fast-paced, two-player card game built for the browser!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • JavaScript 55.8%
  • CSS 34.5%
  • HTML 9.7%