diff --git a/BoardSwitcher.js b/BoardSwitcher.js
new file mode 100644
index 0000000..597fbdd
--- /dev/null
+++ b/BoardSwitcher.js
@@ -0,0 +1,50 @@
+import React from 'react';
+
+class Board extends React.Component {
+ render() {
+ let className = "board";
+ if (this.props.selected) {
+ className += " selected";
+ }
+ return (
+
+ {this.props.index + 1}
+
+ );
+ }
+}
+
+class BoardSwitcher extends React.Component {
+
+ constructor(props){
+ super(props);
+ this.state={startClick: 0
+ };
+ this.handleClick = this.handleClick.bind(this);
+ }
+ handleClick() {
+ this.setState(prevState =>({
+ startClick: (this.state.startClick + 1) %3
+
+ }));
+
+ }
+ render() {
+ let boards = [];
+ for (let ii = 0; ii < this.props.numBoards; ii++) {
+ let isSelected = ii === this.state.startClick;
+ boards.push(
+
+ );
+ }
+
+ return (
+
+ );
+ }
+}
+
+export default BoardSwitcher;
\ No newline at end of file