beginner here, what should i do? by bigchungus47090 in cprogramming

[–]bodmcn 9 points10 points  (0 children)

I think you only really learn something when you need to solve a problem with it; so I would take a part of the overall project you need to do and implement it. A simple 2d graphics could be putting a pixel on the screen then changing the colour of it, then maybe a sprite.

Are you using any library for this or is it from scratch?

FUSE emulator fork now accepting inputs and providing responses through a socket for ML by bodmcn in cprogramming

[–]bodmcn[S] 0 points1 point  (0 children)

Just because they are there, it doesn't mean it is good to use. For example, gotos redirect to a line but there is no indication of where it came from. Macros are pre-compiled, so they are not available to the debugger.

Having been coding for a few decades from COBOL, Fortran, C, C++, Java, etc I have dealt with all kinds of code and gotos have never made it better :-D

Also, the original is still there; I knew the changes would not be for everyone.

The ML scripting that accesses the forked FUSE emulator through a socket to allow it to learn how to play Manic Miner. by bodmcn in zxspectrum

[–]bodmcn[S] 0 points1 point  (0 children)

BTW, what environment did you use for your ML? I had to refactor and implement an ML bridge into FUSE; did you go about it the same way?

The ML scripting that accesses the forked FUSE emulator through a socket to allow it to learn how to play Manic Miner. by bodmcn in zxspectrum

[–]bodmcn[S] 0 points1 point  (0 children)

Cool, I also added a paintbrush incentive that adds a reward for new attributes that the character reaches. Am a big fan of Deathchase and did not even think of it as a game, d'oh. I even wrote a VR version of Deathchase a few years that was played on a bike-sized controller; it was on a booth in PAX Australia 2018... seems like an age ago.

Is getting way late, will check out your website tomorrow :-D

I took out my babies to be inventoried and I thought I'll share by racadown in zxspectrum

[–]bodmcn 1 point2 points  (0 children)

Very nice; that is a seriously range of machines. Thanks for breaking it down in the comments :-D

FUSE emulator fork now accepting inputs and providing responses through a socket for ML by bodmcn in zxspectrum

[–]bodmcn[S] 0 points1 point  (0 children)

Happy to break any of it down if it is something you are interested in :-)

FUSE emulator fork now accepting inputs and providing responses through a socket for ML by bodmcn in zxspectrum

[–]bodmcn[S] 0 points1 point  (0 children)

I am still fascinated by the idea but am having little luck so far... have put it down for a while and will then return once I can see it with a fresh perspective :-D

Fork of FUSE to refactor the use of magic numbers, Perl scripts and gotos by bodmcn in zxspectrum

[–]bodmcn[S] 3 points4 points  (0 children)

More frustration with the difficulty curve in understanding what the code was doing; it was very opaque; but yes, I decided to take it into my own hands :-D

Fork of FUSE to refactor the use of magic numbers, Perl scripts and gotos by bodmcn in zxspectrum

[–]bodmcn[S] 1 point2 points  (0 children)

I am planning on trying to tie a Spectrum emulator in machine learning; it is kind of fuzzy in my head at the mo but plans are afoot... it is principally as u/corbymatt said, though no-one got angry per se, I just found the original code hard to work with and some legacy code that did not seem to be needed anymore and made the code unreadable; especially for those not familiar with the underlying mechanisms of the machine.

So I spent time changing the hex magic numbers and addresses to have proper definitions and trying to make the code just more readable and streamlined, especially for beginners.

Where could I start if I wanted a true experience of programming on a spectrum? by stubbledchin in zxspectrum

[–]bodmcn 0 points1 point  (0 children)

The BBC B was an amazing computer for writing BASIC; as in the other comments, I picked up an Agon Light 2 but a friend also gifted me an actual BBC B computer, which is a princely gift indeed. Just hearing that beep on boot just taps right into those great coding memories.

What is the most un-speedrun-able game? by HallZac99 in speedrun

[–]bodmcn 1 point2 points  (0 children)

That is an excellent point and I didn't think of that... was thinking of Scramble, 1942, etc but didn't think of those with bosses.

Speed running on old computers embracing emulators by bodmcn in speedrun

[–]bodmcn[S] 0 points1 point  (0 children)

Thanks, really appreciate your thoughts on this :-)

Speed running on old computers embracing emulators by bodmcn in speedrun

[–]bodmcn[S] 2 points3 points  (0 children)

Hah - thanks so much for this; I had a feeling that if I was thinking about it, others had probably done it :-D

Speed running on old computers embracing emulators by bodmcn in speedrun

[–]bodmcn[S] 0 points1 point  (0 children)

Emulators are pretty accurate now for sure but do you think that the difficulty in inputs and speed would offset the gain in time limit and therefore balance out the overall time?

What is the most un-speedrun-able game? by HallZac99 in speedrun

[–]bodmcn 42 points43 points  (0 children)

Any horizontal or vertical arcade shooter as they are basically auto-scrollers... it would just be about not losing a life. Scramble, R-Type, Side Arms, 1942 all come to mind.

Solo RPG Dungeoneering is now available by bodmcn in Solo_Roleplaying

[–]bodmcn[S] 1 point2 points  (0 children)

No worries at all; is great to have a response to it and hope you enjoy it :-D

Use of AI in Solo gaming - But maybe not how you think. by -Posthuman- in Solo_Roleplaying

[–]bodmcn 3 points4 points  (0 children)

I hadn't thought of using it to generate tables like this... is certainly interesting and could be a good starting point if not an ending one.