+ 1
How would a text adventure game work? Is it just a page with the scenario content (text/img) with new page links for choices?
Html5 Practice Game
4 Respuestas
+ 3
It's going to be harder, but yes you can.
+ 2
You could hide and show the <a> you want with CSS
+ 1
Would I need JavaScript to give those links a % choice once clicked to link to other links? For example, if I click on choice one of three, can I have the link activate a die roll that when landing 3 or 4 will send me to the second of three hidden page link locations? Essentially turn three choices into nine possibilities?
Can this be done in Html only? I've only finished Html gotten half way through CSS, so I haven't done more than overview gor JavaScript yet. Would like to begin making small Html games for practice to maintain my interest as I expand to the other two languages.
+ 1
Yeah, I may still do it this way to try it out, but I will definitely be making something more robust with Javascript. My card game, which this text game would demo, is based in obvious counters to cards, at least in a one on one basis, so a player vs website version of this would just need an if event based on the player's decision that searches the website's hand for the most prefered response. Will also need a hand generator from a list of cards though. That part I have yet to figure out. Still doing Html and CSS courses from EdX atm. So haven't delved too deeply into Javascript.