Posts

Showing posts from August, 2025

Maths Game.

Image
 I am (occasionally) working on an action RPG game where every time you attack you have to answer a maths question. RPGs are cool and I used to play them a lot but now I am a social gamer and I don't appreciate the brain-drain. I have accrued a large repository of spaghetti code with a few gems as I learn the ins and outs of game programming in C ( https://github.com/BostonBrooks/Spaghetti_Graveyard. ) . I chose C because it is what the electronic and computer engineers use and working as an ECE is a long term goal for me. I am using the C binding for SFML because SDL doesn't easily incorporate 2D meshes, to be used for 2.5D curved ground surfaces. A few demos below. Scritchyness is due to screen capture software.     All for now, Boston.   Update 17/02/2022 In the game, the terrain is represented as a 2 dimensional grid where each point has a third dimension (height). I have used bicubic interpolation (functions with x^3 and y^3 terms) to smooth the areas between po...

Reina (Dungeons and Dragons Character)

Image
  Reina is a name that means queen in the old language and she carries herself with a regal air. She speaks only when she must, but she does things right while displaying minimal effort. Such is her grace and her consecrated beauty. Race:    High Elf Class:    Alternate Ranger Level:    6 Alignment:    Lawful Good Armour Class:    17 Initiative:   4 Speed:    30 Proficiency:    +3 Max Hitpoints: 56 (Tough) Passive Perception:    13 Investigation:    11 Insight:    13 Ability Score: Modifier: Saving Throw: Strength: 8 -1 +3 Dexterity: 1 8 +4 +8 Constitution: 12 +1 +2 Intelligence: 13 +1 +2 Wisdom: 1 6 +3 +4 Charisma: 10 +0 +1 Advantage against charmed condition Skills: (* -Proficiency) DEX Acrobatics +4 WIS Medicine +3 WIS Animal Handling +3 INT Nature +1 INT Arcan...

Fossicking

Image
 My father and I just got back from a trip to Lightning Ridge to look for opals. We had a great time and we were much more successful than we have been, panning for little specks of gold. Mud collects on the bottom of the ocean, and gets compacted into rock. Then then rock cracks and water fills on those fissures. Over time silica is deposited in those fissures. The silica is commonly a greyish blue colour (potch), but sometimes comes out sparkly. This is what we call opal. Over time, through geologic processes, the mudstone is carried upward, above sea level. In Lightning Ridge they bore tunnels into the mud stone looking for opals, and the gravel they dig out is just left on the side of the road. In fact, the roads are lined with this gravel. When it rains the mudstone is washed away, leaving behind the potch and little fragments of opal that the miners missed when they dug up the gravel. Fossickers walk along the side of the road looking for the sparkly stuff.  I collected ...