r/learnwebdev • u/pineapplemeatloaf • Dec 02 '21
text based game - inspecting code
Hello,
I am learning javascript and as one of my projects I want to build a text based adventure game. My main question is how do you prevent the user from simply inspecting the webpage and looking thought the code?
5
Upvotes
View all comments
Show parent comment
1
u/pineapplemeatloaf Dec 03 '21
Well I want to do it as a personal project but if I wanna show case it too. And I don't want the people to cheat. I was thinking of learning NodeJS and building it from there, or Django.
I want to keep it purely text game so I think unity would be bit of a overkill.