f-log

just another web log

18 Mar 2019:
quest for the missing game url
and here is the missing PLAY NOW url

https://robgithub.github.io/quest_smith/web/quest.html
18 Mar 2019:
where was the quest url
So the Raspberry Pi Blog posted an article about a thermal printer powered Pi text adventure game.

The author put out a plea
Each level requires two versions of the story, which makes the
possibilities grow exponentially. So it will be very difficult for me to
finish a single story by myself. For the player to reach level 9, we will
need to have 1023 story parts to be written. If you can help me with
that, it would be amazing!


The story files are just plain text files, but I did not have a thermal printer to try it out on...

So the story TXT files are in GitHub. I wonder if they are accessible from the GitHub Pages ?

They are ! (just have to set the settings on your repo correctly)

I forked the project and got to work creating a simple Javascript based web interface that could run directly on GitHub Pages and allow the user to interact with the story files.

Today it works fine in a desktop browser. Before I try and get it merged back in to the origin repo I want to add specific functionality for Mobile. Nothing to fancy just better styling for Mobile layout.

https://github.com/robgithub/quest_smith
18 Mar 2019:
quest for the mobile git smith
So the Raspberry Pi Blog posted an article about a thermal printer powered Pi text adventure game.

The author put out a plea
Each level requires two versions of the story, which makes the
possibilities grow exponentially. So it will be very difficult for me to
finish a single story by myself. For the player to reach level 9, we will
need to have 1023 story parts to be written. If you can help me with
that, it would be amazing!


The story files are just plain text files, but I did not have a thermal printer to try it out on...

So the story TXT files are in GitHub. I wonder if they are accessible from the GitHub Pages ?

They are ! (just have to set the settings on your repo correctly)

I forked the project and got to work creating a simple Javascript based web interface that could run directly on GitHub Pages and allow the user to interact with the story files.

Today it works fine in a desktop browser. Before I try and get it merged back in to the origin repo I want to add specific functionality for Mobile. Nothing to fancy just better styling for Mobile layout.

https://github.com/robgithub/quest_smith
18 Mar 2019:
a little bit of offline microbit python
Next on the MicroBit coding front is https://python.microbit.org/v/1.1

The way it works is the same, but instead of building with Blocks you use Python code. You then download the generated .hex file and away you go.
Sadly there is no real-time simulator, so expect to get "Syntax Error" scrolling on your MicroBit every now and then.

This is better than having the Microsoft logo hanging over you but I still long for an offline editor...

Welcome uflash (which is not you-flash but micro-flash)
https://github.com/ntoll/uflash

To get uflash on Ubuntu I had to
sudo apt install python-pip
pip install uflash

and then to find where the install had gone, because it was not in my path.
pip show uflash
Name: uflash
Version: 1.2.4
Summary: A module and utility to flash Python onto the BBC micro:bit.
Home-page: https://github.com/ntoll/uflash
Author: Nicholas H.Tollervey
Author-email: ntoll@ntoll.org
License: MIT
Location: /home/ubuntu/.local/lib/python2.7/site-packages
Requires:

Now, from within that directory I could run
python uflash.py ~/Downloads/microbit.py

It happily found my MicroBit auto mounted to /media and flashed it.

According to the docs, it will happily flash multiple MicroBits connected to the same PC.
10 Mar 2019:
MicroBit helloworld
Got my first MicroBit code working.

Not very exciting and really only to prove the process. It just lights an LED on opposite corners.

But, the process is interesting.
The MicroBit shows up as a USB drive when plugged into a computer and then you can copy across a .hex (bin) file and it automatically loads it as the program.
The program then just automatically runs.
Once the file has been transferred, it eats it, so make backups!

To create the .hex file there appear to be a number of options. I used the most basic, which is a Scratch-like block dragging website, powered and branded as Microsoft.

I know it is irrational these days, but the Microsoft name/logo just puts me on edge. Need to find a way to code offline.

There is at least two other ways I know of to code for the MicroBit Will give them a go soon.
09 Mar 2019:
dd a drive not a partition
Why do I always forget that when dd-ing an .iso to a USB stick to use the drive and not the partition!

Hours wasted and this is not the first time!
09 Mar 2019:
flub flog update
This a quick run down of various things going on at the moment;

I have been working on improving the Raspberry Pi materials in Blender and I have some plans to move that project forward.

Not done anything on the SV-3 VGA/HDMI situation, but the Pi Zero with adaptors sits on my desk so I cannot forget.

Got a massive haul of tech kit. Mostly for the Raspberry Pi, but also got a MicroBit and kit for that.

Then I found a git repo that needed cloning for a bit of tweaking.

Plus fighting Epsom printer drivers on Windows. Removing every piece of Epsom software fixed that!

Finally started decommissioning an old HP Windows 7 laptop. It is going to be my Ubuntu lab machine.

Digitised a load of old Sony handycam footage (in Windows 7), had no idea I had recorded so much, and so little.

and lots of other things ...
loading results, please wait loading animateloading animateloading animate
[More tags]
rss feed

email

root

flog archives


Disclaimer: This page is by me for me, if you are not me then please be aware of the following
I am not responsible for anything that works or does not work including files and pages made available at www.jumpstation.co.uk I am also not responsible for any information(or what you or others do with it) available at www.jumpstation.co.uk In fact I'm not responsible for anything ever, so there!