Presentation is loading. Please wait.

Presentation is loading. Please wait.

SNAKE GAME İRFAN ARIK 2011513006.

Similar presentations


Presentation on theme: "SNAKE GAME İRFAN ARIK 2011513006."— Presentation transcript:

1 SNAKE GAME İRFAN ARIK

2 Form1

3 Form1 I used 3 buttons, 2 labels, 2 picturebox, 1 richbox and 1 textbox on form application. How to play button gives information to user about how to play to game. New game button starts game. Users write name on textbox. Second picturebox is used for close the game. Textbox takes name from user.

4 Form2

5 Form2 I used 5 label, 2 picturebox and 1 timer on form application.
The game runs on first picturebox. Second picturebox is used for return the form1. Second label show score. Third label is on picturebox. It can visible when game is over. Fifth label show user name. Timer raise events.

6 Some Codes From Program
Game options: size, speed,initial score, points.

7 Some Codes From Program
Start Game:

8 Some Codes From Program
Snake color, food color, and draw snake and food.

9 Some Codes From Program
Direction with keys.

10 Let’s see the program

11 Referances https://msdn.microsoft.com http://stackoverflow.com


Download ppt "SNAKE GAME İRFAN ARIK 2011513006."

Similar presentations


Ads by Google