Karto
Need pointers on code for console app.
I've been using c# inside of game engines for a while now, and I've just written some code for a simple console app for the first time for practice.
Code: https://paste.myst.rs/4j1fa1ss
I'm unsure about how good/bad this code is, the lack of an 'update loop' found in a typical game engine is throwing me off. My main concern is about the while loops when waiting for the player to make a valid input, is this standard practice?
I'm also finding that the execution is a bit hard to follow along my function calls, especially when thrown in with all the while loops. The calls are just nested and following the exection from Start() -> InspectPokemon() -> RequestPokemon() and back out feels wrong/difficult to follow
Any advice would be great, thanks.
44 replies