Contents tagged with code

  • Tron Battle: Bot Programming

    Learn about bot programming the fun way! In this session, we'll be explaining in detail popular game theory algorithms such as the Minimax algorithm, Alpha–beta pruning algorithm, and also the … more

  • Coding Fun with Maze Solver 2.0

    Maze Solver is back with a better interface, tighter feedback loop, and more challeges. Join us for some coding fun as we try to code the winning maze solver. more

  • Coding Dojo: Sudoku Solver

    What is a coding dojo?

    All coding dojos will start off with a 25 minute TDD and Coding Principles primer (the same each time, so if you don't understand all of it you will have plenty more … more

  • Code Dojo: Packing Problems

    This month we will host a long overdue code dojo session. Richard and Matt recently had to tackle a cube packing problem in production and we thought this would provide a good base for a code dojo. … more

  • Fractal Fun with F#

    In a change to the planned session, we'll be taking a dive into the fascinating world of fractal images, and generating our own fractal trees (and other such creations) using F#. This will be based … more

  • Machine Learning 101: Build you a Skynet

    In this session, regular LS#'er Grant Crofton will introduce us to the interesting field of Machine Learning (ML).

    Want to build Skynet, but don't know where to start?  Grant will give a … more

  • Coding Session - Bowling Kata

    This month we're going to do another coding kata. These are always well received and provide some serious coding fun time.

    We've settled on the Bowling Kata this time. We will be pairing up so that … more

  • Real readonly lists in C#

    Tags: c#, code

    In C# there is the readonly keyword that enforced the rule that the variable must be initialised as it's declared or in the constructor. This works as expected for simple types, but for objects and lists it's not quite like that. With a list, you can still add, remove and change items in the list. You may also expose a list as a property with a public get and a private set. You want the owner class to be able to modify the list items, but you don't want anything outside the class to modify the list items.

  • Paired Code Kata: Conway's game of life

    Bring your laptop along for a lovely evening of coding at Old Broadcasting House.

    Conway's Game of Life has become a popular problem to use as a coding exercise. It's a cellular automaton that once … more