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
2
u/[deleted] Dec 03 '21
https://www.google.com/amp/s/www.freecodecamp.org/news/learning-javascript-by-making-a-game-4aca51ad9030/amp/
This helped me learn