Improved light mode colors and game over message

This commit is contained in:
Arnaud Vergnet 2020-03-16 19:48:03 +01:00
parent 7980b8b422
commit e5bde81964
2 changed files with 11 additions and 9 deletions

View file

@ -140,9 +140,11 @@ class TetrisScreen extends React.Component<Props, State> {
}
showGameOverConfirm() {
let message = 'SCORE: ' + this.state.gameScore + '\n';
message += 'TIME: ' + this.state.gameTime + '\n';
Alert.alert(
'GAME OVER',
'NOOB',
message,
[
{text: 'LEAVE', onPress: () => this.props.navigation.goBack()},
{text: 'RESTART', onPress: () => this.startGame()},

View file

@ -56,16 +56,16 @@ export default class ThemeManager {
tutorinsaColor: '#f93943',
// Tetris
tetrisBackground:'#d1d1d1',
tetrisBorder:'#afafaf',
tetrisScore:'#fff307',
tetrisI : '#42f1ff',
tetrisBackground:'#e6e6e6',
tetrisBorder:'#2f2f2f',
tetrisScore:'#e2bd33',
tetrisI : '#3cd9e6',
tetrisO : '#ffdd00',
tetrisT : '#ba19ff',
tetrisS : '#0bff34',
tetrisT : '#a716e5',
tetrisS : '#09c528',
tetrisZ : '#ff0009',
tetrisJ : '#134cff',
tetrisL : '#ff8834',
tetrisJ : '#2a67e3',
tetrisL : '#da742d',
},
};
}