Profile
Vehan Rajintha

Vehan Rajintha

Full-Stack Developer

Designed & Built by Vehan Rajintha

© 2025, All rights reserved.

Back to Projects

Snake Mouse Interactive Game

Dec 2024Public
Snake Mouse Interactive Game

About This Project

An interactive Snake and Mouse game with engaging gameplay mechanics. Features smooth animations, responsive controls, and modern game design principles for an immersive gaming experience.

Technologies Used

JavaScriptHTML5CSS3Game Development

Key Features

  • Classic Snake gameplay mechanics
  • Mouse hunting mechanics
  • Smooth animations and controls
  • Score tracking system
  • Game over and restart functionality
  • Responsive game board

Technical Architecture

architecture

Vanilla JavaScript

rendering

HTML5 Canvas

game Loop

RequestAnimationFrame

collision

Coordinate-based detection

Challenges Faced

  • Implementing smooth game controls
  • Creating efficient collision detection
  • Managing game state transitions
  • Ensuring responsive gameplay

Achievements

  • Smooth 60fps gameplay
  • Intuitive controls
  • Addictive gameplay loop
  • Cross-platform compatibility

Contributions

GitHub Contributions

MailboxGet in touch

Let's build something great together — feel free to connect with me through any of the platforms above.