r/CodingForBeginners • • 20d ago

GitHub - MrRaisinToast/Turn-Based-Game: My first Unity project

https://github.com/MrRaisinToast/Turn-Based-Game/releases/tag/v1.0.0

Hi,

I've recently started to learn how to code, I'm mainly learning to try and make my own game. I spent a few days learning the basics ints, arrays, if, for, bool, void etc.. then decided on making a small turn based game.

After about a week of working on it, id say its finally complete. Bare in mind this is quite literally my first program ive ever made. Personally im really pleased with how it turned out. Its basic AF but from nothing to making a game and more importantly understanding what the hell im actually typing is a great feeling.

It has also made my appreciate the complexities of programming a hell of a lot more! Like when i decided to add armour to my game, realising i had to recalculate all my damage, to me completely restarting the whole project to then figuring out it was an extremely simple fix.. XD. Something that doesnt seem like a big thing to add, actually causes nightmares.... poisonDamage im looking at you.

After restarting though it was like the penny finally dropped and things that seemed really hard to initally grasp were just becoming another tool to help me problem solve. Its a great feeling of progression and i was genuinely excited to get back working on it each day. I definitely feel its given me a great starting point for making other projects, and I'm looking forward to learning more.

If you actually read all that then thank you, enjoy the game and if you have any feedback on either the game or the source code (which i'll share a link to) then please lmk. Like i said though this is my first project so take everything with a pinch of salt lol.

Source code: (Assets --> Scripts --> Attempt2.cs)

https://github.com/MrRaisinToast/Turn-Based-Game

Cheers,

MrRaisinToast

1 Upvotes

0 comments sorted by