Skip to content

Instantly share code, notes, and snippets.

View nathiss's full-sized avatar

Kamil Rusin nathiss

View GitHub Profile
@nathiss
nathiss / snake.asm
Created January 22, 2018 20:34 — forked from PraveshKoirala/snake.asm
8086 Snake game MASM compatible
;*******************************************************************************************************************
; Snake Game By *
; HERO-DAI *
;*******************************************************************************************************************
;code is not well-commented, sorry about that, I'll try to comment it nice and well, but can't make any
;promises, Also, this code writes directly into the video memory instead of int 21H (21H is slow) except
;at some certain points (like displaying scores and the intro)
;and next time someone tells you to not use goto, ask them to code in assembly without goto... :P