Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lesson 35 #26

Open
wants to merge 38 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
5e12e53
lesson-2
iamshaunjp Oct 22, 2019
c59be8c
lesson-3
iamshaunjp Oct 22, 2019
e7a4b8a
lesson-4
iamshaunjp Oct 22, 2019
38a4690
lesson-5
iamshaunjp Oct 22, 2019
e864653
lesson-6
iamshaunjp Oct 22, 2019
b4633fe
lesson-7
iamshaunjp Oct 23, 2019
6991989
lesson-8
iamshaunjp Oct 23, 2019
54b986e
lesson-9
iamshaunjp Oct 23, 2019
f16fefc
lesson-10
iamshaunjp Oct 23, 2019
d7f5c6d
lesson-11
iamshaunjp Oct 23, 2019
fcbded2
lesson-12
iamshaunjp Oct 24, 2019
8e15c35
lesson-13
iamshaunjp Oct 24, 2019
71a9b0d
lesson-13
iamshaunjp Oct 24, 2019
c98653b
lesson-14
iamshaunjp Oct 24, 2019
95fa0b3
lesson-15
iamshaunjp Oct 25, 2019
205842b
lesson-15
iamshaunjp Oct 25, 2019
3ec0b6c
lesson-16
iamshaunjp Oct 25, 2019
9fd56ec
lesson-17
iamshaunjp Oct 25, 2019
68a2585
lesson-17
iamshaunjp Oct 25, 2019
990cc74
lesson-18
iamshaunjp Oct 25, 2019
ce1fa4e
lesson-19
iamshaunjp Oct 25, 2019
d3846e8
lesson-20
iamshaunjp Oct 25, 2019
dd5f59b
lesson-21
iamshaunjp Oct 26, 2019
2ab4cf5
lesson-22
iamshaunjp Oct 26, 2019
edf08f6
lesson-25
iamshaunjp Oct 26, 2019
3bb78c2
lesson-22
iamshaunjp Oct 26, 2019
40e4668
lesson-24
iamshaunjp Oct 26, 2019
b015d01
lesson-24
iamshaunjp Oct 26, 2019
9a8cd4c
lesson-25
iamshaunjp Oct 26, 2019
54f44f9
lesson-26
iamshaunjp Oct 26, 2019
2ec4664
lesson-27
iamshaunjp Oct 26, 2019
09ec948
lesson-28
iamshaunjp Oct 26, 2019
09c0923
lesson-29
iamshaunjp Oct 26, 2019
2cc3d31
lesson-30
iamshaunjp Oct 26, 2019
407bdde
lesson-31
iamshaunjp Oct 27, 2019
455bcca
lesson-32
iamshaunjp Oct 27, 2019
2bdca9d
lesson-33
iamshaunjp Oct 27, 2019
6f780c2
lesson-34
iamshaunjp Oct 27, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions gamezone/.expo-shared/assets.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"f9155ac790fd02fadcdeca367b02581c04a353aa6d5aa84409a59f6804c87acd": true,
"89ed26367cdb9b771858e026f2eb95bfdb90e5ae943e716575327ec325f39c44": true
}
14 changes: 14 additions & 0 deletions gamezone/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
node_modules/**/*
.expo/*
npm-debug.*
*.jks
*.p8
*.p12
*.key
*.mobileprovision
*.orig.*
web-build/
web-report/

# macOS
.DS_Store
27 changes: 27 additions & 0 deletions gamezone/App.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
import React, { useState } from 'react';
import * as Font from 'expo-font';
import { AppLoading } from 'expo';
import Navigator from './routes/drawer';

const getFonts = () => Font.loadAsync({
'nunito-regular': require('./assets/fonts/Nunito-Regular.ttf'),
'nunito-bold': require('./assets/fonts/Nunito-Bold.ttf'),
});

export default function App() {
const [fontsLoaded, setFontsLoaded] = useState(false);

if (fontsLoaded) {
return (
<Navigator />
);
} else {
return (
<AppLoading
startAsync={getFonts}
onFinish={() => setFontsLoaded(true)}
/>
)
}

}
30 changes: 30 additions & 0 deletions gamezone/app.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
"expo": {
"name": "gamezone",
"slug": "gamezone",
"privacy": "public",
"sdkVersion": "35.0.0",
"platforms": [
"ios",
"android",
"web"
],
"version": "1.0.0",
"orientation": "portrait",
"icon": "./assets/icon.png",
"splash": {
"image": "./assets/splash.png",
"resizeMode": "contain",
"backgroundColor": "#ffffff"
},
"updates": {
"fallbackToCacheTimeout": 0
},
"assetBundlePatterns": [
"**/*"
],
"ios": {
"supportsTablet": true
}
}
}
Binary file added gamezone/assets/fonts/Nunito-Bold.ttf
Binary file not shown.
Binary file added gamezone/assets/fonts/Nunito-Regular.ttf
Binary file not shown.
Binary file added gamezone/assets/game_bg.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added gamezone/assets/heart_logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added gamezone/assets/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added gamezone/assets/rating-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added gamezone/assets/rating-2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added gamezone/assets/rating-3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added gamezone/assets/rating-4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added gamezone/assets/rating-5.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added gamezone/assets/splash.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 6 additions & 0 deletions gamezone/babel.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
module.exports = function(api) {
api.cache(true);
return {
presets: ['babel-preset-expo'],
};
};
Loading