title

subtitle

Day 8: got the ceiling working today sorry for if days 8-11 have weird text but i just lost the recorded days and im retyping what i can

Day9: managed to get collision and i am fleshing out the checks

Day 10: fleshed out the checks a bit more and also started to work on the randomizer

day 11: managed to make the room randomizer

day 12: just lost the devlogs for the last week so deinitly ended frustrated but i managed to finish off the tutorial part i was on i have gotten the room to randomly generate (sorta) i figured once i get the randomizer going i plan to add the main hub area soon

day 13: i may have lost this weeks dev logs but i think i got the randomizer (not sure its an actual randomizer and its more a fill and the floors and roof code) working but i need to compile to check its been a while since i last compiled my code so i plan to be debugging

alot tomorrow i sorta feel weird that i dont understand my coding but i think overtime ill understand better i feel pretty dumb that im going so slow and that i dont know where to add

my own code too but im sure ill figure it out i only have 86 more days to get good but i know i will

day 14: managed to finish the ACTUAL room generator and finished the video i was on i know i had planned to both compile and debug as well also probs need to finally put the logs up on my website but ill do it tomorrow im tired

i also think i am far enough in to make my hub world as well so ill attempt to do that soon i just want to see how my randomizer works

day 15: didn't do much my fears were right though upon debugging my code has SO many bugs so i have to debug it before i can finally compile it i fixed some errors but i have had a very busy day today so all i got done in this project

was move it too my file server and attempt to compile and some minor debugging

day16: managed to do some debugging but the file wasn't updating when i moved so i had to do the same things several times so far tho as far as learning C goes i am so confused and have alot of research ahead of me im worried i am going WAY to slow but ill get there sooner

or later ill figure it out i just learned what malloc and demalloc does one is for allocating memory and the other is deallocating memory what i need to figure out is where exactly things goo allocating where my intigers go because so far it seems like i have to put them in

specific places and i dont understand how where or why it goes where it goes and the amount of my own code iv added is minimal at best

day 17: still debugging my code and i learned that you dont need ; at the end of commands or whatever the thingies before the start of an array are called but i got some errors related to it i felt like i didn't really accomplish much aside from a few debugginh things sorry

for the mostly incoherent entry im going to bed GOOD NIGHT

day 18: I fixed some stuff in my code im still debugging and i just figured out some of the stuff in my room arrays uses () instead of [] so i fixed that i also had to add a bunch of missing ";" at the end of some of my stuff i intend to finish debugging tomorrow and the

goal is by at least day 20 ill be back to adding more stuff and actually test my code

day 19: i managed to fix a bunch of errors in my arrays and added ; where they needed to go but im struggling to figure out how to properly define and use the mvinch in my code thankfully gcc is such a good compiler

it gave me examples on how i can properly do this so at least i have a starting point on where to start fixing shit but for now ill probably procrastinate by continuing to fix the easy shit

day 20: had a rough day today so i couldn't squash all the bugs in gcc but i think i got rid of the minor ones and a friend taught me to some new things about pointers i also made an attempt to properly define mvinch thanks to the

help of the gcc compiler maybe tomorrow ill be in a better mood

day 21: im struggeling to solve the harder errors i have but today was one of those day i didn't do much but its pretty late and i hadn't had much time to really code but all the smaller errors have been fixed and now im working on the harder errors

Day 22: didn't manage to change much im confused on what gcc is giving me weird error corrections that if i do exactly as it says would cause syntax errors

may need to ask for some help on it from someone

day 23: i got help today but i still dont understand the mvinch is wrong because i have conflicting statments in my code and im starting to wonder if im even cut out for this

day24: haven't made any progress im trying to figure out how to fix my code idk where to look exactly but the erros im getting so for is Nethack.c:238:27: error: macro "mvinch" passed 3 arguments, but takes just 2

238 | int mvinch(stdscr, (y),(x))

| ^

In file included from Nethack.c:1:

/usr/include/curses.h:1332: note: macro "mvinch" defined here

1332 | #define mvinch(y,x) mvwinch(stdscr,(y),(x))

|

Nethack.c:242:9: error: expected declaration specifiers or ‘...’ before ‘switch’

242 | switch(mvinch()) /* why is this not using argument*/

| ^~~~~~

Nethack.c:242:23: error: macro "mvinch" requires 2 arguments, but only 1 given

242 | switch(mvinch()) /* why is this not using argument*/

| ^

/usr/include/curses.h:1332: note: macro "mvinch" defined here

1332 | #define mvinch(y,x) mvwinch(stdscr,(y),(x))

|

Nethack.c:260:9: error: ‘user’ undeclared (first use in this function)

260 | user->yPosition = y;

| ^~~~

Nethack.c:260:9: note: each undeclared identifier is reported only once for each function it appears in

Nethack.c:266:1: error: expected statement before ‘)’ token

266 | )

| ^

Nethack.c:266:1: error: expected declaration or statement at end of input

still trying to figure out how to fix errors on line 242 and 238 specifically hopefully i can get these last 4 errors

day 24: still stuck debugging maybe i should learn to stop copying and figure out these concepts

day 25: i ended up spending the whole day coding and i managed to fix all the errors most of it was cause i wasn't using arguments right and i also managed to fix more minor and hidden syntax errors i also got a minor logic error which i promptly fixed

day 26: didn't do too much added and am now attempting to learn structs and added some to my existing code

day 27: i have been doing alot of copy pasting in accordance with the yt man i need to change anything referring to xposition or yposition into position.x or position.y but ill finish that up tomorrow

day 28: I managed to change everything labeled xpostition or yposition with position.x or position.y didn't do too much afterwards

day29: after adding the new stuff to replace xand ypostion i have come across a whole new set of issues i have been trying to sort out

day 30: added my own arrow key functionality too it by adding the case command to the handle input array but it works backwards for some reason im gonna have to try to figure that out soon

day 31: got the arrow keys working and im now working on the doors for the game

day32: still woking on the the doors hopefully expect to get it working soon

day 33: i barely made any progress on the doors got too busy with school but i did add at least some code i feel very behind in all this so i def need to get a move on

button webbutton 💕 Devastatia 💕 Agora Road