Giter VIP home page Giter VIP logo

snake's Introduction

Snake Game for Gameboy Advance

This is a Snake Game, written in C, for Gameboy Advanced. Here is the demo of the gameplay: Snake
You get three lives. If you beat the game (a.k.a. your snake reaches the length of 200 units) you will be taken to "Game Over" screen with nice "You won!" writing, while if you lose, you will just get a regular gameover screen with no writing on it (I know, I made it that harsh on purpose).

Rules

Note: I give the controls for Gameboy Advance keys, that may not necessarily overlap with the keys on your actual computer. Check your emulator keyboard bindings for specific details. For example, key "A" of your gameboy might be bound to key "Z" of your actual machine.
Snake costantly moves in a given direction. You can alter the direction of its movement by pressing left/right/ up/down. Snake can not go in the opposite direction of its movement (a.k.a if the snake is going right, you cannot make it go left instantly).
If you go beyond borders of the screen or higher that the red line on top of the screen, you will lose a life. Also, the snake cannot bump into itself. To score points, the snake has to collect apples that can be located anywhere on the screen. Once the snake eats an apple, it gets one unit bigger, so maneuvering gets trickier as you progress through the game. The objective is to collect as many points as you can and/or to achieve the maximum length of 200. If you lose a life, your snake is reset to its initial length, but your score is kept. Once you lose all lives, you get a game over and see your final score. If you restart a game after a game over, the score will be reset to 0.
The game launches to the title screen. In order to go from the title screen to the game, press "A". If you want to go back to the title screen at any point in the game press "Select" key (your score will be reset to 0). The player wins the game, if the length of the snake will be greater than 200.

Installation instructions

Okay, cool, you convinced me, I wanna play! How do I install the game?
Download and install the GBA emulator (there are plenty of good options out there, but I highly recommend Emulator Zone) and dowload the .gba file from this repo. Then open your emulator and click "File"->"Open..." and select the .gba file. You are good to go!

snake's People

Contributors

lnikolenko avatar

Watchers

 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.