Friday, September 4, 2020


Thursday, September 3, 2020

Programming #0018, Project Euler Day 6

Question 14 is:
“Which starting number, under one million, produces the longest [collatz] chain?”

Solution: problem 14

Tuesday, September 1, 2020

Programming #0017, Maesgryn Update

Gamedev diary day16: Game looks for walls in the roomident struct passed to checkposition() function instead of returning a character with mvinch(). Now I need to connect the doors. Some work on the graphical tileset will probably come soon, and I’ve neglected that other project a bit. I’ll probably make an array of structs for the room identity with some sort of variable memory allocation, so the player can choose the max number of rooms that can be generated in a game.

Programming #0016, Project Euler Day 5

Question 12:
“What is the value of the first triangle number to have over five hundred divisors?”

Solution: problem 12

Sunday, August 30, 2020

Programming #0015, Project Euler Day 4

Question 6 is:
“Find the difference between the sum of the squares of the first one hundred natural numbers and the square of the sum.”

Solution: problem 6