Skip to content

Commit bc2d963

Browse files
Add screenshots to home, rules, and docs
Also updates rules and documentation across the site.
1 parent 1147afa commit bc2d963

12 files changed

+116
-18
lines changed

.gitignore

+3
Original file line numberDiff line numberDiff line change
@@ -189,3 +189,6 @@ wpg.sqlite3
189189

190190
# Ignore future changes to stripe configuration
191191
configs/stripe.yaml
192+
193+
# Mac Users
194+
.DS_Store

assets/static/.gitignore

+3
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,6 @@ npm-debug.log*
2222
yarn-debug.log*
2323
yarn-error.log*
2424
public/csw15.txt
25+
26+
# Images repo
27+
src/images/

assets/static/src/App.css

+12
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,18 @@ p {
2020
pointer-events: none;
2121
}
2222

23+
.App-screenshots {
24+
max-height: 50vh;
25+
max-width: 95%;
26+
pointer-events: none;
27+
}
28+
29+
.App-gifs {
30+
max-height: 50vh;
31+
max-width: 95%;
32+
pointer-events: none;
33+
}
34+
2335
@media (prefers-reduced-motion: no-preference) {
2436
.App-logo {
2537
animation: App-logo-spin infinite 20s linear;
-229 KB
Binary file not shown.
-980 KB
Binary file not shown.
-14.7 KB
Binary file not shown.

assets/static/src/images/liz-mayo.jpg

-577 KB
Binary file not shown.

assets/static/src/images/logo.png

-117 KB
Binary file not shown.
-330 KB
Binary file not shown.

assets/static/src/pages/docs.js

+51-3
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ import '@rmwc/typography/styles';
1010
import * as g from '@rmwc/grid';
1111
import { Typography } from '@rmwc/typography';
1212

13+
1314
class DocsPage extends React.Component {
1415
render() {
1516
return (
@@ -18,10 +19,54 @@ class DocsPage extends React.Component {
1819
<g.GridCell align="left" span={3} tablet={8} />
1920
<g.GridCell align="middle" span={6} tablet={8}>
2021
<article className="text">
21-
<Typography use="headline2">Documentation</Typography>
22+
<Typography use="headline2">Game Play Details</Typography>
23+
<p>
24+
Hope it helps! Let us know if there's anything we can improve!<br />
25+
<br /> Looking for quick rules? <Link to="/rules/rush">Check here
26+
instead!</Link>
27+
</p>
28+
29+
<p> You can play Rush! in a game or a room. The host decides if
30+
the party will be playing one game or a series of games in a room.
31+
</p>
32+
33+
<Typography use="headline4">How to get started playing Rush! as
34+
a <a href="#player">player</a> or a <a href ="#host">host.</a></Typography>
35+
<br />
36+
<br />
37+
<Typography use="headline3" id="player">How to Play a Rush! Game</Typography>
38+
<p> You can play as a guest or as a signed in player. For a guest player just enter your screen name and click play as guest button.
39+
</p>
40+
<p> To login, follow the screen prompts to login in and play.
41+
</p>
42+
43+
<p>
44+
If you don't have an account, you can click the signup button
45+
at the top of the page.
46+
</p>
47+
48+
<p>
49+
Next, place your secret passcode given to you by the host in
50+
the Join an Existing Room or Game box. Click the blue "Join"
51+
button.
52+
</p>
53+
54+
<p>
55+
You are now admitted to the game or room. If you're playing
56+
a in a room you will see your name along with other guests.
57+
Note: Your host can admit you as a player or
58+
as a spectator. A spectator doesn't play but watches what's
59+
happening in the room.
60+
</p>
61+
62+
<p>
63+
Get ready! The countdown will begin once all players have been
64+
admitted to the room. All players will see a board and letter
65+
tiles pop-up on the screen. Start placing tiles to form words.
66+
<b> Follow instructions in Playing Tiles on how to do that on
67+
your device. </b>
68+
</p>
2269
<p>
23-
Hope it helps! Let us know if there's anything we can improve!<br /><br />
24-
Looking for rules? <Link to="/rules/rush">Check here instead!</Link>
2570
</p>
2671
<Typography use="headline3">Game Mechanics</Typography>
2772
<Typography use="headline4">Playing Tiles</Typography>
@@ -119,6 +164,9 @@ class DocsPage extends React.Component {
119164
can press the draw button to give a new tile. When not enough
120165
tiles are left, the first person to draw is the winner!
121166
</p>
167+
168+
<Typography use="headline3" id="host">How to Host a Rush! Game</Typography>
169+
122170
</article>
123171
</g.GridCell>
124172
</g.Grid>

assets/static/src/pages/home.js

+20-4
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ import { Typography } from '@rmwc/typography';
1212
import { Theme } from '@rmwc/theme';
1313

1414
import logo from '../images/logo.png';
15+
import Winnergif from '../images/Home-Page-large.gif';
1516

1617
class HomePage extends React.Component {
1718
render() {
@@ -26,18 +27,33 @@ class HomePage extends React.Component {
2627
<g.GridCell align="right" span={8} tablet={8}>
2728
<div className="styles.intro">
2829
<div>
29-
<Typography use="headline2">
30-
Welcome to Willow Patch Games!
30+
<Typography use="headline2" style={{ 'color': '#008006',
31+
'lineHeight': '75%' }}>
32+
Welcome <br/ >
33+
<span style={{ 'fontSize': '60%' }}>to</span><br/ >
34+
<strong style={{ 'color': '#000000' }}>Willow Patch Games</strong>!
3135
</Typography>
3236
</div>
3337
<div>
34-
<Typography use="headline3" style={{ textAlign: 'left' }}>
38+
<Typography use="headline4" style={{ textAlign: 'left' }}>
3539
Redefining table-top games...
3640
</Typography>
37-
<Typography use="headline3" style={{ textAlign: 'right' }}>
41+
<Typography use="headline4" style={{ textAlign: 'right' }}>
3842
...and updating them for the<br />21st century
3943
</Typography>
44+
4045
</div>
46+
</div>
47+
</g.GridCell>
48+
</g.GridRow>
49+
<g.GridRow>
50+
<g.GridCell align="middle" span={4} tablet={8} phone={4}>
51+
{ null }
52+
</g.GridCell>
53+
<g.GridCell align="right" span={8}>
54+
<div>
55+
<LazyLoadImage className= "App-gifs" src={Winnergif} alt="Animated screenshot of game play" />
56+
4157
<p style={{ textAlign: 'left' }}>
4258
Hey there! We're a small game company kick-started by two brothers
4359
one week in August. We like to build games you can play with your

assets/static/src/pages/rules.js

+27-11
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,11 @@ import '@rmwc/typography/styles';
66
import * as g from '@rmwc/grid';
77
import { Typography } from '@rmwc/typography';
88

9+
import GameStartsScreen from '../images/Screenshots/Game starts screen 1.png';
10+
import YouDrewMessage from '../images/Screenshots/you drew message.png';
11+
import Discard from '../images/Screenshots/Discard ANN.png';
12+
import Winner from '../images/Screenshots/winning message.png';
13+
914
class RushRulesPage extends React.Component {
1015
render() {
1116
return (
@@ -14,23 +19,32 @@ class RushRulesPage extends React.Component {
1419
<g.GridCell align="left" span={3} tablet={8} />
1520
<g.GridCell align="middle" span={6} tablet={8}>
1621
<article className="text">
17-
<Typography use="headline2">Rules - Rush!</Typography>
22+
<Typography use="headline2">Quick Start Guide - Rush!</Typography>
1823
<p>
1924
The host creates a room and selects desired customizations.
2025
Customization options include changing the total number of
2126
tiles, how many tiles players start with, the number of tiles
22-
to draw, and the discard penalty.
27+
to draw, and the discard penalty. For details go to <b> create link
28+
for details on hosting </b>.
2329
</p>
2430
<p>
2531
Game play starts with everyone receiving the number of initial
2632
tiles set by the host. The objective of the game is to place
2733
all your tiles on the board in a single, connected word grid
28-
list. When any player uses up all the tiles in their bank,
29-
every player "draws" or is given additional number of
30-
tiles specified by the game configuration, from the pile. The
31-
first person to place all their tiles on the board (when there
32-
are no more in the pile!) is "out" and wins the game.
34+
list.
3335
</p>
36+
<img className= "App-screenshots" src={GameStartsScreen} sizes= "180x180" alt="Tiles populated on grid" />
37+
38+
<p>
39+
When a player uses up all the tiles in their bank, they click
40+
the draw button.Then every player automatically draws and is
41+
given additional number of tiles specified by the game
42+
configuration, from the pile. The first person to place all
43+
their tiles on the board (when there are no more in the pile!)
44+
is "out" and wins the game.
45+
</p>
46+
<img className= "App-screenshots" src={YouDrewMessage} sizes= "180x180" alt="You drew message shown." />
47+
3448
<p>
3549
You can play a tile on a desktop computer by clicking the
3650
square it should go in and pressing a letter on the keyboard,
@@ -48,12 +62,14 @@ class RushRulesPage extends React.Component {
4862
penalty) as replacement. This is configurable and is usually
4963
three.
5064
</p>
65+
<img className= "App-screenshots" src={Discard} sizes= "180x180" alt="Discard a tile to get different tiles" />
66+
5167
<p>
52-
When you've used up all your tiles, you need to draw. If there
53-
aren't enough tiles left for everyone to draw, you're the
54-
winner! Note that when someone else draws, you'll also draw
55-
automatically.
68+
If there aren't enough tiles left for everyone to draw, someone
69+
is the winner!
5670
</p>
71+
<img className= "App-screenshots" src={Winner} sizes= "180x180" alt="Winner board is displayed." />
72+
5773
<p>
5874
We suggest roughly 35 tiles per player, 15 tiles to start, a
5975
discard penalty of 3, and 1 for the draw amount. One round

0 commit comments

Comments
 (0)