Commit 4a7fcc0c authored by Lihinikaduwa D.N.R.  's avatar Lihinikaduwa D.N.R.

Merge branch 'master' of http://gitlab.sliit.lk/21_22-j-38/21_22j-38 into it18257632

parents a6b5e310 be21966e
This diff is collapsed.
...@@ -44,7 +44,7 @@ export default function Home({ navigation }){ ...@@ -44,7 +44,7 @@ export default function Home({ navigation }){
<View style={styles.imageView}> <View style={styles.imageView}>
<Image <Image
style={styles.image} style={styles.image}
source={require('../assets/color/background.png')} source={require('../memory/images/assets/mh.jpg')}
resizeMode="contain"></Image> resizeMode="contain"></Image>
<ImageButton path="GameList" title="Memory Activities" /> <ImageButton path="GameList" title="Memory Activities" />
</View> </View>
......
...@@ -93,9 +93,14 @@ const GameOverScreen = ({navigation}) => { ...@@ -93,9 +93,14 @@ const GameOverScreen = ({navigation}) => {
// <Text style={styles.resultText}> // <Text style={styles.resultText}>
// <Text>Child's disorder level is </Text> <Text style={styles.highlight}>{disorderLevel}</Text> // <Text>Child's disorder level is </Text> <Text style={styles.highlight}>{disorderLevel}</Text>
// </Text> // </Text>
<Text style={styles.resultText}> <View>
{disorderLevel == 'High' ? `Hmm...It looks like you have to keep remember more...` : disorderLevel == 'Medium' ? `Hey...nicely played! Good!` : 'Wow! You are Excellent!'} <Text style={styles.resultText}>
</Text> {disorderLevel == 'High' ? `Hmm...It looks like you have to keep remember more...` : disorderLevel == 'Medium' ? `Hey...nicely played! Good!` : 'Wow! You are Excellent!'}
</Text>
<Text style={styles.resultTextDown}>
( <Text>Child's disorder level is </Text> <Text style={styles.highlight}>{disorderLevel}</Text> )
</Text>
</View>
); );
} }
...@@ -164,6 +169,11 @@ const styles = StyleSheet.create({ ...@@ -164,6 +169,11 @@ const styles = StyleSheet.create({
fontSize: 22, fontSize: 22,
fontWeight: 'bold' fontWeight: 'bold'
}, },
resultTextDown: {
textAlign: 'center',
fontSize: 18,
fontWeight: 'bold'
},
buttonContainer: { buttonContainer: {
flexDirection: 'row', flexDirection: 'row',
width: 300, width: 300,
......
...@@ -4,7 +4,7 @@ import {View, Text, StyleSheet} from 'react-native'; ...@@ -4,7 +4,7 @@ import {View, Text, StyleSheet} from 'react-native';
const MemoryResult = () => { const MemoryResult = () => {
return( return(
<View style={styles.screen}> <View style={styles.screen}>
<Text>Result Screen</Text>
</View> </View>
); );
} }
......
...@@ -14,6 +14,7 @@ const GameScreenFive = ({navigation}) => { ...@@ -14,6 +14,7 @@ const GameScreenFive = ({navigation}) => {
style={styles.image} style={styles.image}
/> />
</View> </View>
<Text style={styles.imageText}>Fish</Text>
<CountDown <CountDown
size={40} size={40}
until={Countdown.elementry} until={Countdown.elementry}
...@@ -27,7 +28,7 @@ const GameScreenFive = ({navigation}) => { ...@@ -27,7 +28,7 @@ const GameScreenFive = ({navigation}) => {
timeLabels={{s: 'Seconds'}} timeLabels={{s: 'Seconds'}}
style={styles.counter} style={styles.counter}
/> />
<Text style={styles.imageText}>Fish</Text>
</View> </View>
); );
} }
...@@ -57,7 +58,7 @@ const GameScreenFive = ({navigation}) => { ...@@ -57,7 +58,7 @@ const GameScreenFive = ({navigation}) => {
height: '100%' height: '100%'
}, },
imageText: { imageText: {
fontSize: 24, fontSize: 36,
fontWeight: 'bold', fontWeight: 'bold',
marginTop: 30 marginTop: 30
}, },
......
...@@ -57,7 +57,7 @@ const GameScreenFour = ({navigation}) => { ...@@ -57,7 +57,7 @@ const GameScreenFour = ({navigation}) => {
height: '100%' height: '100%'
}, },
imageText: { imageText: {
fontSize: 24, fontSize: 36,
fontWeight: 'bold', fontWeight: 'bold',
marginTop: 30 marginTop: 30
}, },
......
...@@ -72,7 +72,7 @@ const styles = StyleSheet.create({ ...@@ -72,7 +72,7 @@ const styles = StyleSheet.create({
height: '100%' height: '100%'
}, },
imageText: { imageText: {
fontSize: 24, fontSize: 36,
fontWeight: 'bold', fontWeight: 'bold',
marginTop: 30 marginTop: 30
}, },
......
...@@ -14,7 +14,7 @@ const GameScreenSix = ({navigation}) => { ...@@ -14,7 +14,7 @@ const GameScreenSix = ({navigation}) => {
style={styles.image} style={styles.image}
/> />
</View> </View>
<Text style={styles.imageText}>Pencil</Text> <Text style={styles.imageText}>Kite</Text>
<CountDown <CountDown
size={40} size={40}
until={Countdown.elementry} until={Countdown.elementry}
...@@ -57,7 +57,7 @@ const GameScreenSix = ({navigation}) => { ...@@ -57,7 +57,7 @@ const GameScreenSix = ({navigation}) => {
height: '100%' height: '100%'
}, },
imageText: { imageText: {
fontSize: 24, fontSize: 36,
fontWeight: 'bold', fontWeight: 'bold',
marginTop: 30 marginTop: 30
}, },
......
...@@ -57,7 +57,7 @@ const GameScreenThree = ({navigation}) => { ...@@ -57,7 +57,7 @@ const GameScreenThree = ({navigation}) => {
height: '100%' height: '100%'
}, },
imageText: { imageText: {
fontSize: 24, fontSize: 36,
fontWeight: 'bold', fontWeight: 'bold',
marginTop: 30 marginTop: 30
}, },
......
...@@ -57,7 +57,7 @@ const GameScreenTwo = ({navigation}) => { ...@@ -57,7 +57,7 @@ const GameScreenTwo = ({navigation}) => {
height: '100%' height: '100%'
}, },
imageText: { imageText: {
fontSize: 24, fontSize: 36,
fontWeight: 'bold', fontWeight: 'bold',
marginTop: 30 marginTop: 30
}, },
......
...@@ -58,7 +58,7 @@ const MediumGameScreenFive = ({navigation}) => { ...@@ -58,7 +58,7 @@ const MediumGameScreenFive = ({navigation}) => {
height: '100%' height: '100%'
}, },
imageText: { imageText: {
fontSize: 24, fontSize: 36,
fontWeight: 'bold', fontWeight: 'bold',
marginTop: 30 marginTop: 30
}, },
......
...@@ -57,7 +57,7 @@ const MediumGameScreenFour = ({navigation}) => { ...@@ -57,7 +57,7 @@ const MediumGameScreenFour = ({navigation}) => {
height: '100%' height: '100%'
}, },
imageText: { imageText: {
fontSize: 24, fontSize: 36,
fontWeight: 'bold', fontWeight: 'bold',
marginTop: 30 marginTop: 30
}, },
......
...@@ -72,7 +72,7 @@ const styles = StyleSheet.create({ ...@@ -72,7 +72,7 @@ const styles = StyleSheet.create({
height: '100%' height: '100%'
}, },
imageText: { imageText: {
fontSize: 24, fontSize: 36,
fontWeight: 'bold', fontWeight: 'bold',
marginTop: 30 marginTop: 30
}, },
......
...@@ -57,7 +57,7 @@ const MediumGameScreenSix = ({navigation}) => { ...@@ -57,7 +57,7 @@ const MediumGameScreenSix = ({navigation}) => {
height: '100%' height: '100%'
}, },
imageText: { imageText: {
fontSize: 24, fontSize: 36,
fontWeight: 'bold', fontWeight: 'bold',
marginTop: 30 marginTop: 30
}, },
......
...@@ -57,7 +57,7 @@ const MediumGameScreenThree = ({navigation}) => { ...@@ -57,7 +57,7 @@ const MediumGameScreenThree = ({navigation}) => {
height: '100%' height: '100%'
}, },
imageText: { imageText: {
fontSize: 24, fontSize: 36,
fontWeight: 'bold', fontWeight: 'bold',
marginTop: 30 marginTop: 30
}, },
......
...@@ -57,7 +57,7 @@ const MediumGameScreenTwo = ({navigation}) => { ...@@ -57,7 +57,7 @@ const MediumGameScreenTwo = ({navigation}) => {
height: '100%' height: '100%'
}, },
imageText: { imageText: {
fontSize: 24, fontSize: 36,
fontWeight: 'bold', fontWeight: 'bold',
marginTop: 30 marginTop: 30
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment