<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Wizards Game on Wizards Game - Gesture-Based Combat</title><link>https://joseph-ampfer.github.io/ninja_wizards_hands/</link><description>Recent content in Wizards Game on Wizards Game - Gesture-Based Combat</description><generator>Hugo</generator><language>en-us</language><atom:link href="https://joseph-ampfer.github.io/ninja_wizards_hands/index.xml" rel="self" type="application/rss+xml"/><item><title>Gameplay Tutorial</title><link>https://joseph-ampfer.github.io/ninja_wizards_hands/gameplay/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://joseph-ampfer.github.io/ninja_wizards_hands/gameplay/</guid><description>&lt;h1 id="gameplay-tutorial"&gt;Gameplay Tutorial&lt;/h1&gt;
&lt;p&gt;Learn how to cast spells with hand gestures and defeat your opponent!&lt;/p&gt;
&lt;h2 id="what-is-wizards-game"&gt;What is Wizards Game?&lt;/h2&gt;
&lt;p&gt;A Unity-based 1v1 combat game where you use &lt;strong&gt;hand gestures&lt;/strong&gt; to cast spells against an AI opponent.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Cast spells using your webcam and hand gestures&lt;/li&gt;
&lt;li&gt;Strategic combat like a magical rock-paper-scissors&lt;/li&gt;
&lt;li&gt;No VR headset required!&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="getting-started"&gt;Getting Started&lt;/h2&gt;
&lt;ol&gt;
&lt;li&gt;&lt;strong&gt;Launch the game&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Position yourself&lt;/strong&gt; in front of your webcam&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Show both hands&lt;/strong&gt; to the camera&lt;/li&gt;
&lt;li&gt;The game will start tracking your gestures&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;strong&gt;Tip:&lt;/strong&gt; Make sure you have good lighting and your hands are clearly visible!&lt;/p&gt;</description></item><item><title>System Architecture</title><link>https://joseph-ampfer.github.io/ninja_wizards_hands/architecture/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://joseph-ampfer.github.io/ninja_wizards_hands/architecture/</guid><description>&lt;h1 id="system-architecture"&gt;System Architecture&lt;/h1&gt;
&lt;h2 id="overview"&gt;Overview&lt;/h2&gt;
&lt;p&gt;Wizards Game is built with a clean, maintainable architecture following best practices and established design patterns.&lt;/p&gt;
&lt;h2 id="high-level-architecture"&gt;High-Level Architecture&lt;/h2&gt;
&lt;p&gt;The system follows clean separation of concerns across five distinct layers:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;&lt;strong&gt;Data Layer&lt;/strong&gt; - Spell &amp;amp; SpellBook ScriptableObjects&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Behavior Layer&lt;/strong&gt; - SpellBehavior strategy implementations&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Execution Layer&lt;/strong&gt; - SpellCaster, AISpellManager&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Input Layer&lt;/strong&gt; - SpellManager, GestureRecognizerRunner&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;UI Layer&lt;/strong&gt; - GestureUI, GestureUIBuffer, EnemyGestureDisplay&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id="game-flow"&gt;Game Flow&lt;/h2&gt;
&lt;p&gt;The complete game flow from startup to spell casting:&lt;/p&gt;</description></item><item><title>Technical Details</title><link>https://joseph-ampfer.github.io/ninja_wizards_hands/technical/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://joseph-ampfer.github.io/ninja_wizards_hands/technical/</guid><description>&lt;h1 id="technical-overview"&gt;Technical Overview&lt;/h1&gt;
&lt;p&gt;A deep dive into the implementation details and technical decisions behind Wizards Game.&lt;/p&gt;
&lt;h2 id="system-overview"&gt;System Overview&lt;/h2&gt;
&lt;p&gt;A Unity-based gesture recognition game integrating:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;MediaPipe&lt;/strong&gt; for hand gesture recognition&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Observer Pattern&lt;/strong&gt; for event-driven architecture&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Strategy Pattern&lt;/strong&gt; for spell behaviors&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Multi-threading&lt;/strong&gt; for performance optimization&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;Tech Stack:&lt;/strong&gt; Unity, C#, MediaPipe, ScriptableObjects&lt;/p&gt;
&lt;h2 id="threading-architecture"&gt;Threading Architecture&lt;/h2&gt;
&lt;p&gt;&lt;strong&gt;Key Challenge:&lt;/strong&gt; MediaPipe runs on worker thread, Unity API requires main thread&lt;/p&gt;
&lt;p&gt;&lt;img alt="Threading Architecture" loading="lazy" src="../images/threads.png"&gt;&lt;/p&gt;
&lt;h3 id="threading-solution"&gt;Threading Solution&lt;/h3&gt;
&lt;p&gt;The system uses a &lt;strong&gt;ConcurrentQueue&lt;/strong&gt; as a thread-safe buffer between MediaPipe&amp;rsquo;s worker thread and Unity&amp;rsquo;s main thread.&lt;/p&gt;</description></item><item><title>Download</title><link>https://joseph-ampfer.github.io/ninja_wizards_hands/download/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://joseph-ampfer.github.io/ninja_wizards_hands/download/</guid><description>&lt;h1 id="download-wizards-game"&gt;Download Wizards Game&lt;/h1&gt;
&lt;h2 id="windows-demo"&gt;Windows Demo&lt;/h2&gt;
&lt;p&gt;Try out the game with our Windows demo build! (have Steam running for multiplayer)&lt;/p&gt;
&lt;p&gt;&lt;a href="https://drive.google.com/file/d/1sDo3AXM3P14hmcD11ff5ZfFOxnwAnttN/view?usp=sharing"&gt;&lt;strong&gt;Download Windows Demo&lt;/strong&gt; (Google Drive)&lt;/a&gt;&lt;/p&gt;
&lt;h2 id="system-requirements"&gt;System Requirements&lt;/h2&gt;
&lt;h3 id="minimum-requirements"&gt;Minimum Requirements&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;OS:&lt;/strong&gt; Windows 10 or later&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Processor:&lt;/strong&gt; Intel Core i5 or equivalent&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Memory:&lt;/strong&gt; 4 GB RAM&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Graphics:&lt;/strong&gt; DirectX 11 compatible GPU&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Webcam:&lt;/strong&gt; Required for gesture recognition&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Storage:&lt;/strong&gt; 500 MB available space&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id="recommended-requirements"&gt;Recommended Requirements&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;OS:&lt;/strong&gt; Windows 10/11&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Processor:&lt;/strong&gt; Intel Core i7 or equivalent&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Memory:&lt;/strong&gt; 8 GB RAM&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Graphics:&lt;/strong&gt; Dedicated GPU with 2GB VRAM&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Webcam:&lt;/strong&gt; HD webcam with good lighting&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Storage:&lt;/strong&gt; 1 GB available space&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="installation-instructions"&gt;Installation Instructions&lt;/h2&gt;
&lt;ol&gt;
&lt;li&gt;&lt;strong&gt;Download&lt;/strong&gt; the game archive from the link above&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Extract&lt;/strong&gt; the ZIP file to your desired location&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Run&lt;/strong&gt; &lt;code&gt;WizardsGame.exe&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Position yourself&lt;/strong&gt; in front of your webcam&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Start playing!&lt;/strong&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id="setup-tips"&gt;Setup Tips&lt;/h2&gt;
&lt;h3 id="webcam-positioning"&gt;Webcam Positioning&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Position your webcam at chest height&lt;/li&gt;
&lt;li&gt;Ensure your hands are fully visible in the frame&lt;/li&gt;
&lt;li&gt;Maintain good lighting - avoid backlighting&lt;/li&gt;
&lt;li&gt;Keep a distance of 2-3 feet from the camera&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id="lighting-recommendations"&gt;Lighting Recommendations&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Use front-facing light sources&lt;/li&gt;
&lt;li&gt;Avoid shadows on your hands&lt;/li&gt;
&lt;li&gt;Natural daylight works best&lt;/li&gt;
&lt;li&gt;If using artificial light, ensure even illumination&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id="first-time-setup"&gt;First-Time Setup&lt;/h3&gt;
&lt;ol&gt;
&lt;li&gt;Allow webcam permissions when prompted&lt;/li&gt;
&lt;li&gt;Test gesture recognition in the tutorial&lt;/li&gt;
&lt;li&gt;Practice the basic gestures (✌️, 👍, ✊)&lt;/li&gt;
&lt;li&gt;Start with simple spells before trying combos&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id="getting-started"&gt;Getting Started&lt;/h2&gt;
&lt;p&gt;New to the game? Check out our resources:&lt;/p&gt;</description></item></channel></rss>