File tree 1 file changed +7
-7
lines changed
1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -68,40 +68,40 @@ MONGO_PASSWORD=
68
68
| ** MONGO_PASSWORD** | The password of mongodb for access.|
69
69
70
70
# Launch the application
71
- ### 1. Launch mongod
71
+ ##### 1. Launch mongod
72
72
``` bash
73
73
$ mongod
74
74
```
75
- ### 2. Launch Application
75
+ ##### 2. Launch Application
76
76
The application setup SendGrid when first time launch. Also start the service to listen.
77
77
``` bash
78
78
$ RACK_ENV=production rackup -p 4567
79
79
```
80
80
81
81
# Usage
82
82
83
- ### 1. Start a game
83
+ ##### 1. Start a game
84
84
Player1 sends email to any address of PARSE_HOST domain.
85
85
That subject include email address of player2.
86
86
``` text
87
87
88
88
89
89
```
90
90
91
- ### 2. Get an email and click it
91
+ ##### 2. Get an email and click it
92
92
Player2 get an email like this.
93
93
He(she) can click on the email where he(she) want to put disc.
94
94
<img src =" https://raw.githubusercontent.com/awwa/sendgrid-reversi/master/dev/board_html.png " width =" 450px " />
95
95
After this, the each player get an email then click it.
96
96
97
- ### 3. Pass your turn
97
+ ##### 3. Pass your turn
98
98
You can click 'Pass your turn' link under the board if you want to pass your turn.
99
99
100
- ### 4. Finish the game
100
+ ##### 4. Finish the game
101
101
The game will finish in the case:
102
102
* All cell was filled.
103
103
* Each player continuously clicked the pass link.
104
104
105
- ### 5. text/plain part
105
+ ##### 5. text/plain part
106
106
You can view text/plain version board email if your email client does not support html mail.
107
107
<img src =" https://raw.githubusercontent.com/awwa/sendgrid-reversi/master/dev/board_plain.png " width =" 450px " />
You can’t perform that action at this time.
0 commit comments