iSnake Documentation

Embed Size (px)

Citation preview

  • 7/26/2019 iSnake Documentation

    1/6

    iSnake

    Lab Batch 71

    Documentation

    Contents

    1.Introduction 2.Game Basics

    3.Working4.Requirements

    5.Batch Details

  • 7/26/2019 iSnake Documentation

    2/6

    Introduction

    Snake is an extremely popular, addictive game.This version has been named as iSnake as a tributeto the late Steve Jobs. This version is a variant fromthe normal versions where one has to use the arrowkeys to control the Snake. In this version the userhas to use the mouse to control the snake. Watch

    out for fruits and bonus fruits.SO ENJOY....HAPPY PLAYING!!!!!

    Game Basics

    Levels:

    The game has 5 levels with increasing difficultylevel. Each level offers 10 fruits and 2 bonus fruits.Only after eating all the fruits ,a player can proceedto the next level.

    Snake Movement:

    The body and the tail follow the head of thesnake unless the player 'clicks' a move in which thesnake changes direction accordingly. The snakecannot cross itself neither it can pass through amaze. Doing so would immediately result in GameOver.

  • 7/26/2019 iSnake Documentation

    3/6

    Fruits:

    The co-ordinates of the fruits are generatedrandomly by a random function. The bonus fruits aredisplayed only for a certain amount of time.

    Scoring:

    The bonus fruits have some extra points. The

    points for scoring haven't been decided yet.

    Instructions

    Snake is primarily based on EzWindows API forC++ programming language.

    As soon as the game starts, first all theenvironment/global variables are initialized. Then allthe bitmaps used in the game are loaded.

    The menu level has options forPlay

    High Scores Instructions Settings Credits

    Exit

  • 7/26/2019 iSnake Documentation

    4/6

    The snake has three parts:head

    bodytail

    All parts are different blocks represented withdifferent bitmaps.The body consists of circlebitmaps.As the game progresses , length of the

    snake increases (the number of circles in thebody.!!)

    The game has 5 levels altogether withincreasing difficulty.

    Batch Details

    Batch Number: 471

    Teams ::

    CobrasVipul Venkataraman

    Ved Ratn Dixit Vijendra Kumar Sonker

  • 7/26/2019 iSnake Documentation

    5/6

    PythonsVipul Harsh

    Pradeep Kumar Naveen Y

    AnacondasSushrut Thorat

    Preshit R Verma Tiger Parida

    Requirements

    In this snake game we use the Application

    Programmer Interface of EzWindows. This is asimple interface to use windows and operate them.The programming language is C++. This programworks in all ubuntus with good processing speeds.

  • 7/26/2019 iSnake Documentation

    6/6

    ReferencesCohoon

    WikipediaLecture Slides