0% found this document useful (0 votes)
122 views13 pages

Snake Game Proposal

This document outlines a snake game project in C++ created by Group 1 members Zaw Linn Htet, Kaung Kyaw Han, Pyae Linn Zun Myat Noe, Hay Man Kyaw Min, and Nyein Htut Tin. The game will be interactive, fun, and challenging. It will include options to start, get help, and quit the game. The snake's movement will be controlled by keyboard inputs and it will grow by eating randomly generated food. The game will end if the snake hits its own tail or the wall, and the player's score will be displayed. Functions, structures, classes, linked lists, and loops will be used to program the game's logic and

Uploaded by

Nyein Htut
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
122 views13 pages

Snake Game Proposal

This document outlines a snake game project in C++ created by Group 1 members Zaw Linn Htet, Kaung Kyaw Han, Pyae Linn Zun Myat Noe, Hay Man Kyaw Min, and Nyein Htut Tin. The game will be interactive, fun, and challenging. It will include options to start, get help, and quit the game. The snake's movement will be controlled by keyboard inputs and it will grow by eating randomly generated food. The game will end if the snake hits its own tail or the wall, and the player's score will be displayed. Functions, structures, classes, linked lists, and loops will be used to program the game's logic and

Uploaded by

Nyein Htut
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 13

Snake game for C++

project
By Group 1
Zaw Linn Htet
Kaung Kyaw Han

Our Pyae Linn


members  Zun Myat Noe
Hay Man Kyaw Min
Nyein Htut Tin
Why snake game?

INTERACTIVE FUN CHALLENGING


What the output will look like
(example output saved from Google)
Start/Help/Quit

Input keys for


Create game area Randomly snake's
Start and snake generate food movement

Y--
w

Help Show keys for


s Y++
snake's directions

a X--

Quit Exist
X++
d
Did snake Increase snake's
Update snake's position Increase score by 1
eat food? length

Did snake Redraw snake


hit wall? and food

Did snake
hit tail? Input keys

Game over Display score


How system Start, Help and Quit (Input from user)
works
For "Start",

How
system movements of snake will be
controlled by some keys on keyboard

works
growth of that will be by consuming
food, which will be generated at any
random point within the boundaries
at given interval of time.
Game will be over if the
How system snake touches its tail or
hits the wall.
works
And the score will be
displayed.
For "Help",
the controlling keys for How system
movements of snake works
will be displayed.
Functions (for wall, food, help, etc.)
Structures (tail position)
Classes (for organizing functions)
What we Linked lists (for direction)
will be Loops (will be used in functions)
using If conditions (will be used in functions)
Switch cases (for key inputs)
Etc...
Headers to be
included
• #include <iostream>
• #include <windows.h>
• #include <stdlib.h>
• #include <conio.h>
• #include <fstream>
• Codeblocks
• At least 32 bits
Requirements • At least 2 GB of RAM
• GCC compiler and GDB debugger

You might also like