Space Explorer Ultimate Quest Installment 1

So I have been working on another javascript based (a little of jQuery) text based adventure. This one is sci-fi based and comes in 4 installments.

If you want to play, here is the first installment:

https://jsfiddle.net/3nsxbaff/9/embedded/result/

and here is the code that the makes up the text based adventure:

https://jsfiddle.net/3nsxbaff/9/

If you do give this a go please let me know and also let me know any gaps in the coding.

Fair warning-it is alert based (I really like the style it makes me pay attention)!

Make a note of where you end up at the end of this installment as that is where you will continue next week.

If you enjoy it let me know, I will post the second installment next week 🙂 🙂

P.S. there are about 5 decisions you will make in each installment so it is small but give a few different ones a go if you want. Your decisions will change your story.

Picture1

Spider-man Quiz using JSfiddle

So today I looked over at the magical code written by codingjuice from when they adjusted my earlier attempted javascript quiz.

I looked at what had been done and the JQuery that had been used and decided to edit this a little bit to create a quiz about one of my favourite topics- Spiderman.

Untitled28

The main purpose of this was to educate myself a little bit about JQuery, which I haven’t used before, having only used vanilla Javascript.

I found that it was really fun… a lot less difficult than I imagined although I was googling a lot for answers and to further my own understanding of how it works.

Also, the fact that there was a ready made JQuery quiz sitting there thanks to codingjuice made it a lot easier for me to grasp.

Overall, I left most of the content the same and simply changed the words, which obviously makes no difference at all to the code itself. But hey, at least now I know how it works 🙂 and ultimately the code that is was basing my own on was pretty darn good.

So here is the JSfiddle end result:

https://jsfiddle.net/fmb5qnwc/22/embedded/result/

And here is the code that accompanies it:

https://jsfiddle.net/fmb5qnwc/22/

I really enjoyed making this, it was much easier than working without a template and now I just need to work on making my stuff look better and less like we are still in the late 90’s lmao.

Check it out if you like Spiderman, and even if you don’t lol 🙂 🙂

Please let me know what you think!

Basic Javascript quiz- Part 2

Hi everyone

So a few days ago codingjuice updated my previous attempt at a basic Javascript quiz (found here) and I have to say his results were awesome!

Here is the link for the full screen result:

https://jsfiddle.net/emaildeepak/toLc1bgg/embedded/result/

And here is the link to his post where he talks about the changes that were made to the original code.

https://codingjuice.wordpress.com/2015/07/14/a-simple-javascript-quiz/

And finally, this is the link to code that was actually used:

https://jsfiddle.net/emaildeepak/toLc1bgg/

It taught me a lot and I’m definitely going to attempt to build another quiz using what I have learnt, over the next week.

A big thank you to codingjuice!

Untitled27

Basic Javascript quiz- JSfiddle part 1

So today I messed around back on JSfiddle (as was introduced to me by https://franzcalvo.wordpress.com/)

Untitled26

I made a basic page using CSS and Html for the first time ever! And was quite impressed with the results.

Then using Javascript, I wrote a really simple quiz, about basic Javascript concepts.

This is designed with some students I work with in mind , there are only 7 questions so if you like javascript please give it a go:

https://jsfiddle.net/1uez4ftz/embedded/result/

and here is the version that displays the actual code used:

https://jsfiddle.net/1uez4ftz/

You will notice this is Part 1. What I would like to do is implement the javascript on a button click labelled “Start Quiz” but after several failed attempts I don’t have time today to finish researching so in Part 2 I hope to have established the ‘on click’ idea and have it fully working the way I imagined.

Feel free to try it out let me know what you think 🙂 🙂 And if you know how I can implement my entire javascript code with a button click, please share your knowledge 🙂 🙂

Meteor

Today I dabbled with Meteor and as I’m presuming most of you already know about it, I’ll just introduce it with a screen-shot:

meteor

I completed the first tutorial and found it really helpful and interesting. It was really good to develop an understanding of the way that html, javascript and css work together to build a whole, completed product, and its definitely easy to use when following the tutorial instructions.

Having said all that, I must say coding this way, for me, does not compare with the thrill of writing a program for a robot to follow and carry out in the real world.

Although I am enjoying learning new pieces of code and methods of coding, for now I much prefer using arduino to write code for my robots.

JavaScript Text Based Adventure Game Part 2

So last night I had some time to look at the old code from part 1 https://ashbotandsparki.wordpress.com/2015/06/14/javascript-text-based-adventure-game-1/

and debug…..

I originally thought that my conditional if/else statements weren’t matched up and that it was going to take a long time, but actually it was a really simple error. I had used console.log and I needed to change this to windows.alert all the way through the code (simple find and replace on notebook++) and took about 5 minutes!!

Untitled2

Then came the hard part. I had to play through every single option to make sure it all worked. Now I’m sure it does but it took ages and I was tired so please if you do take the time to try out this game and you get an error, or an unspecified, or something weird happens please let me know so I can fix it!

Here is a link to the modified text based adventure game:

https://jsfiddle.net/3nsxbaff/1/

Special thanks to franzcalvo for introducing me to jsfiddle as a program that can run JavaScript code as well as edit them 🙂

Please try out this game and let me know how your adventure ends….please bear in mind some choices are VERY short and some choices are longer. It all depends on the decisions you make!

Have fun and good luck!