Building Slime Slayer 2D & Integrating Gemini: A Retro Game & AI Assistant Showcase

August 6, 2026 (1d ago)

I recently added two interactive experiences to my portfolio: a fully playable retro-style game called Slime Slayer 2D and an intelligent AI Chatbot Assistant. Here is how I brought them together with React, TypeScript, HTML5 Canvas, and the Gemini API.

1. Slime Slayer 2D: A Canvas Game Engine in React

Instead of relying on heavy third-party game frameworks, I built a custom, zero-dependency 2D top-down game engine using the native HTML5 Canvas API coupled with React.

2. Portfolio AI Assistant: Powered by Gemini 3.5 Flash

To let visitors ask questions about my background, projects, or how to play the game, I built a dedicated AI chatbot. The backend uses the gemini-3.5-flash model.

The Result

Adding these features made my portfolio not just a static sheet of text, but a living, interactive playground. Feel free to open the chatbot in the corner or launch Slime Slayer to test out the combos yourself!