File size: 3,257 Bytes
85facc6 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 | ---
title: Reality Swipe
emoji: ๐ฎ
colorFrom: blue
colorTo: indigo
sdk: docker
app_port: 7860
pinned: false
---
# ๐ฎ Reality Swipe
**Match gems, create cascades, and crush levels!** A delightful match-3 puzzle game built with pure JavaScript. No frameworks, no fussโjust pure gaming fun! ๐ฏ
## โจ What's This?
Think Candy Crush, but **way cooler** because you built it! Drag and swap colorful gems to create matches of 3 or more. Watch the magic happen as pieces cascade down and new combos form automatically.
## ๐ Play Now!
Just open `index.html` in your browser and start swiping! No installation, no setupโit just works! ๐
## ๐ฏ How to Play
1. **Drag or click** adjacent gems to swap them
2. **Match 3+** gems in a row or column
3. **Watch the cascade** as new pieces fall into place
4. **Reach the target score** to level up!
5. **Beat your best** and see how far you can go! ๐
## ๐จ Features
- ๐ฒ **8ร8 game board** with 6 colorful gem types
- ๐ฅ **Cascade system** - matches create more matches!
- ๐ **Score tracking** with level progression
- ๐ฏ **Move limits** for strategic gameplay
- ๐ก **Hint system** when you're stuck
- โจ **Smooth animations** and visual feedback
- ๐ฑ **Responsive design** - play anywhere!
## ๐ ๏ธ Built With
- **Pure JavaScript** - No dependencies, just vanilla JS
- **CSS Grid** - Beautiful, responsive layout
- **HTML5** - Modern web standards
## ๐ Files
```
crushgame/
โโโ index.html # Game interface
โโโ game.js # Game logic & mechanics
โโโ styles.css # Styling & animations
โโโ README.md # You're reading it! ๐
```
## ๐ For Developers
Want to customize? The code is clean, well-commented, and easy to modify:
- **Game logic**: Check out `Match3Game` class in `game.js`
- **Styling**: Tweak colors and animations in `styles.css`
- **Mechanics**: Adjust board size, gem types, or scoring in `game.js`
## ๐ What's Next?
This is a **prototype** ready to become something bigger! Potential next steps:
- ๐ฑ Mobile app (Unity/React Native)
- ๐จ Custom graphics & sprites
- ๐ Sound effects & music
- ๐ฐ Monetization features
- ๐ Multiplayer & leaderboards
## ๐ค Contributing
**We'd love your help!** This project is open to contributions of all kinds:
- ๐ **Bug fixes** - Found a bug? Report it or fix it!
- โจ **New features** - Got an idea? Let's make it happen!
- ๐จ **Design improvements** - Better UI/UX? We're all ears!
- ๐ **Documentation** - Help make the code more understandable
- ๐งช **Testing** - Play the game and share feedback!
### How to Contribute
1. **Fork the repo** and clone it locally
2. **Create a branch** for your changes (`git checkout -b feature/amazing-feature`)
3. **Make your changes** and test them
4. **Commit** with clear messages (`git commit -m 'Add amazing feature'`)
5. **Push** to your fork (`git push origin feature/amazing-feature`)
6. **Open a Pull Request** and describe your changes!
**No contribution is too small!** Even fixing typos or improving comments helps! ๐
## ๐ License
MIT License - Feel free to use, modify, and build upon this!
---
**Made with โค๏ธ and lots of ๐ฎ**
*Ready to level up? Start playing now!*
|