We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 0d7912a + 0139073 commit 38ad78cCopy full SHA for 38ad78c
1 file changed
src/components/Gamepage/GamePage.js
@@ -37,6 +37,9 @@ export default class GamePage extends Component {
37
description: res.data.description,
38
players: res.data.players
39
});
40
+ if (this.state.title == 'Seattle' && this.state.cash == 800) {
41
+ alert("GAME OVER, you need to start again")
42
+ }
43
})
44
.catch(err => console.log(err));
45
0 commit comments