Changement minimes
continuous-integration/drone/push Build is failing Details

Persistance
Thomas Chazot 2 years ago
parent 14fd72d92c
commit 0459f4f1d5

@ -2,7 +2,7 @@ import { FC, ReactNode, useCallback } from "react"
import { Pressable, Image, ImageStyle, Text, View, Alert, ImageSourcePropType, TextStyle } from "react-native" import { Pressable, Image, ImageStyle, Text, View, Alert, ImageSourcePropType, TextStyle } from "react-native"
import React from "react" import React from "react"
import { trace } from "console" import { trace } from "console"
import { Game } from "../core/Game" import { Game } from "../core/game"
/* /*
Importing the correct stylesheet Importing the correct stylesheet

@ -2,7 +2,7 @@ import React from "react";
import create from "zustand"; import create from "zustand";
import { MANAGER_USER } from "../../App"; import { MANAGER_USER } from "../../App";
import tabSkinApp from "../constSkin"; import tabSkinApp from "../constSkin";
import { Game } from "../core/Game"; import { Game } from "../core/game";
import { Skin } from "../core/Skin"; import { Skin } from "../core/Skin";
import { User } from "../core/User/user"; import { User } from "../core/User/user";

@ -72,4 +72,4 @@ export abstract class Game{
} }
abstract coinsCalculator(points: number): number; abstract coinsCalculator(points: number): number;
} }

@ -1,5 +1,5 @@
import { ImageSourcePropType } from 'react-native'; import { ImageSourcePropType } from 'react-native';
import { Game } from '../Game'; import { Game } from '../game';
import { User } from "../User/user"; import { User } from "../User/user";

@ -1,6 +1,6 @@
import { Match } from "./match"; import { Match } from "./match";
import { User } from "../User/user"; import { User } from "../User/user";
import { Game } from "../Game"; import { Game } from "../game";
import { GameCasino } from "../gameCasino"; import { GameCasino } from "../gameCasino";
import { ManagerCoinsUser } from "../User/userCoinsModifier"; import { ManagerCoinsUser } from "../User/userCoinsModifier";

@ -1,6 +1,6 @@
import { MANAGER_MATCH } from "../../../App"; import { MANAGER_MATCH } from "../../../App";
import ManagerMatch from "../../services/matchServices/managerMatch"; import ManagerMatch from "../../services/matchServices/managerMatch";
import { Game } from "../Game"; import { Game } from "../game";
import { User } from "../User/user"; import { User } from "../User/user";
import { Match } from "./match"; import { Match } from "./match";

@ -1,6 +1,6 @@
import { Match } from "./match"; import { Match } from "./match";
import { User } from "../User/user"; import { User } from "../User/user";
import { Game } from "../Game"; import { Game } from "../game";
import { GameMulti } from "../gameMulti"; import { GameMulti } from "../gameMulti";
import { ManagerCoinsUser } from "../User/userCoinsModifier"; import { ManagerCoinsUser } from "../User/userCoinsModifier";

@ -1,7 +1,7 @@
import { Match } from "./match"; import { Match } from "./match";
import { GameSolo } from "../gameSolo"; import { GameSolo } from "../gameSolo";
import { User } from "../User/user"; import { User } from "../User/user";
import { Game } from "../Game"; import { Game } from "../game";
import { ManagerCoinsUser } from "../User/userCoinsModifier"; import { ManagerCoinsUser } from "../User/userCoinsModifier";
export default class MatchSolo extends Match{ export default class MatchSolo extends Match{

@ -1,4 +1,4 @@
import { Game } from './Game' import { Game } from './game'
export class GameCasino extends Game{ export class GameCasino extends Game{

@ -1,4 +1,4 @@
import { Game } from './Game' import { Game } from './game'
export class GameMulti extends Game{ export class GameMulti extends Game{
readonly rankToCoins:Map<number,number> readonly rankToCoins:Map<number,number>

@ -1,4 +1,4 @@
import { Game } from './Game' import { Game } from './game'
export class GameSolo extends Game{ export class GameSolo extends Game{
readonly ptsToCoins:Map<number,number> readonly ptsToCoins:Map<number,number>

@ -1,7 +1,7 @@
import { StatusBar } from 'expo-status-bar' import { StatusBar } from 'expo-status-bar'
import { StyleSheet, View, Text, Alert, Pressable, Image, FlatList} from 'react-native' import { StyleSheet, View, Text, Alert, Pressable, Image, FlatList} from 'react-native'
import React from 'react'; import React from 'react';
import { Game } from '../core/Game'; import { Game } from '../core/game';
import { Skin } from '../core/skin'; import { Skin } from '../core/skin';
import { TopBar } from '../components/TopBar'; import { TopBar } from '../components/TopBar';
import { BotBar } from '../components/BotBar'; import { BotBar } from '../components/BotBar';

@ -9,7 +9,7 @@ import { ButtonGameTypeChoice } from '../components/ButtonGameTypeChoice';
import { MANAGER_GAME } from '../../App'; import { MANAGER_GAME } from '../../App';
import { useGameStore } from '../context/gameContext'; import { useGameStore } from '../context/gameContext';
import { GameSolo } from '../core/gameSolo'; import { GameSolo } from '../core/gameSolo';
import { Game } from '../core/Game'; import { Game } from '../core/game';
import game from '../testGameSolo'; import game from '../testGameSolo';

@ -1,4 +1,4 @@
import { Game } from "../../core/Game"; import { Game } from "../../core/game";
export default interface ILoaderGame{ export default interface ILoaderGame{

@ -1,4 +1,4 @@
import { Game } from "../../core/Game"; import { Game } from "../../core/game";
import { GameSolo } from "../../core/gameSolo"; import { GameSolo } from "../../core/gameSolo";
import ILoaderGame from "./ILoaderGame"; import ILoaderGame from "./ILoaderGame";

@ -1,4 +1,4 @@
import { Game } from "../../core/Game"; import { Game } from "../../core/game";
import ILoaderGame from "./ILoaderGame"; import ILoaderGame from "./ILoaderGame";
export default class ManagerGame{ export default class ManagerGame{

@ -1,4 +1,4 @@
import { Game } from "../../core/Game"; import { Game } from "../../core/game";
import { Match } from "../../core/Match/match"; import { Match } from "../../core/Match/match";
import { User } from "../../core/User/user"; import { User } from "../../core/User/user";

@ -1,4 +1,4 @@
import { Game } from "../../core/Game"; import { Game } from "../../core/game";
import { Match } from "../../core/Match/match"; import { Match } from "../../core/Match/match";
import { User } from "../../core/User/user"; import { User } from "../../core/User/user";

@ -1 +0,0 @@
Subproject commit b2c910a85ed84cb7e5108e7cb3406a2e825a858f
Loading…
Cancel
Save