report on snake game

42

Transcript of report on snake game

COLOUR AND LIGHTENING COMPUTER GRAPHICS

Report on Snake game

IntroductionThe following is an example game written in C based on the game called 'snake' which has been around since the earliest days of home computing and has re-emerged in recent years on mobile phones.It isn't the world's greatest game, but it does give you an idea of what you can achieve with a relatively simple C program, and perhaps the basis by which to extend the principles and create more interesting games of your own.

Concepts To reinforce many of the C and programming concepts you have already met. To provide valuable experience of the design and implementation of a large program. To provide a framework for a more challenging, and thus rewarding, laboratory exercise.

6ConceptsTo move the snake, use up arrow' for up, down arrow' for down, left arrow' for left and right arrow' for right. Again, there are constants you can change if you want to alter these settings. Press ESC' to exit the game at any time.The aim of the game is to collect the dots (food) and avoid the obstacles (crosses, borders, and the snake itself). As you collect food, the snake gets longer, so increasing your likelihood of crashing into yourself. When you have collected enough food, you progress onto the next level, where your snake gets longer, and the amount of food to collect to progress through the level gets larger

ConceptsYou get scored according to the length of the snake and the number of 'x' obstacles on the screen.The speed increases every 5 level. You get a bonus when you complete the level of 1000, increasing by 1000 each level (e.g. complete level 5, you get a 5000 bonus).There is no concept of lives. Once you hit an obstacle, that's it, game over.Make sure you do not have the caps lock on, otherwise the keys will fail to respond

Level 1

Level complete

Technology Used turbo C++ and dev++ (c++) to make this game and linked listSimple GL are used to display the images of the related objects in the game.Some of the graphics commands are also used in it. (putpixel , init graph etc.)Built-in Library of turbo c++ and dev++.Different function ( for move, up, down, left, right)

Significant in Life

Learn lesson form gamePractical skillsStrong MemoryPower to decideIdea how behave different environmentPowerful tool to help children develop certain life skillsphysiotherapy educationLearn social skills

34

Significant in Life.

Improve language and math skills Gain self confidence Gain knowledge from History based GamesFor Motivation challengesImprove hand-eye co-ordination and help

35

Real life use:Post-traumatic Stress TherapyGet Idea about real lifeTell how deal with peopleExercise of brain and improvement to solving problemsRelax and and anxiety StressGet Multi-taskingRewire brain for happiness and positivityLevel up entire life

Real life use.Power to changeIdea for workImprove the skillsPracticality show Real-lifeMind Training

Future of the project:

Inhibited only by creativity and available technologyUse game for skills based trainings.Important as learning point of view for childrenUse for understand technologyBest for EducationVirtual Reality Gaming (FIFA)Augmented RealityMotion Capture

Future of the project.

Cloud GamingQuantum Computing and GamingEmerging TrendsWay of sharing technology