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

Saturday, August 29, 2020

Programming #0014, Maesgryn Update

Gamedev diary day 15: Doors on. The player status bar counts steps.

Programming #0013, Project Euler Day 3

Question 5 is:
“What is the largest prime factor of the number 600851475143 ?”

Solution: problem 5