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
... that we could bundle with Parcel (*New & Shiny:tm:*)
12
-
... that used loads of awesome modular components
13
-
... that had integration tests with Jest
14
-
7
+
We wanted to make a game with React...\
8
+
\
9
+
... that also called an API via GraphQL\
10
+
... that we could also deploy on Netlify\
11
+
... that we could bundle with Parcel (*New & Shiny:tm:*)\
12
+
... that used loads of awesome modular components\
13
+
... that had integration tests with Jest\
14
+
\
15
15
Like with everything in our lives, we looked back to our childhoods for simple games we could create in two days - and then remembered [those little slidey puzzle things that jumbled up a picture.](https://en.wikipedia.org/wiki/15_puzzle)
16
16
17
17
## Some of our favourite bits
18
18
19
-
:tada: React
20
-
:heart_eyes_cat: GraphQL fetch request
21
-
:8ball: The shuffle algorithm (Fisher Yates) is really cool and straightforward
22
-
:art: Using clip paths to create each square of the slider (perhaps not the most performant solution, but we figure at least the image gets cached)
23
-
:necktie: Our valid moves mapping table is a really neat and tidy solution that makes sure players can't make an invalid move - we actually spent a while trying to create an algorithm that would handle this, but then realised this is actually a way easier to read solution that is no less performant.
19
+
:tada: React\
20
+
:heart_eyes_cat: GraphQL fetch request\
21
+
:8ball: The shuffle algorithm (Fisher Yates) is really cool and straightforward\
22
+
:art: Using clip paths to create each square of the slider (perhaps not the most performant solution, but we figure at least the image gets cached)\
23
+
:necktie: Our valid moves mapping table is a really neat and tidy solution that makes sure players can't make an invalid move - we actually spent a while trying to create an algorithm that would handle this, but then realised this is actually a way easier to read solution that is no less performant.\
24
24
25
25
## Day 1
26
26
@@ -30,7 +30,7 @@ Like with everything in our lives, we looked back to our childhoods for simple g
30
30
31
31
Here's how our whiteboards looked at the end of day 1:
32
32
33
-

33
+

0 commit comments