Day 1 looked deceptively simple, with part 1 completed in pretty quick time. The only real problem was the large amount of data caused memory overflow issues, so I split it into 4 separate parts for the data statements.
So, in this one we have to play Rock, Paper, Scissors with the elves. We’re given a secret guide with what each elf will play, either A(Rock), B(Paper) or C (Scissors) and the corresponding move we should play, X, Y or Z respectively. The task is to work out the total score at the end.
I have decided to do Advent of Code, 2023, and to get me started and by way of a bit of a ‘toe dipping’ exercise, I am going back to AoC 2022 and completing the first few days.
Following on from the intro and scene setting of my previous post, this is the first in a series of XC=BASIC v3.0 features on various snippets of code and features for my Adventure Game template. The idea is to create a framework for the working engine of a text based adventure game, including most of… Read More »
This is a quick introduction, and the first of what I hope will be many posts/tutorials (call them what you will) on XC BASIC and game creation that I hope anybody who happens to come across them will find useful. I should confess from the off that I am not a coder, and I will… Read More »