At the 11th Meteor meetup Ruhr I presented my first mobile game "Walk of Claim" for iPhone and Android. This presentation discusses the creation of the game in five acts.
4. WA L K I N G I S A T H I N G I N 2 0 1 5
Keep it engaging!
Keep it casual!
5. • Meteor
• Nodejs
• MongoDB
• Apache Cordova for running on Android and iOS
• Iron:Router
• Meteoric aka Ionic
• LeafletJS
• Turfjs with lots of GeoJSON
• OpenStreetMap and Stamen Map Tiles
+ Special guest appearances by Twitter and Facebook
L E T ’ S B U I L D S O M E T H I N G N E W
M E E T T H E P L AY E R S
6. L E T ’ S H A C K T H I S T O G E T H E R
A C T I I - R I S I N G A C T I O N
7. P O I N T S , L I N E S T R I N G S , A N D P O LY G O N S
G E O J S O N F E A T U R I N G
8. – M E , C A . 2 8 4 T I M E S ( T O D AY )
“Where the f#?! did this come from?”
9. W R A P P I N G F U N C T I O N A L I T Y I N PA C K A G E S
10. O R G A N I Z E A L L T H E
T H I N G S
• Small functional units
• Share methods whenever possible
• Use isomorphic packages!!!
• Use better naming conventions
• Think really hard about return values
• Sometimes Session is really useful!
12. D A B B L I N G W I T H C O O R D S
C H R O M E L O C A T I O N E M U L A T I O N F O R T H E W I N
13. H O W T O P L AY
• Waiting for the bus? Walk around!
• Going running? Claim some land!
• Been there, done that? Discover new
places and extend your empire!
14. Q U A N T I F I E D
C L A I M I N G
• Personal stats and Top 10
• Each claim triggers score calculation
• Denormalized data (pre-aggregated)
• Clicking on metrics opens Top 10
15. P R I VA C Y
• People don’t like sharing location
with social networks
• Full control over which data is shared
• Deleting the account
16. I T ’ S A S TA R ,
N O T A F E AT U R E
J U M P Y G P S A N D WA L K I N G S TA R S
17. B U G S , P I T FA L L S , A N D R E J E C T I O N
A C T I V - FA L L I N G A C T I O N
18. T E C H N I C A L
C H A L L E N G E S
• Bugs in used libs
• Editing inputs on Android (Ionic)
• Hot code push on iOS breaks things
• Bugs in my code
• Linestring to Polygon conversion
• Not creating isomorphic packages
• Testing
• Simulating geolocation
• Simulating load
19. E N T E R : T H E A P P S T O R E S
• A dozen steps to production
• Review times for distributing beta versions
• Pray the copyright androids work in your favour
• Hot code push is great - when it works (e.g.
meteor issue #4496)
20. C L A I M A L L T H E L A N D S
A C T V - R E S O L U T I O N