Code Monkey home page Code Monkey logo

twosnakes-by-flutter's Introduction

MIT License


Logo

twosnakes-by-flutter

A snake game with two player mode powered by Flutter
Get it at Play Store »

View Demo · report Bug · Request Feature

For Chinese instruction, please refer to 中文项目简介

Table of Contents

About The Project

This is a snake game powered by Flutter with one or two player mode. Everything you can see in this app is generated by code. The most interesting part for me is I can play the game with a friend and change the color of almost everything at anytime.

One Player Mode

one player mode is just like traditional snake game, player could use both controller to control the snake, Please refer to the following demo. by the way, the gif compression algorithm lost too much details for this app, it is highly recommended to get app at Google Play Store or watch HD video at youtube. one player mode preview

Two Player Mode

two player mode is two player control a snake separately to compete for one foodpack using their own controller. two player mode preview

Change Color

user can change color of almost everything at anytime, and the changes take effect realtime even during the game. In fact, the render rate of widgets is quite high in this app since its a game app, and there is only one red bar(stands for a jank) occurred during a 5 minutes performance test. change color preview1 change color preview2

Built With

Getting Started

To get a local copy up and running follow these simple steps.

Installation

If you have never used Flutter before, you can install Flutter following this instruction.

Set up an editor

After the Installation, you may choose a editor you like. Android Studio and VS code are recommended.

play with app

  1. Clone the twosnakes-by-flutter
git clone https://github.com/zoujiemeng/twosnakes-by-flutter.git
  1. open the directory and run the app following this instruction.

  2. Make a change to app source and save the changed file then you can see the change take effect almost immediately on your device! This cool feature is provided by Hot Reload of Flutter.

Roadmap

See the open issues for a list of proposed features (and known issues).

Contributing

Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

License

Distributed under the MIT License. See LICENSE for more information.

Contact

Zou Jiemeng - @jiemengzou - [email protected]

Project Link: https://github.com/zoujiemeng/twosnakes-by-flutter

Acknowledgements

twosnakes-by-flutter's People

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.