An open API service indexing awesome lists of open source software.

https://github.com/expo/fluxpybird

some ideas involving games and Redux
https://github.com/expo/fluxpybird

Last synced: 6 months ago
JSON representation

some ideas involving games and Redux

Awesome Lists containing this project

README

          


Fun!"/

This is a game written with [exponent](http://exponentjs.com/), [react-native](https://facebook.github.io/react-native/) and [redux](https://github.com/rackt/redux).

Here are a few quick notes. I'll write a longer blog post soon explaining in more detail!

1. Redux actions are used for all game events. For example, the `{ type: 'TOUCH', pressed: }` event, when dispatched, causes the game's reducers to respond to a touch press. You see in the above GIF image a `queueDispatch(...)` call which queues an action for dispatch on next `'TICK'` (which is itself an action `{ type: TICK, dt: