Skip to content

turinglabsorg/bitcoin-crazy-pong

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

Bitcoin Crazy Pong 🏓

A Bitcoin-themed Pong game where the difficulty dynamically adjusts based on the Bitcoin mempool size. Play against Satoshi Nakamoto himself!

🎮 Game Features

  • Dynamic Difficulty: Game difficulty updates every 5 seconds based on real-time Bitcoin mempool data
  • Bitcoin Integration: Uses mempool.space API to fetch live network data
  • Smooth Controls:
    • Desktop: Use up/down arrow keys
    • Mobile: Swipe to move your paddle
  • Momentum Physics: Paddle movement has realistic momentum and smooth controls
  • Bitcoin Orange Ball: The ball changes size based on its speed
  • Live Score Display: Track your score against Satoshi

🎯 How to Play

  1. Control your paddle (left side) using:
    • Desktop: Arrow keys (↑/↓)
    • Mobile: Swipe up/down
  2. Try to hit the Bitcoin orange ball past Satoshi's paddle
  3. Watch the difficulty change every 5 seconds based on the Bitcoin mempool
  4. Score points by getting the ball past Satoshi's paddle

🔄 Difficulty System

The game's difficulty is determined by the Bitcoin mempool size:

  • More transactions in the mempool = Higher difficulty
  • Difficulty updates every 5 seconds
  • Affects Satoshi's paddle movement and prediction accuracy
  • Mempool size range: 1,000 to 50,000 transactions

🚀 Live Demo

Play the game here: Bitcoin Crazy Pong

💡 Technical Details

  • Built with vanilla JavaScript and HTML5 Canvas
  • Real-time mempool data from mempool.space API
  • Responsive design for both desktop and mobile
  • Smooth animations and physics-based movement

🎨 Visual Elements

  • Bitcoin orange-colored ball that shrinks with speed
  • Bitcoin symbol watermark in the background
  • Clean, minimalist interface
  • Score display with player names

🤝 Contributing

Feel free to fork and contribute to this project! Pull requests are welcome.

📝 License

This project is open source and available under the MIT License.

🎮 What's This Madness?

This isn't your grandpa's Pong. This is Bitcoin Crazy Pong, where:

  • The AI opponent is literally Satoshi Nakamoto
  • The game's difficulty follows Bitcoin mining difficulty adjustments (↑ harder, ↓ easier)
  • The ball is Bitcoin orange and gets smaller when moving fast (just like your portfolio in a bear market)
  • Your paddle has momentum after sliding (like Bitcoin's price after whale moves)

🕹️ How to Play

  • Desktop: Use Up/Down arrow keys
  • Mobile: Slide your finger up/down
  • Pro tip: Release your slide with momentum for extra paddle movement
  • Extra tip: Move your paddle while hitting for extra ball speed

🤖 About Your Opponent

You're playing against Satoshi's AI, and just like Bitcoin mining, it adjusts with the network. When the mining difficulty increases (↑), Satoshi gets harder to beat. When it decreases (↓), you might have a better chance! The game shows you the current difficulty change percentage, so you know what you're up against.

🎯 Features

  • Real-time Bitcoin mining difficulty adjustment tracking
  • Dynamic ball physics with size changes
  • Paddle momentum system for smooth controls
  • Responsive design for both desktop and mobile
  • Retro monospace aesthetic with Bitcoin orange accents
  • Live difficulty change indicator (↑↓)

🏆 Can You Beat Satoshi?

Probably not. Just like trying to figure out who Satoshi really is, beating them at Pong is pretty much impossible. But hey, at least you can have fun trying! Watch for those difficulty drops - that's your chance!

🚀 Ready to Play?

Head over to https://turinglabsorg.github.io/bitcoin-crazy-pong and start playing! No wallet needed, just your gaming skills and a bit of luck with the mining difficulty adjustments.

⚡ Fun Facts

  • The difficulty adjustment might be every 2,016 blocks, but Satoshi's paddle adjusts in real-time! ⚡️
  • This game runs on pure PoW (Proof of Wrist) ⛏️
  • "Not your keys, not your paddle" - Bitcoin Maximalist playing Pong 🔑
  • The only acceptable altcoin is this orange ball bouncing on your screen 🟠
  • We're still waiting for a maximalist to fork this game because it's too easy 🍴
  • Some say if you win against Satoshi, you'll discover who they really are (spoiler: you won't) 🕵️
  • "Few understand" why the ball gets smaller when it moves faster 🤔
  • This is the only acceptable form of leverage in Bitcoin 📈
  • Running this game on your M2 MacBook still won't help you mine Bitcoin 💻
  • The only thing harder than beating Satoshi is convincing a maximalist to try an altcoin 🎮

Disclaimer: No actual bitcoins were harmed in the making of this game. Difficulty changes are real though! And yes, we know, "number go up" eventually.

About

Just a Bitcoin Crazy Pong Game

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages