Files
  • src
    • App.js
    • App.css
    • index.css
    • index.js
    • logo.svg
  • package.json
src/App.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
import React, {Component} from 'react';
import './App.css';

class App extends Component {
  render() {
    return (
      <div className="App">
        <h1>Welcome to Minesweeper</h1>
        <Game/>
      </div>
    );
  }
}
class Game extends Component {
  constructor(props){
    super(props);
    this.state={gameBoard:[]};
    this.reset();
  }
  reset(){
    
  }
  render(){
    return (
      <table>
      
      </table>
    )
  }
}

export default App;