Skip to content

Snake game created with react-native-game-engine, mobx and typescript

Notifications You must be signed in to change notification settings

makarkotlov/react-native-snake-game

Repository files navigation

React Native Snake Game

Features

  • Choose board size
  • Choose difficulty
  • Choose color theme
  • Swipes vs Joystick
  • Teleportation
  • JSC vs Hermes vs V8

Setup

  1. git clone
  2. npm i
  3. cd ios && pod install

Engine change

  1. Checkout the branch with different engine
  2. npm i
  3. cd android && ./gradlew clean (if you built the project before)
  4. Profile with Android Studio profiler
  5. Profile in release by adding in android/app/build.gradle
...
 android {
    lintOptions {
        checkReleaseBuilds false
        abortOnError false
    }
    compileSdkVersion rootProject.ext.compileSdkVersion
    compileOptions {...

and in application in AndroidManifest.xml

...
    android:debuggable="true">
...

About

Snake game created with react-native-game-engine, mobx and typescript

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published