Storm 84 Posted May 19, 2016 (edited) MEGA BUMP So I just saw a thread suggesting a coding, etc section and made me remember about this thread. So I promised pics of what I'd do along the year and didn't post shit of the second half of the year so here it goes: 1. So in a subject we basically have to program a couple of things on arduinos and in the last project we had to use a speaker, a numeric keyboard, a couple of 7segment displays and 2 buttons. The project consisted in making a game in which the code generated a random number and with the keyboard you have to guess the number (it follows a pattern so the odds are not disastrous) and the typical stuff about: if you fail the speaker will make a sound, if you win, another sound, etc. I haven't got pics, but I'll post them laster. EDIT, got a pic! 2. In another subject we had to program database from the start (design it, tabulate it, etc). I've only got pictures of the design: 3. Program a B+ binary tree. This is by far the hardest shit I've done so far. 800 hundred lines of code, but in a team of 6 people, so it isn't a complete suicide. Sorry I didn't make a good screenshot but wanted to show as much code as possible: 3. And for the end, as last project in another subject we had to program a linux shell copy in C. It may sound hard but it was kinda easy. Code screenshot: The code is obsolete, I know /bin/ is useless and screws up the program. Sorry for the long post. Have an AND door: Edited May 19, 2016 by Storm 1 Gunstar reacted to this Quote Share this post Link to post
Gunstar 513 Posted May 19, 2016 Lmao, nice bump, so much cringe reading this thread which I made a year ago. I like your updates Storm, keep them up. C is very similar to Java it seems. I have almost finished my first year at Uni studying Computer Science, 1 more exam to go. I absolutely love it. Here is a shitty game I made for my mini project for one of the modules (Object-Oriented Programming) using Java: Yeah, I stole ROTMG and WOW characters for my sprites because I was too lazy to make my own haha. 1 Storm reacted to this Quote Share this post Link to post
Storm 84 Posted May 19, 2016 Wow, looks awesome! I tried something like that last year but ended up in NullPointers and rage. Lots of rage. We haven't been taught how to use images and that stuff yet, and doesn't look like we will :( Quote Share this post Link to post
Gunstar 513 Posted May 19, 2016 3 minutes ago, Storm said: Wow, looks awesome! I tried something like that last year but ended up in NullPointers and rage. Lots of rage. We haven't been taught how to use images and that stuff yet, and doesn't look like we will :( Thanks. But all you can do there is move the character using arrow keys and a pop-up box pops up when it detects your character touching the monster sprite. I would post the code but it's way too long and in classes: As you can see, it's a mess, just like the spaghetti code inside each of those classes haha. I wasn't taught any graphics or how to make the game tbh, I learnt it from youtube tutorials in about an hour. They only required a text-based game where you just type stuff, but I was like nah man, a game needs some graphics. Also to Mintlou, heard you passed your Microsoft exam, grats, would be nice if you tell us more about it here Quote Share this post Link to post
Storm 84 Posted May 19, 2016 Oh interesting diagrams! I had to make one for a subject and looks like this Which program did you use for the diagrams? Quote Share this post Link to post
Skeff 289 Posted May 19, 2016 Sorry Storm, I cannot really see what you've written there, however I have written a binary tree in C++ so I think I can see some of the basic structure. What library did you use for the graphics Gunstar? Going to be starting my final year of university in September and I am currently trying to sort out what my final year project will be. Currently I'm going to be looking at automated 3D scene generation which I hope will be cool. Quote Share this post Link to post
Skillershark 43 Posted May 20, 2016 Doing coding at GCSE, currently just refining our task one and starting our task two. Don't know as much as some of the crazy computer scientist guys here, but I do try :D. Coding is lots of fun and quite interesting, and I'm trying to learn more, but mostly I just have fun making weird but simple codes. Made a code where you gave a number, and then listed every number up to that number, whilst playing "fizzbuzz", if anyone knows that game. Very simply, but I like it. ^^ Quote Share this post Link to post
Daffy Duck 155 Posted May 20, 2016 42 minutes ago, Skillershark said: Doing coding at GCSE Coding is a GCSE now? damn Quote Share this post Link to post
Skeff 289 Posted May 20, 2016 for(i=0;i<100;)console.log((++i%3?'':'Fizz')+(i%5?'':'Buzz')||i) If you need help with FizzBuzz then this is a very easy bit of javascript to do it. Quote Share this post Link to post
Iszuka™ 10 Posted May 20, 2016 (edited) I actually failed Computer Science at A-Level. Our project relied solely on C++ and i just couldn't grasp it. But i keep telling myself i should pick up some sort of coding. Storm i'd be careful, that's a more convincing looking bomb than that Texan kid's science project clock. 3 hours ago, Daffy Duck said: Coding is a GCSE now? damn I work in primary schools and a lot of IT lessons include Scratch. Some of the kids who's parents are in IT create some really impressive stuff. Edited May 20, 2016 by Iszuka™ Quote Share this post Link to post
M1nt-l0u 1,235 Posted May 20, 2016 I did GCSE Computing, which was more about the concepts of how a computer functions. It introduced non-specific logic with pseudo code and flow charts. A Level computing was a bit heavier on the coding side, we did Java which I knew well enough to pass the assignments. It's much harder to learn coding when there's no reason to. School environments force you to learn stuff for a reason, and for something like programming, it's often the only motivation because nothing makes sense for a long time. You are just staring at ({[]]}{}i>== != <55 -INT) = 0. Quote Share this post Link to post
Storm 84 Posted May 20, 2016 16 minutes ago, Iszuka™ said: Storm i'd be careful, that's a more convincing looking bomb than that Texan kid's science project clock. Indeed! During making this circuit I had it on a tupperware and got on the bus. So the bus driver saw and said he wouldn't let me in with that. So I ended up taking another free bus. That was a good day. 2 M1nt-l0u and Gunstar reacted to this Quote Share this post Link to post
Iszuka™ 10 Posted May 20, 2016 2 hours ago, Storm said: So the bus driver saw and said he wouldn't let me in with that. That's absolutely hilarious. I'm surprised you weren't reported. Quote Share this post Link to post
Raw 188 Posted May 20, 2016 Well, in class im busy with SQL server/MS access and arduino atm, and god, i hate arduino so much... Have to make a traffic lights setup, with a lane where only one car can pass, a pedestrian crossing working with the 8x8 led matrix and no use of delays, only for loops, and buttons that register if a ''car'' stands in front of a light. :( Delays make life so much easier. Actually not that hard to program, but i just hate the code. Quote Share this post Link to post