You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+36-23Lines changed: 36 additions & 23 deletions
Original file line number
Diff line number
Diff line change
@@ -18,6 +18,8 @@ Second Milestone Project for the Web Development course offered by Code Institut
18
18
19
19
**Technologies Used:** HTML5, CSS3, JavaScript.
20
20
21
+
**Testing Technologies Used:** Jest.
22
+
21
23
## UX
22
24
23
25
### Project Goals
@@ -44,10 +46,16 @@ I want:
44
46
45
47
### Design Choices
46
48
47
-
To be added when the site is properly coded.
48
-
49
49
#### Interface
50
-
I intend to use a simple webpage consisting of 4 game buttons of different colours and a start button, as well as a high score display and longest pattern display.
50
+
*Pattern* is built as a simple one-page website consisting of 4 game buttons of different colours and a start button, as well as a high score display and longest pattern display.
51
+
52
+

53
+
54
+
The site shifts to accommodate several screen sizes while keeping the same basic layout.
The developer used **W3C CSS Validation Service** and **W3C Markup Validation Service** to check the validity of the website code.
77
87
78
-
<!-- The site has been tested extensively to ensure the best user experience across multiple screen sizes.
79
-
80
88
### Testing Process
81
89
82
-
In order to make sure the site renders acceptably across several screen sizes, I made liberal use of the DevTools offered by Google Chrome (or in my case, the Opera GX browser that closely mimics Chrome) as well as testing load times of each page, mobile and desktop, with the Lighthouse Chrome extension.
83
-
84
-

85
-
86
-

90
+
In order to make sure the site renders acceptably across several screen sizes, I made liberal use of the DevTools offered by Google Chrome.
87
91
88
92
### User Stories Testing
89
93
90
94
As a user of the site, I want:
91
95
- an intuitive game interface.
92
-
-
93
-
-
94
-
-
96
+
- Ensured that buttons respond to being clicked.
97
+
- Ensured that buttons can only be pressed when the pattern isn't being displayed.
95
98
- a game interface that's easy to look at.
96
-
-
97
-
-
98
-
-
99
+
- Subjective, but I believe the simple multicoloured buttons set against a white background is easy to look at and keeps player attention on the game itself.
99
100
- a game whose rules are easy to understand.
100
-
-
101
-
-
101
+
- The game simply requires that the player click the buttons in the order of the pattern they are shown.
102
102
- a clear indication of when I have made a mistake.
103
-
-
104
-
-
105
-
-
103
+
- Tested that game stops when player makes a mistake.
104
+
- Tested that the player is alerted when a mistake has been made and the game is reset properly.
106
105
- a way to track my longest run.
107
-
- -->
106
+
- Tested that
107
+
108
+
<!--
109
+
110
+
(or in my case, the Opera GX browser that closely mimics Chrome) as well as testing load times of each page, mobile and desktop, with the Lighthouse Chrome extension.
111
+
112
+

113
+
114
+

115
+
116
+
-->
108
117
109
118
### Bugfixes
110
119
-**Problem:** There was a mass of unneeded whitespace at the bottom of the page.
@@ -163,4 +172,8 @@ Then follow these steps:
163
172
164
173
### Code
165
174
166
-
Code not written by me and not covered below is attributed to proper sources in comments within the code. All other code is written by me.
175
+
Code not written by me and not covered below is attributed to proper sources in comments within the code. All other code is written by me.
0 commit comments