Giter VIP home page Giter VIP logo

different-snake-game's Introduction

Different Snake Game

Different Snake Game is a small indie game. It is a puzzle game designed to show the capabilities of basic Android Graphics. During the development of this, I have not used any gamin libraries. All graphics are drawn by Android Graphics library on plain canvas. A couple of specific points worth mentioning:

You can download it from Play Store: https://play.google.com/store/apps/details?id=com.thepot.differentsnakegame

  • Game board size, cell size are dynamically calculated at the start of the game. This was required since every device is different, therefore you have to calculate properly for knowing where to draw game objects, such as snake, cells, etc.
  • All game objects are vector graphics (except launcher icon), so they are screen size independent.
  • Game uses SQLite database to store and load all game details. This lets me continue the game from the same point as the user left, while also providing a separate checkpoint system.
  • SQLite game board saving is asynchronous for not interrupting the game.
  • Different game mechanics are unlocked during level progress. This help for more interactive user progress.
  • Banner and Interstitial ads are present. Interstitial ads only appear on menu activity after multiple attempts. So, not bloating whole game with ads.
  • Written in Java, looking at you, Kotlin for the next app!
  • Game is overall written with clean code and I believe I should be able to easily extend it with new mechanics and levels.

different-snake-game's People

Contributors

nijatismayilzada avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

fastdevataki

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.