DEV Community

I built my first JS game! 🎉

Lou Willoughby on May 15, 2022

I built my first Maze JavaScript game I used; Vue.Js framework, JavaScript, CSS I've recently been learning DOM manipulation and so I decid...
Collapse
 
kissu profile image
Konstantin BIFERT

Haha, that one reminds me of a jump scare game that I've played once, really scary one. Here it's just nic-cage-gandalf so it's fine at least. 😹

Great work! I'll recommend using ESlint + Prettier to tidy up all of those indentations etc, and template $refs rather than querySelectors to make it even more pefrect. 💯

Collapse
 
the_one profile image
Roland Doda

Awesome job! I did something similar more advanced though. I solved TrustPilot challenge of a maze.

Since the game was boring though, I added a betting-like functionality and a challenge for developers to hack the APP -> github.com/Rolanddoda/pony-challenge

Collapse
 
alesbe profile image
alesbe

Using grid for this was so convenient! Also, if you start the maze, and instead of continuing, yo go outside and then, enter through the finish it counts it as a win, maybe changing MazeGame.started to false every time the cursor hovers outside the maze can fix it!

Collapse
 
jacksonkasi profile image
Jackson Kasi

Great 🤞

Collapse
 
bukunmikuti profile image
Bukunmi Ransome-kuti

Yeah this happens on mobile also
Clicking start and immediately clicking finish will make an easy win.

Would be nice if the game implemented swipe gestures for mobile 😄
Great work still

Collapse
 
bias profile image
Tobias Nickel

this is a cute idea

Collapse
 
drwrongmo profile image
Jon Wright

What challenges did you find that you didn't expect?

Collapse
 
peterpark88 profile image
PeterPark88

Great work, keeping..

Collapse
 
m9hmood profile image
Mahmood Abbas

Nice idea, I would love to see something like random maze on each time I lose

Collapse
 
andrewbaisden profile image
Andrew Baisden

So cool!

Collapse
 
wallterr profile image
Walter

Great game and congrats., but there is a way to close the Gandalf Cage picture?

Collapse
 
nuclearzzet profile image
Nik

Keep it up

Collapse
 
mattstuddert profile image
Matt Studdert

Love it! Nice work, Lou! 🙌

Collapse
 
justinmaker profile image
Justinmaker

Congratulations, this is a lot of progress.

Collapse
 
jovi profile image
João Victor (Jovi)

Nice 😁😁

Collapse
 
_mikeusa profile image
Mike

Likewise, if you go to start, pull back down to go off-maze and then come back on at finish, it'll say you've won.

Collapse
 
rehanjvd profile image
Rehan javed

Very nice loved it.

Collapse
 
judeson_joby profile image
JUDESON JOBY

Nice game

Collapse
 
irvinmx profile image
Irvin-Mx

Amazing!

Collapse
 
andrerodrigues profile image
andrerodrigues • Edited

I too created a game. Code:
gitlab.com/andrerodrigues1/projeto-nave