Menu Close

Category: Software

What Is This World?

After experimenting with mazes in C# and Unity (see previous post), I am putting together a complete game. It uses procedurally generated mazes to create an endless maze-runner. The story is a work-in-progress, but the basic game-play is coming together. The player must overcome obstacles and enemies to reach the end of ever more complex mazes. Follow progress at A simple maze… This simple maze is just the beginning, as can be seen, the mazes can get quite big very quickly! It’s difficult to see what’s even happening in this huge maze! 3D mazes and a demo gameplay video…

Password Checking

My first GitHub repository is out! Inspired by Computerphile’s video on checking your passwords, see here; I forked their sample code to improve the C# implementation (and ignore the python, that I don’t really get along with). Not only have I got my way around GitHub ahead of my next project (Pitch-Class Set Theory Analysis), I’ve also got a secure way of checking passwords! View on GitHub It works as follows: The password is entered as plain textThe password is converted into an SHA1 hashThe first five characters of the hash are sent to the pwned passwords api – a…

GitHub Repository

I have decided to start storing all of my code in a GitHub repository. Upcoming projects include: Pitch-Class Set Theory Analysis Tools – this project will take MusicXml input files and performed automated analyses using Allen Forte’s theory of Pitch-Class Set Theory AnalysisA ‘Countdown Solver’ written purely as a coding exerciseCode from my Z-80 computer, which I hope to start working on again soon The link to my page is here: Git Logo

Maze showing the distance from the centre.

Mazes in C# and Unity

Recently, I have started reading the book Mazes For Programmers, by Jamis Buck. All the examples in the book are given in Ruby. So I have worked through these, to the point where I made myself some coloured mazes using the example code. See the example picture below. The darker the colour, the further the location is from the centre: However, I think better in C# so I thought I would try re-writing the code. Plus, this makes sure that I really understand the examples. Why not then, do this in Unity, then I could build the maze in 3D…