Skip to content

Latest commit

 

History

History
55 lines (42 loc) · 2.87 KB

File metadata and controls

55 lines (42 loc) · 2.87 KB

Classic Arcade Games: Tetris, Jumping, and Snake

This GitHub repository offers three timeless arcade games—Tetris, Jumping, and Snake—designed with modern web technologies to deliver a fully responsive, immersive gaming experience. With intuitive controls, dynamic game logic, and session persistence, these games seamlessly combine nostalgia with cutting-edge web development practices.


Features

Tetris

  • Classic Gameplay Mechanics: Implements iconic Tetris features, including block rotation, row clearing, and adaptive difficulty scaling.
  • Responsive Design: Optimized for all screen sizes, ensuring a smooth and engaging experience across devices.
  • Dynamic Scoring System: Tracks and displays scores based on rows cleared, with increasing rewards as the difficulty level rises.
  • Session Persistence: Automatically saves your game state using session storage, allowing you to resume progress without interruption.

Jumping

  • Unique Platformer Experience: Navigate a moving point across a grid filled with obstacles and jumping platforms.
  • Level Progression: Progress through meticulously designed levels with increasing challenges.
  • Real-Time Physics: Dynamic movement and collision detection provide a responsive and engaging gameplay experience.
  • Save and Resume: Store your progress using session storage, enabling you to pick up right where you left off.

Snake

  • Timeless Gameplay: Maneuver the snake to collect food while avoiding walls and self-collision.
  • Dynamic Growth and Difficulty: Each food item increases the snake’s length, adding complexity to navigation.
  • Level-Based Challenges: Introduces new obstacles with each level, enhancing gameplay variety.
  • Persistent State: Saves your game session, allowing players to resume seamlessly.

Technology Stack

  • HTML5: Structure and rendering of the game elements.
  • CSS3: Styling and layout for an engaging user experience.
  • JavaScript: Core game logic, state management, and user interaction.
  • Session Storage: Enables state persistence, allowing players to save and continue their game progress.

Highlights

  • Cross-Device Compatibility: The games are fully responsive and optimized for desktop, tablet, and mobile devices.
  • Seamless User Experience: Intuitive controls and fluid animations enhance gameplay immersion.
  • Modular Codebase: Clean, reusable JavaScript code facilitates maintenance and further enhancements.

How to Play

  1. Clone the repository:
    git clone https://github.com/TziporaGoldshmidt/tetris-game-javaScript.git
  2. Open the openPage.html file in your preferred browser.
  3. Choose from the three available games:
    • Tetris
    • Jumping
    • Snake
  4. Enjoy hours of entertainment directly in your browser, with your progress saved automatically!