DEV Community

Samuel Wemimo
Samuel Wemimo

Posted on

 

Memory Game

https://wsamuell.github.io/memory-sam/

I made a memory game in the process of relearning Js. I made this using HTML, CSS, JS. It was a really fun process and I really hope someone likes it.

Top comments (6)

Collapse
 
fettah_aud profile image
Fettah Aud

and if i pressed to much on some one u get an eror in the console

Collapse
 
adam_cyclones profile image
Adam Crockett • Edited

201pts 💪 on a phone, I had fun instead of digging into it. Good job on the design and the fun. Harder on a phone because of scroll but I like that

Collapse
 
wsamuell profile image
Samuel Wemimo

Yea, I was found to make it smaller or maybe reduce the size of the array. But I didn’t want It to be too simple

Collapse
 
fettah_aud profile image
Fettah Aud

If i click and drag its being hacked

Collapse
 
fettah_aud profile image
Fettah Aud

Iam trying to upload an image to show u but i think there is an eror

Collapse
 
wsamuell profile image
Samuel Wemimo

Oh I’ll have to take a look, lemme know if you can get the picture that would really help

typescript

11 Tips That Make You a Better Typescript Programmer

1 Think in {Set}

Type is an everyday concept to programmers, but it’s surprisingly difficult to define it succinctly. I find it helpful to use Set as a conceptual model instead.

#2 Understand declared type and narrowed type

One extremely powerful typescript feature is automatic type narrowing based on control flow. This means a variable has two types associated with it at any specific point of code location: a declaration type and a narrowed type.

#3 Use discriminated union instead of optional fields

...

Read the whole post now!