Skip to content

YashDevLogs/Snake-2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Snake Game

Untitled.video.-.Made.with.Clipchamp.2.mp4

Overview

Snake Game is a classic arcade-style game implemented in Unity where players control a snake to eat food, grow longer, and avoid obstacles. The game features single-player and co-op modes with power-ups, scoring, and more.

Table of Contents

Gameplay

The objective of the game is to control the snake, eat food, and avoid obstacles. Players can collect power-ups to gain temporary advantages, and scoring is based on the length of the snake and collected items.

Features

  • Classic Snake gameplay
  • Single-player and co-op modes
  • Power-ups (Shield, Score Boost, Speed Boost)
  • Scoring system
  • Randomized food and power-up spawns
  • Game Over screen
  • Pause and Resume functionality
  • Pickup Types:- - Red: Food ( Gives 100 points). - White: Toxic Food ( Reduces 50 points). - Yellow: Speed Boost ( Gives 2X Speed Boost). - Blue: Shield ( Protection from hitting any object which can cause Game Over). - Orange: Score Boost ( Gives 2X score boost for picking up each Food Item).

Controls

Single-Player Mode

  • W: Move snake up
  • S: Move snake down
  • A: Move snake left
  • D: Move snake right
  • P: Pause/Resume the game

Co-op Mode

Player 1:

  • W: Move snake up
  • S: Move snake down
  • A: Move snake left
  • D: Move snake right

Player 2:

  • Arrow Up: Move snake up
  • Arrow Down: Move snake down
  • Arrow Left: Move snake left
  • Arrow Right: Move snake right

Installation

  1. Clone the repository.
  2. Open the project in Unity.
  3. Run the game in the Unity Editor or build the project.

How to Play

  1. Start the game.
  2. Choose the game mode (Single-player or Co-op).
  3. Control the snake using the specified controls.
  4. Collect food to grow the snake and gain points.
  5. Avoid obstacles and collisions with the snake's body.
  6. Collect power-ups for temporary advantages.
  7. Enjoy the game and try to achieve the highest score!

Contributing

Contributions are welcome! If you find any issues or have suggestions, please open an issue or create a pull request.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published