Skip to content

Latest commit

 

History

History
20 lines (18 loc) · 1.17 KB

README.md

File metadata and controls

20 lines (18 loc) · 1.17 KB

Snake_game_Assembly_Language

A Snake game in intel x86 archetiture(or compiler used Masm)

Working of game : The game starts with a menu containing three options:

  1. Start game
  2. Instructions
  3. Exit Buttons used are to I – Up, J – left, K – down, L- Right, and S – select from menu. Start Game : We can use I, K, J , L to move snake Up , Down , left and right respectively. Food in form of ‘X’ will be generated randomly on the screen. Which can be picked by snake once the snake picks the food. It’s Speed and Score will increase. And if the snake collides with it’s body then game Ascii pattern for game exit will be displayed and as user press any key the console will exit. Instructions : Simply print the Instructions for Gameplay. Exit: Exits the game.

Complete working of code is summarized in attached word file. Picture1 Picture2 Picture3