Code Monkey home page Code Monkey logo

snake's Introduction

Snake

This is a snake game in assembly made for DOSBox and Linux.

You can view the online Demo (Use your arrow keys on pc or swipe on mobile).

Inspired by Can you fit a whole game into a QR code?

It was made in order to create the smallest "fun" game possible.

To build and run it use:

sudo apt update
sudo apt install dosbox nasm -y
git clone https://github.com/donno2048/snake
cd snake
nasm snake.asm -o snake.com -f bin
dosbox -c "cycles 1" -c "mount c ." -c "c:" -c "snake"

It is so small I could fit it into a single QR:

It's 85 bytes.

Hex
6800b81fb9a00fb80
300cd10bfd0078d76
fc0fafdd21cb382f7
4f7880fe460bb0400
241e7a0288cb24147
402f7db29df39cf77
d3d1fb8d4102f6f12
0e474c8382d74c489
7e004545380d882d7
4c426ad938827ebc8

snake's People

Contributors

donno2048 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.