Вы находитесь на странице: 1из 4

Page 1

Software Requirements
Specification

for

Snake game using C


Version 1.0 approved

Prepared By Shishir Prabhakar Singh

JECRC University

15 November , 2019

Copyright © 1999 by Karl E. Wiegers. Permission is granted to use, modify, and distribute this document.
Page 2

Table of Contents
Table of Contents Error! Bookmark not defined.
1. Introduction 3
1.1 Purpose 3
1.2 Intended Audience and Reading Suggestions 3
1.3 Product Scope 3
2. Overall Description 3
2.1 Product Perspective 3
2.2 Product Functions 3
3. External Interface Requirements 4
3.1 User Interfaces 4
3.2 Hardware 4
3.3 Software 4

Copyright © 1999 by Karl E. Wiegers. Permission is granted to use, modify, and distribute this document.
Page 3

Introduction
Purpose

This Project in C language of Snake Game is a simple console application with very simple
graphics. In this project, you can play the popular “Snake Game” just like you played it elsewhere.
You have to use the up, down, right or left arrows to move the snake.

Intended Audience and Reading Suggestions

The remake of the game allows anyone of any age group to play the game together, challenging
each other and having fun. Thus, age group consists of anyone aged 10 and above as they are at the
age where they can understand things.

Product Scope

Game involves player controlling a snake to eat as many preys as possible to gain the most points,
challenging the AI.

Overall Description
Product Perspective

The game called "Snake" or "Snake Game" typically involve the player controlling a line or snake,
there is no official version of the game, so game play varies. The most common version of the game
involves the snake or line eating items which make it longer, with the objective being to avoid
running into a border or the snake itself for as long as possible. The player loses when the snake
either runs into a border or its own body. Because of this, the game becomes more difficult as it
goes on, due to the growth of the snake.

Product Functions

This snake game is just similar to games which are found under mobile games section. It uses the
concept of graphics to display the menu items and all objects on a single screen. An instruction has
been given on the top right side of the menu where users must go through the instruction to play this
game. Players will able to check their result after games get over. The score section will display the
total score of the player, game level and maze which has been used. The object snake position has
been set random, so whenever player will start the game, the snake will appear at random location

Copyright © 1999 by Karl E. Wiegers. Permission is granted to use, modify, and distribute this document.
Page 4

every time. The snake object will always appear in white color. The arrow has been set within the
program to move the snake to right, left, top and bottom respectively.

External Interface Requirements


User Interfaces

➢ At beginning user have to compile and then run the program


➢ After running the code the run time screen will open which will start the game.

Hardware

➢ Monitor
➢ Keyboard
➢ Mouse

Software

Turbo C++ 2.0 ( or any compiler which can run c language codes)

Copyright © 1999 by Karl E. Wiegers. Permission is granted to use, modify, and distribute this document.

Вам также может понравиться