Skip to content

Duom1/snake_game_asm_raylib

Repository files navigation

snake game

My attempt at writing a snake game in gnu x86 64 asembly.

My personal best is 83 on 14x10 size.

Project structure

All the files for this project are located in the root directory. There are no folders (exept for .git, of course). Files that end with "def.s" are files that define things like colors, constants and keys. This project uses make as the build system in makefile.

Images

image of the game game over

Improve:

  • draw_snake.s
  • get_input.s
  • out_of_bounds.s
  • place_food.s: ignores the head(index 0 off by one error), could use registers instead of the stack
  • make it so that the player cannot turn into it self
  • remove useless variable to snakepointer
  • both tests

About

my attempt at snake game using raylib and assembly

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published