Skip to content

Latest commit

 

History

History
100 lines (65 loc) · 2.56 KB

README.md

File metadata and controls

100 lines (65 loc) · 2.56 KB

🐍 SN4KE GAME - tanbaycu Clone

Thi-t-k-ch-a-c-t-n-4.png visit more game with HTML in my repo Version

A modern, web-based implementation of the classic Snake game, inspired by tanbaycu's version.

🌟 Features

  • Two Unique Implementations:
    • Version 1: DOM-based rendering
    • Version 2: Canvas-based rendering
  • Responsive Design: Adapts seamlessly to various screen sizes
  • Customizable Gameplay: Adjust difficulty and grid size (Version 2)
  • Sleek UI: Minimalist design with smooth animations

🛠️ Tech Stack

Technology Version 1 Version 2
HTML5
CSS3
JavaScript
Canvas API
Modernizr
Google Fonts

🎮 Gameplay

Version 1: Classic Mode

Demo here

  • Simple, intuitive controls
  • Progressively increasing difficulty
  • Retro-style grid-based movement
Version 2: Enhanced Experience

Demo here

  • Smooth, canvas-rendered graphics
  • Customizable speed and grid size
  • Pause and resume functionality

🚀 Quick Start

  1. Clone the repository
  2. Navigate to either on this structure or in snake directory
  3. Open index.html in your preferred browser
  4. Enjoy the game!

🔧 Configuration (Version 2)

Adjust game settings using the control panel:

  • Speed: Slide to change game speed (1-10)
  • Cells: Modify grid size (10x10 to 100x100)

📊 Performance

Metric Version 1 Version 2
FPS 60 60+
Min Grid Size 10x10 10x10
Max Grid Size 50x50 100x100

🌐 Browser Support

  • Chrome (latest)
  • Firefox (latest)
  • Safari (latest)
  • Edge (latest)

Note: Version 1 includes fallbacks for older browsers via Modernizr.

🙏 Acknowledgements


Made with ❤️ by [tanbaycu]