Skip to content
React-native drag-n-drop game.
Branch: master
Clone or download
Latest commit 6f203a8 May 6, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
android
assets/fonts initial commit Sep 2, 2018
ios add failure action music Apr 17, 2019
screenshots update screenshots Sep 2, 2018
src prettier Apr 20, 2019
.babelrc fix merge Apr 17, 2019
.buckconfig initial commit Sep 2, 2018
.flowconfig update react-native Apr 17, 2019
.gitattributes initial commit Sep 2, 2018
.gitignore initial commit Sep 2, 2018
.travis.yml fix android build Apr 20, 2019
.watchmanconfig initial commit Sep 2, 2018
LICENSE initial commit Sep 2, 2018
README.md add bugsnag logo May 6, 2019
app.json fix merge Apr 17, 2019
background.svg initial commit Sep 2, 2018
bugsnag_logo_navy.svg Add files via upload May 6, 2019
icon.png initial commit Sep 2, 2018
icon512.png initial commit Sep 2, 2018
image10.png initial commit Sep 2, 2018
index.js update react-native Apr 17, 2019
metro.config.js update react-native Apr 17, 2019
package-lock.json add failure action music Apr 17, 2019
package.json add failure action music Apr 17, 2019
prettier.config.js initial commit Sep 2, 2018

README.md

Cat or Dog?

Build Status

Mobile game where you need swipe photos of animals to match categories. I've made it just for fun and as some Animated api practice.

youtube video:

video link

build with

react-native, redux, react-native-gesture-handler.

No ads, gsm, etc..

To do

  • test app on ios
  • add levels(in progress)
  • refactor drag-n-drop animations with react-native-reanimated
  • add action game objects: extra live, speed slower, etc...

Contribution

make sure ci is green

adding\changing photos

  1. add photo file to src/img
  2. add new item to src/data/index.js
const photoExample = {
       resource: require("../img/fat_cat_1.jpg"),
       source: "url to photo source, if required",
       tags: ["cat", "fat cat"]
    }

adding\changing levels.

you change levels here src/data/levels.js

const levelExample = {
        name: "name of level",
		passingScore: 50, // score to pass level
		leftCategory: "sad dog", 
		rightCategory: "dressed cat",
		newItemProvider: x => 5000 - x * 10, // time of item number x producing
		fallingIntervalProvider: x => 4000 - x * 5 // duration of item number x falling down
}

License

  • source code: MIT
  • assets: Creative Commons

Sponsors

You can’t perform that action at this time.