Commit f11c7827 authored by Neranga K.T.'s avatar Neranga K.T.

medium screen

parent 5d3c53d0
import Gamedataone from '../models/gamedataone';
export const SCREEN1 = [
new Gamedataone(1, 'q1', 0, require('../../memory/images/medium/1/bird2.jpg')),
new Gamedataone(2, 'q1', 0, require('../../memory/images/medium/1/bird3.jpg')),
new Gamedataone(3, 'q1', 0, require('../../memory/images/medium/1/bird4.jpg')),
new Gamedataone(4, 'q1', 0, require('../../memory/images/medium/1/bird5.jpg')),
new Gamedataone(5, 'q1', 0, require('../../memory/images/medium/1/bird6.jpg')),
new Gamedataone(6, 'q1', 1, require('../../memory/images/medium/1/bird-main.jpg')),
new Gamedataone(7, 'q1', 0, require('../../memory/images/medium/1/bird7.jpg')),
new Gamedataone(8, 'q1', 0, require('../../memory/images/medium/1/bird8.jpg')),
];
export const SCREEN2 = [
new Gamedataone(1, 'q2', 0, require('../../memory/images/medium/2/bike2.jpg')),
new Gamedataone(2, 'q2', 0, require('../../memory/images/medium/2/bike3.jpg')),
new Gamedataone(3, 'q2', 0, require('../../memory/images/medium/2/bike4.jpg')),
new Gamedataone(4, 'q2', 1, require('../../memory/images/medium/2/bike-main.jpg')),
new Gamedataone(5, 'q2', 0, require('../../memory/images/medium/2/bike5.jpg')),
new Gamedataone(6, 'q2', 0, require('../../memory/images/medium/2/bike6.jpg')),
new Gamedataone(7, 'q2', 0, require('../../memory/images/medium/2/bike7.jpg')),
new Gamedataone(8, 'q2', 0, require('../../memory/images/medium/2/bike8.jpg')),
];
export const SCREEN3 = [
new Gamedataone(1, 'q3', 0, require('../../memory/images/medium/3/sh2.jpg')),
new Gamedataone(2, 'q3', 0, require('../../memory/images/medium/3/sh3.jpg')),
new Gamedataone(3, 'q3', 1, require('../../memory/images/medium/3/sh-main.jpg')),
new Gamedataone(4, 'q3', 0, require('../../memory/images/medium/3/sh5.jpg')),
new Gamedataone(5, 'q3', 0, require('../../memory/images/medium/3/sh6.jpg')),
new Gamedataone(6, 'q3', 0, require('../../memory/images/medium/3/sh7.jpg')),
new Gamedataone(7, 'q3', 0, require('../../memory/images/medium/3/sh8.jpg')),
new Gamedataone(8, 'q3', 0, require('../../memory/images/medium/3/sh4.jpg')),
];
export const SCREEN4 = [
new Gamedataone(1, 'q4', 0, require('../../memory/images/medium/4/bal2.jpg')),
new Gamedataone(2, 'q4', 0, require('../../memory/images/medium/4/bal3.jpg')),
new Gamedataone(3, 'q4', 0, require('../../memory/images/medium/4/bal4.jpg')),
new Gamedataone(4, 'q4', 0, require('../../memory/images/medium/4/bal5.jpg')),
new Gamedataone(5, 'q4', 0, require('../../memory/images/medium/4/bal6.jpg')),
new Gamedataone(6, 'q4', 0, require('../../memory/images/medium/4/bal7.jpg')),
new Gamedataone(7, 'q4', 1, require('../../memory/images/medium/4/bal-main.jpg')),
new Gamedataone(8, 'q4', 0, require('../../memory/images/medium/4/bal8.jpg')),
];
export const SCREEN5 = [
new Gamedataone(1, 'q5', 0, require('../../memory/images/medium/5/an2.jpg')),
new Gamedataone(2, 'q5', 0, require('../../memory/images/medium/5/an3.jpg')),
new Gamedataone(3, 'q5', 0, require('../../memory/images/medium/5/an4.jpg')),
new Gamedataone(4, 'q5', 0, require('../../memory/images/medium/5/an5.jpg')),
new Gamedataone(5, 'q5', 0, require('../../memory/images/medium/5/an6.jpg')),
new Gamedataone(6, 'q5', 1, require('../../memory/images/medium/5/an-main.jpg')),
new Gamedataone(7, 'q5', 0, require('../../memory/images/medium/5/an7.jpg')),
new Gamedataone(8, 'q5', 0, require('../../memory/images/medium/5/an8.jpg')),
];
export const SCREEN6 = [
new Gamedataone(1, 'q6', 0, require('../../memory/images/medium/6/arrow2.jpg')),
new Gamedataone(2, 'q6', 0, require('../../memory/images/medium/6/arrow3.jpg')),
new Gamedataone(3, 'q6', 0, require('../../memory/images/medium/6/arrow4.jpg')),
new Gamedataone(4, 'q6', 0, require('../../memory/images/medium/6/arrow5.jpg')),
new Gamedataone(5, 'q6', 0, require('../../memory/images/medium/6/arrow6.jpg')),
new Gamedataone(6, 'q6', 1, require('../../memory/images/medium/6/arrow-main.jpg')),
new Gamedataone(7, 'q6', 0, require('../../memory/images/medium/6/arrow7.jpg')),
new Gamedataone(8, 'q6', 0, require('../../memory/images/medium/6/arrow8.jpg')),
];
\ No newline at end of file
...@@ -10,7 +10,7 @@ const MediumGameScreenFive = ({navigation}) => { ...@@ -10,7 +10,7 @@ const MediumGameScreenFive = ({navigation}) => {
<Text></Text> <Text></Text>
<View style={styles.imageContainer}> <View style={styles.imageContainer}>
<Image <Image
source={require('../../../memory/images/elementry/5/el-fish1-main.jpg')} source={require('../../../memory/images/medium/5/an-main.jpg')}
style={styles.image} style={styles.image}
/> />
</View> </View>
......
...@@ -2,7 +2,7 @@ import React,{useState,useEffect} from 'react'; ...@@ -2,7 +2,7 @@ import React,{useState,useEffect} from 'react';
import {View, Text, StyleSheet, Image, TouchableOpacity, FlatList} from 'react-native'; import {View, Text, StyleSheet, Image, TouchableOpacity, FlatList} from 'react-native';
import { useDispatch } from 'react-redux'; import { useDispatch } from 'react-redux';
import * as memoryActions from '../../../store/actions/memory' import * as memoryActions from '../../../store/actions/memory'
import { SCREEN5 } from '../../../memory/data/elementry-level'; import { SCREEN5 } from '../../../memory/data/medium-level';
let gameData = SCREEN5.sort((item)=>Math.random(item.id)-0.5); let gameData = SCREEN5.sort((item)=>Math.random(item.id)-0.5);
......
...@@ -10,7 +10,7 @@ const MediumGameScreenFour = ({navigation}) => { ...@@ -10,7 +10,7 @@ const MediumGameScreenFour = ({navigation}) => {
<Text></Text> <Text></Text>
<View style={styles.imageContainer}> <View style={styles.imageContainer}>
<Image <Image
source={require('../../../memory/images/elementry/4/el-car1-main.jpg')} source={require('../../../memory/images/medium/4/bal-main.jpg')}
style={styles.image} style={styles.image}
/> />
</View> </View>
......
...@@ -2,7 +2,7 @@ import React,{useState,useEffect} from 'react'; ...@@ -2,7 +2,7 @@ import React,{useState,useEffect} from 'react';
import {View, Text, StyleSheet, Image, TouchableOpacity, FlatList} from 'react-native'; import {View, Text, StyleSheet, Image, TouchableOpacity, FlatList} from 'react-native';
import { useDispatch } from 'react-redux'; import { useDispatch } from 'react-redux';
import * as memoryActions from '../../../store/actions/memory' import * as memoryActions from '../../../store/actions/memory'
import { SCREEN4 } from '../../../memory/data/elementry-level'; import { SCREEN4 } from '../../../memory/data/medium-level';
let gameData = SCREEN4.sort((item)=>Math.random(item.id)-0.5); let gameData = SCREEN4.sort((item)=>Math.random(item.id)-0.5);
......
...@@ -25,7 +25,7 @@ const MediumGameScreenOne = ({navigation}) => { ...@@ -25,7 +25,7 @@ const MediumGameScreenOne = ({navigation}) => {
<Text></Text> <Text></Text>
<View style={styles.imageContainer}> <View style={styles.imageContainer}>
<Image <Image
source={require('../../../memory/images/elementry/1/elmain.jpeg')} source={require('../../../memory/images/medium/1/bird-main.jpg')}
style={styles.image} style={styles.image}
/> />
</View> </View>
......
...@@ -2,7 +2,7 @@ import React,{useEffect, useState} from 'react'; ...@@ -2,7 +2,7 @@ import React,{useEffect, useState} from 'react';
import {View, Text, StyleSheet, Image, TouchableOpacity, FlatList} from 'react-native'; import {View, Text, StyleSheet, Image, TouchableOpacity, FlatList} from 'react-native';
import {useSelector, useDispatch} from 'react-redux'; import {useSelector, useDispatch} from 'react-redux';
import * as memoryActions from '../../../store/actions/memory'; import * as memoryActions from '../../../store/actions/memory';
import { SCREEN1 } from '../../../memory/data/elementry-level'; import { SCREEN1 } from '../../../memory/data/medium-level';
let gameData = SCREEN1.sort((item)=>Math.random(item.id)-0.5); let gameData = SCREEN1.sort((item)=>Math.random(item.id)-0.5);
......
...@@ -10,7 +10,7 @@ const MediumGameScreenSix = ({navigation}) => { ...@@ -10,7 +10,7 @@ const MediumGameScreenSix = ({navigation}) => {
<Text></Text> <Text></Text>
<View style={styles.imageContainer}> <View style={styles.imageContainer}>
<Image <Image
source={require('../../../memory/images/elementry/6/el-kite1-main.jpg')} source={require('../../../memory/images/medium/6/arrow-main.jpg')}
style={styles.image} style={styles.image}
/> />
</View> </View>
......
...@@ -2,7 +2,7 @@ import React,{useState,useEffect} from 'react'; ...@@ -2,7 +2,7 @@ import React,{useState,useEffect} from 'react';
import {View, Text, StyleSheet, Image, TouchableOpacity, FlatList} from 'react-native'; import {View, Text, StyleSheet, Image, TouchableOpacity, FlatList} from 'react-native';
import { useDispatch } from 'react-redux'; import { useDispatch } from 'react-redux';
import * as memoryActions from '../../../store/actions/memory'; import * as memoryActions from '../../../store/actions/memory';
import { SCREEN6 } from '../../../memory/data/elementry-level'; import { SCREEN6 } from '../../../memory/data/medium-level';
let gameData = SCREEN6.sort((item)=>Math.random(item.id)-0.5); let gameData = SCREEN6.sort((item)=>Math.random(item.id)-0.5);
......
...@@ -10,7 +10,7 @@ const MediumGameScreenThree = ({navigation}) => { ...@@ -10,7 +10,7 @@ const MediumGameScreenThree = ({navigation}) => {
<Text></Text> <Text></Text>
<View style={styles.imageContainer}> <View style={styles.imageContainer}>
<Image <Image
source={require('../../../memory/images/elementry/3/el-flo1-main.jpg')} source={require('../../../memory/images/medium/3/sh-main.jpg')}
style={styles.image} style={styles.image}
/> />
</View> </View>
......
...@@ -2,7 +2,7 @@ import React,{useState,useEffect} from 'react'; ...@@ -2,7 +2,7 @@ import React,{useState,useEffect} from 'react';
import {View, Text, StyleSheet, Image, TouchableOpacity, FlatList} from 'react-native'; import {View, Text, StyleSheet, Image, TouchableOpacity, FlatList} from 'react-native';
import { useDispatch } from 'react-redux'; import { useDispatch } from 'react-redux';
import * as memoryActions from '../../../store/actions/memory'; import * as memoryActions from '../../../store/actions/memory';
import { SCREEN3 } from '../../../memory/data/elementry-level'; import { SCREEN3 } from '../../../memory/data/medium-level';
let gameData = SCREEN3.sort((item)=>Math.random(item.id)-0.5); let gameData = SCREEN3.sort((item)=>Math.random(item.id)-0.5);
......
...@@ -10,7 +10,7 @@ const MediumGameScreenTwo = ({navigation}) => { ...@@ -10,7 +10,7 @@ const MediumGameScreenTwo = ({navigation}) => {
<Text></Text> <Text></Text>
<View style={styles.imageContainer}> <View style={styles.imageContainer}>
<Image <Image
source={require('../../../memory/images/elementry/2/el-ball1-main.jpg')} source={require('../../../memory/images/medium/2/bike-main.jpg')}
style={styles.image} style={styles.image}
/> />
</View> </View>
......
...@@ -3,7 +3,7 @@ import React, {useState,useEffect} from 'react'; ...@@ -3,7 +3,7 @@ import React, {useState,useEffect} from 'react';
import {View, Text, StyleSheet, Image, TouchableOpacity,FlatList} from 'react-native'; import {View, Text, StyleSheet, Image, TouchableOpacity,FlatList} from 'react-native';
import { useDispatch } from 'react-redux'; import { useDispatch } from 'react-redux';
import * as memoryActions from '../../../store/actions/memory' import * as memoryActions from '../../../store/actions/memory'
import { SCREEN2 } from '../../../memory/data/elementry-level'; import { SCREEN2 } from '../../../memory/data/medium-level';
let gameData = SCREEN2.sort((item)=>Math.random(item.id)-0.5); let gameData = SCREEN2.sort((item)=>Math.random(item.id)-0.5);
......
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