๐น Claw Machine Game (Food4Thoth Adaptation)
๐ฎ About the Project
This Claw Machine Game is an interactive arcade-style game where players use a virtual claw to grab character-based toys. Originally inspired by a CodePen project, this version has been fully adapted and enhanced by DeโJahn & Food4Thoth, incorporating:
- Mobile & iFrame compatibility
- Neumorphic UI navigation & footer
- Functional button improvements
- Gamification features:
- Timer-based challenge modes
- Celebration animations (rainbow confetti, screen melt effect)
- High score tracking
- New interactive toy collection system
Original code source
Claw machine
A Pen created on CodePen.
Original URL: https://codepen.io/Ma5a/pen/YPzzpep.
Iโm terrible at controlling actual claw machines, so I coded my own. You can move the claw by holding down the button, and stop by releasing. The main challenge was to chain the animation required to move the claw and the arm. To simulate gravity, the toy tilts based on which part of the toy the claw grabs. The facial expression on the toys and the claw is also animated for fun.
๐ Features & Enhancements
๐จ UI & Navigation
- Responsive & Scalable: Works in iFrame and mobile layouts with dynamic scaling.
- Neumorphic Navigation: Smooth, modern tabs for accessing different sections.
- Fixed Footer: Provides quick access to Food4Thoth and project links.
๐น Gameplay & Mechanics
- Fully Functional Claw Mechanism: Move the claw horizontally & vertically to grab toys.
- Toy Collection System: Selected toys get displayed in the collection box.
- Improved Button Interactivity: Prevents accidental selections and enhances user feedback.
๐ฏ Challenge Modes
- Free Play Mode: No timer, just grab as many toys as you want!
- Challenge Mode: Race against time to collect toys.
- Extra Challenge Mode โ If a toy is missed, it is put back into the machine! Fewer attempts, faster gameplay.
๐ Animations & Effects
- Rainbow Confetti Celebration: Triggers when completing a challenge.
- Screen Melt Reset Effect: Gives a dynamic transition between game rounds.
- Toy-Specific Celebration GIFs: Unique animations based on collected characters.
๐ How to Play
- Choose a mode (Free Play, Challenge, or Extra Challenge).
- Use the buttons to move the claw left/right and up/down.
- Grab a toy by positioning the claw and pressing the button.
- Complete the challenge before the timer runs out!
- Watch your collection grow in the display area.
- Top your high scores and celebrate with animations!
๐ Setup & Installation
-
๐น Play Online
โข Simply open the Claw Machine Game on Food4Thoth or Artabillies.
-
๐น Dependencies
โข HTML5, CSS3, JavaScript
โข Custom animations & assets for celebrations
๐ Philosophy and Vision
Food4Thoth is inspired by the principles of its namesake, Thoth:
- Creativity: A celebration of art, imagination, and innovation.
- Exploration: Encouraging curiosity and the pursuit of knowledge.
- Community Building: Connecting individuals through shared resources and mutual support.
- Playfulness: Balancing deep inquiry with interactive and fun experiences.
The platform is a digital garden where ancient wisdom meets modern innovation.
โจ Why Visit Food4Thoth?
- Diverse Offerings: Content that caters to various interests, from art and mysticism to community activism.
- Interactive Tools: Explore engaging applications like calculators, games, and divination apps.
- Community Engagement: Opportunities for collaboration and connection through artistic and social projects.
- Inspiration: A space to spark curiosity, reflection, and joy.
๐ค Support and Contributions
Your contributions help support innovative projects like the Rainbow Glo-Calculato, community gardens, and esoteric tools, ensuring Food4Thoth continues to thrive.
Donation Options
Traditional Payments:
- PayPal
- Venmo
Cryptocurrency:
- Ethereum (ETH) & ERC-20 Tokens:
0x900e8f0d397048fD946b05553DeD5Ed3D5e4f1a0
- Bitcoin (BTC):
bc1qcsa7ffef296pp9hkrn03p9wu7lt0fm3s2sz0wp
- Ethereum Classic (ETC):
0xEb3C0e08868ACB0f515442579333c41E7a34F215
- Solana (SOL):
B7nCFQs6HkFAvkz1wEUiPpM4Cj7G6FJNYQ7Avrt6a4cm
-
Ripple (XRP):
Address: <div class="wrap">rEAKseZ7yNgaDuxH74PkqB12cVWohpi7R6</div>
Memo: 3109966062
- Dogecoin (DOGE):
DP2e6J8NbUzswLtBw8ou2xYz4BinyzgU7n
- Cardano (ADA):
addr1qxqgjp4h4vh4pxrg7jur8m96lzf5w98cahfflrw376qhufgg6h5us0avc20ee2azzun58lgylyl54sjr6y9efwq86krs3ladtw
- Bitcoin Cash (BCH):
bitcoincash:qpu93py8j8ykcf7m6tmau2hldefl67t9lydw8afsa5
-
Stellar Lumens (XLM):
Address: <div class="wrap">GB2ES2N326MZK4EGJBKN3ZARCQ5RTFQSAWIJAAKFVIIIJSCC35TXIMLB</div>
Memo: 2967141893
- Litecoin (LTC):
ltc1qklestxa5shsym0gmuqmv2xewp56cst58vmhggl
- Tezos (XTZ):
tz1guFykj1dQAyiGH7g5YJVZzaGdoTWeMK81
๐ก Wallets
- Coinbase Wallet:
0x30D47A5815D94040291a819B8E39765AA09d44A8
- Metamask Wallet:
0x30D47A5815D94040291a819B8E39765AA09d44A8
- VeWorld Wallet:
0x020a79559990145e2f7d48c5771b233399b30bee
- Anchor Wallet:
artabilly.gm
๐ Explore the Food4Thoth Hub
Visit the Food4Thoth portal and begin your journey through creativity, mysticism, and connection.
For inquiries or feedback:
๐ Acknowledgments
This collection is part of the Food4Thoth Initiative, blending creativity with technology to deliver engaging digital experiences. Special thanks to all contributors and players who inspire ongoing innovation.
Interactive games are a bridge between creativity and technology, bringing joy and challenge to players everywhere.
Join us and explore the endless possibilities of Food4Thoth!
๐จ Credits & Acknowledgments
โข Original CodePen inspiration
โข Adaptations & Enhancements by DeโJahn & Food4Thoth
โข Interactive & Gamified Features designed for immersive experiences
โข Neumorphic UI elements for smooth navigation
๐ License
ยฉ 2025 Food4Thoth. All rights reserved. Unauthorized redistribution, copying, or modification without explicit permission is prohibited.
๐ Keep playing, exploring, and creating! ๐นโจ