Flappy Wormy

For the BackSpace workshop, I’ve created another worksheet which is slightly easier (I think) than the Gem Gem worksheet. It simply reuses the Wormy game, to produce a Flappy Bird style game in python.

Here is a link to the worksheet.

Advertisements

Raspberry Pi and me

image

 

Received my Raspberry Pi on Friday; thanks Myra.  Tried Fedora on it (too many bugs) and then Debian (but I had the Feb version, Doh!).  The February version didn’t have all the software I needed so this morning I’m getting just released April version.  Wooo..

 

 

PS3 Slim (and DNS Errors)

I’ve been so busy at work that I’ve not posted in a long time.  It looks like it is all over (or very nearly) so I decided to finally upgrade to the next generation (current generation) of games consoles.  PS3 slim was my choice at £250.  There is the XBOX360 of course but this has so many reports of RED RINGS of DEATH that I decided to avoid it.  It also has that massive ugly power supply!  The PS3 will also play Blu-Ray discs which brings my movie watching up to the 21st century too.

I bought Resident Evil 5 to play on it but for days I’ve been unable to download the patch (1.03).  It just gives me DNS errors.  I also had other networking problems but the patch download was the most annoying.

After some hunting on the web I found a good solution for the PS3 download problem.

Basically the routers in our homes sometimes give the wrong or badly formed DNS addresses to the PS3.  By manually setting this, the PS3 performs better.  A public DNS can be found at OpenDNS.com and you simply give that number to the PS3.

In order to set up your PS3 to use the opendns.com server, you must go through the Internet Connection Settings again:
Settings > Network Settings > Internet Connection Settings

Select Yes, then Custom

Choose your connection method – Wired or Wireless
If you’re Wired, select Auto-Detect for the Ethernet Operation Mode
If you’re Wireless, select the security type that your router is using and enter your Wireless Password
IP Address Settings – Automatic and then Do Not Set (DHCP host name)

DNS Settings – Manual and enter the numbers below

Primary DNS 208.67.222.222
Secondary DNS 208.67.220.220

MTU – Automatic
Proxy Server – Do Not Use
UPnP – Enable

Then press X to save the settings, and then X again to test the connection. The ‘Internet Connection’ should now pass, and hopefully there will be no more DNS errors!

Tried out Scratch

I tried out Scratch tonight.  It looks pretty easy to use and it can do some interesting things.  Unfortunately it doesn’t have an XOR operation!  I can write my own using (A . !B) + (!A . B) or similar but I’d prefer to wrap this into a function and then use that.  Functions and Procedures aren’t possible yet.. but soon?

It’ll be easy to get the coins and spaces on this but processing will be more fiddly.  Viewing variables is easy so that should help debugging but I think browsing large code will be as difficult as you’d expect from a visual editor.

Interestingly, Scratch is written in Squeak which is an implementation of Smalltalk.  Smalltalk is the forefather of Object Oriented programming languages like C++.  You can download the sourcecode for Scratch but you’ll need Squeak to develop more!

%d bloggers like this: