-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #23 from averycrespi/develop
Merge develop into master
- Loading branch information
Showing
9 changed files
with
90 additions
and
60 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,7 +11,7 @@ | |
"email": "[email protected]" | ||
}, | ||
"license": "MIT", | ||
"version": "0.1.0", | ||
"version": "1.0.0", | ||
"dependencies": { | ||
"@fortawesome/fontawesome-svg-core": "^1.2.29", | ||
"@fortawesome/free-brands-svg-icons": "^5.13.1", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
import React from "react"; | ||
|
||
/** Render the controls. */ | ||
const Controls = () => ( | ||
<div className="row flex-center"> | ||
<div | ||
className="col no-padding" | ||
style={{ textAlign: "center", wordWrap: "break-word" }} | ||
> | ||
<h2>Controls</h2> | ||
<p> | ||
<b>Place a piece:</b> Click a piece in your hand, then click one of the | ||
highlighted spaces. | ||
</p> | ||
<p> | ||
<b>Move a piece:</b> Click a piece on the board, then click one of the | ||
highlighted spaces. | ||
</p> | ||
<p> | ||
<b>Rotate a piece:</b> Click a tank in your hand, then click one of the | ||
highlighted tanks on the board. | ||
</p> | ||
</div> | ||
</div> | ||
); | ||
|
||
export default Controls; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
import { Link } from "react-router-dom"; | ||
import React from "react"; | ||
|
||
/** Opens the How to Play page in a new tab. */ | ||
const ShowHelp = () => ( | ||
<div className="row flex-center"> | ||
<div className="col no-padding"> | ||
<Link | ||
to="/help" | ||
target="_blank" | ||
rel="noopener noreferrer" | ||
className="no-underline" | ||
> | ||
<button>How to play</button> | ||
</Link> | ||
</div> | ||
</div> | ||
); | ||
|
||
export default ShowHelp; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.