the 1st 7 days of my coding jourunal for my nethack game
code goal: get better at C without copying other peoples code
Day 1: I coded a calculator using C I had to download something called msys2 which didn't really work thanks
to UAC in windows so i moved the file i coded into my samba server and grabbed it from my virtual Debian machine
i then used gcc to compile the calculator the coded i used was based on a website called https://www.programiz.com/c-programming/examples/calculator-switch-case
I need to beable to create my own code at some point but I am hoping this is a good first step I think for tomorrow's project I will make an random number generator
Day2: Decided to make a Nethack game in C though i had to do some schoolwork today so all i ended up coded for this project was "hello world"
I am hoping to import this nethack game to 3DS homebrew the 3ds already has angband and there are issues with it that make it seem like it wasn't made for 3ds
I also leanred about ncurses and how to compile with it for the sake of not forgetting the commands in Linux to compile it the command is gcc -filename-.c -lncurses
and to run it the command is ./a.out
Day3: I didn't do to much today but i managed to get both a player character and a maze going
I have not compiled it yet so there may be errors i plan to check tomorrow
Day4: i finished the first video tutorial of many ( i feel slow) but i was able to implement some button functionality as well as a very simple player character as far as buttons go though
i only have it set to quit when u hit q
I am hoping to implement a consist hub area now that i know how to code rooms for nethack i want the player to have a familiar experience even if it is
really simple graphically speaking that way i feel like it would keep people playing longer i am also trying to figure out what sort of plot nethack will
have maybe something cliche like an evil wizard?
Day5: Had a busy day at the family shop and school so barely had enough time to squeeze an hours worth of work but i did manage to code some of the "WASD" movement for the player
i am also already half way through this tutorial.
Day6: managed to finish the player movement the player in this case being a simple "@" symbole he can move around but since areas dont have any form of collision nor
any real checks the play not only can walk through walls but leaves "."in its path because it is coded to change "@" to a "." as the player character moves i am almost done with part 2
of the tutorial and hoping part 3 will teach me how to fix this i am hoping once i flesh out the properties a bit more i can start implementing my ideas.
Day7:I did some debugging and i had managed to debug most of my code myself i plant to make the collision soon sorry i dont have to much to say but most of todays coding was spent debugging
so gcc would compile my code.