Skip to content

VenusakaVXT/snake-game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Snake Game Console C#

Use object-oriented programming methods and pointer structures.

Inspiration

Inspired by childhood when playing snake game on black and white Nokia phones.

Guide play

press W: Go up.

press D: Go right.

press S: Go down.

press A: Go left.

eatFood(): Eat the "$" to make the snake longer.

Interface game

image

Play game

image

Over game

hitWall(): Hit the wall and you will die.

isDead(): Snake head biting snake tail is dead.

Use exception catching to determine where the game is lost and the cause of the game loss. image

Releases

No releases published

Packages

No packages published

Languages