Maybe overthinking it. PseudoCode

For me, the pseudo code is an evolving process that slowly become the final code.
I thought I’d declare some of the variables in the header file for scope.
I also felt that calling new functions to handle checking would simplify things (thus the need for scope)
I don’t call BeginPlay() except at new game to allow me to zero out everything
I want to give the players points so they can see how well they did

I’ve organized it so that OnInput() passes to functions much like the main() would do

This was really a great exercise in strategizing the code to define a path for development.

I’m sure the instructor is going to have a much better and ridiculously simple solution though :crazy_face:

2 Likes

Haha even if they do items great practice to think it through like you did. Phenomenal job :clap:

Privacy & Terms