Skip to content

divyanshuguptaososofficial/Snakegame

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SNAKE GAME IMPLEMENTATION IN MULTIPLE-USER ENVIRONMENT

  • This game is totally written in C.

The major objectives of this project are:

  1. To create a snake game that will have all the functionality of traditional snake games.
  2. To introduce multilayer functionality in the game that will allow several players to play a game simultaneously. It should be able to give the experience of a real time multiplayer game to the players.
  3. To make use of keyboard keys to move the snake such as up, down or w, s.
  4. To create simple Single player snake game.
  5. To create Multi-player snake game.
  6. To maintain high score table.

Different modes used in the game

  • Easy mode: Here the box size in which the snake is allowed to move around freely is larger in size as compared to the other two modes. Hence, the user finds it a lot easier to control the snake. Chances for the snake to die are quite less
  • Medium mode: Here the box size in which the snake is allowed to move around freely is larger in size as compared to the hard mode and smaller than in easy mode. Chances for the snake to die are moderate
  • Hard mode: Here the box size in which the snake is allowed to move around freely is smallest. Chances for the snake to die are highest

Different Gaming Arena

  • Unbounded mode: Here, during the process of travelling, if the snake hits the boundary wall, it does not die, instead it comes out from the opposite wall as though there is a continuation in the movement.
  • Bounded mode: Here, during the process of travelling, if the snake hits the boundary wall, the snake dies, and this is counted as a loss of life. This is a tougher mode as compared to the unbounded mode

Game Options:

Main Menu

Single player

User vs User

Highscore Table

Maintainers and Developers