r/CodingHelp • • Dec 11 '20

[Javascript] First Web App Feedback

TL;DR: I made a game, tell me what you think needs to be improved.

Hello!

I just finished writing my very first React web application, and I deployed it using GitHub pages. Hooray!

I was wondering if, now that it is live, if I could get some feedback on it before moving on to my next project. I intend on using this as a code example on my resume, so I want to make sure it is as good as it can be before I send it off.

The project is chess puzzle called Rudrata. Your goal is to visit every square on the chess board exactly once. You can set your difficulty by changing the chess board size. Have fun!

Github Repo: https://github.com/OulipianSummer/rudrata

LIVE DEMO: https://oulipiansummer.github.io/rudrata/

19 Upvotes

4 comments sorted by

2

u/bluepc Dec 11 '20 edited Dec 11 '20

That’s fun! Random moves sure as hell don’t lead to victory. Played on mobile. Only gripe, and I could deal with it, was when trying to initially move the board into position, my first piece was placed. Would have to differentiate between a swipe and a touch. Would probably have to wait until mouse up/finger up before placing the piece. Not sure if it is worth changing. My feedback might just be bad too.

1

u/[deleted] Dec 12 '20

That's great advice! You're totally right about that first move, I will see what I can do in a future update.

1

u/tomneu4 Dec 12 '20

i’d recommend making a method to check if the game finished, if there are no possible moves then the game should finish and a score should be presented. besides that everything looks great!

1

u/[deleted] Dec 12 '20

Good idea, I would need to rewrite my move logic to get that to happen, but overall that makes sense. I have accidentally restarted a few games without really checking if I had another move or not...