• Breaking News

    Thursday, May 10, 2018

    How to Make A Game? It's my summer project learn programming

    How to Make A Game? It's my summer project learn programming


    How to Make A Game? It's my summer project

    Posted: 09 May 2018 06:51 PM PDT

    College Sophomore here that recently finished his last exam about the C language. The problem is that I feel like I learned nothing because I was unmotivated so I finished the course without actually applying it (Still got an A, which is a problem).

    Anyways, I don't want to blame the teacher for not getting the best out of my courses. I want to accomplish some Summer projects to work on before my next year starts. I know I can search this on Google but I want to see what the community of Reddit has to say as well.


    I want to make a small video game!

    Any tips/good sources/steps to start? Should I start with desktop or mobile platform?


    I guess I should also list the languages that I know the basics of.

    Which one should I use? haha it's like like pokemon

    • Java - Data Structures

      (Data Structures in developing video games?)

    • Python - Intro to Python

      (Willing to use and learn more if it's really effective.)

    • C - Computer Systems and Low-Level Programming

      (Should I use C since I didn't learn too much about how to use it practically?)

    submitted by /u/KoreanKandy
    [link] [comments]

    Tool TL;DR - A wiki I built for understanding software tools/libraries/frameworks in layman's terms

    Posted: 09 May 2018 06:18 AM PDT

    Link

    This is a project I've been working on for some time to tackle the questions that regularly come up in a growing tool landscape (and programming in general):

    • Why do I need this new, popular tool/library/framework?
    • What's the hype about?
    • How does it compare to this other tool I use?
    • What are all the kinds of tools out there?
    • Where do I even use this tool?
    • Why would someone need to start using it?

    I hope you guys find it helpful. I built it more for those who are learning, but experienced developers will also find it useful when evaluating new trends/alternatives.

    The content is a little light at the moment since it's just been me, but it's a wiki, so if you want to see something on the site, add it!

    submitted by /u/MoistToilet
    [link] [comments]

    C++ Assignments? Can someone give me a program to make?

    Posted: 09 May 2018 04:39 PM PDT

    Hello I am currently finishing up my first year in college. I am studying computer science so far I have completed an intro class for programming that solely revolved around theory with little programming and when we did program it was using Python on repl.it. This semester i delved into C++ which we coded quite frequently in. Now that this year is over I was wondering if you guys/gals could give me "problems / programs" to code. I would greatly appreciate any ideas. I am really bad with coming up with ideas about what to program so that's why I'm asking. Thanks in advance!!

    submitted by /u/SchoolAccount65
    [link] [comments]

    What is a good resource for a complete beginner looking to learn c#?

    Posted: 09 May 2018 03:57 PM PDT

    I'm not a complete beginner, but haven't really been coding for a while, and I want some basic, good beginner resources. The only one I know of which worked for me was bob tabor's free c# course on mva, but I found out he's making an updated one, so I'd rather wait for that. The other resources I've checked out have been really wordy and complicated, like rob miles yellow book. If I didn't konw anything about programming, I'd be pulling my hair out, trying to read his book. He says so much in the first 20 pages, and after a week of not reading it, I completely forgot everything.

    TL;dr: do you know of any absolute beginner friendly resources that I can learn c# from? I like courses I think, since one of the books I've checked out has been complicated.

    submitted by /u/Its_Blazertron
    [link] [comments]

    Is it possible to obtain basic skills in any language within 2 months?

    Posted: 09 May 2018 10:19 AM PDT

    I'm looking forward to study computer science in a local university in Germany. I've talked with one of their profs about the requirements and he told me that I don't neccessarily need to know any language beforehand, however, he said that it'd be convenient to be experienced in order to have a great start. Though the deadline for applications are on 15th July. Coming back to the question, what languages are the easiest to learn and what's the most effective way to learn them in such small period of time? Thank you in adavance :)

    submitted by /u/AmazingMazen
    [link] [comments]

    What motivates you to learn programming?

    Posted: 09 May 2018 09:37 PM PDT

    Hi,

    Can anyone answer me a quick question: What is the number 1 reason why you want to learn to code (For example, you just like it or you learn to get a job etc.)?

    Thanks, guys.

    submitted by /u/timhuynh1
    [link] [comments]

    C++ basics, is the following valid

    Posted: 09 May 2018 11:04 PM PDT

    Here is the code:

    int main(int argc, char *argv[]) {

     QCoreApplication a(argc, argv); return a.exec(); 

    }

    In the above code we have a pointer to an array and that pointer is called argv. Now whenever I refer to the pointer in my code, should I not be writing *argv rather than just argv?

    submitted by /u/Badartists
    [link] [comments]

    Thoughts on the Microsoft Professional Program in Entry-Level Software Development?

    Posted: 09 May 2018 09:59 AM PDT

    I've been bouncing around several different online "universities" or curricula looking for the right option for me, and I stumbled upon the Microsoft Professional Program in Entry-Level Software Development on edx.

    Prior to this, all of the curricula I found that seemed legit were almost a little too legit-- i.e. taking 2-4 years to complete which would be awesome if money/happiness weren't an issue in the short term.

    The courses in the Microsoft program are:

    Course 1: Logic and Computational Thinking

    Course 2: Introduction to Python: Absolute Beginner

    Course 3: Introduction to Python: Fundamentals

    Course 4: Designing a Technical Solution

    Course 5: Building Interactive Prototypes using JavaScript

    Course 6: Building Functional Prototypes using Node.js

    Course 7: Learn to Program in Java

    Course 8: Object Orientated Programming in Java

    Course 9: Algorithms and Data Structures

    Course 10: Writing Professional Code

    Course 11: Introduction to Design Thinking

    Course 12: Introduction to Developing International Software

    Course 13: Microsoft Professional Capstone : Entry Level Software Development

    Which, to me, seems pretty comprehensive, at least for programming. Seems like maybe a pretty good starting place for somebody like me from which I could then explore more specific ideas that I'm interested in and polish some of the edges of my knowledge, but I was curious to get some thoughts from anyone who has experience with it/experience with programming in general.

    I tried searching in r/learnprogramming but everything I found seemed to be for their data science program, which also seems pretty interesting.

    submitted by /u/soicanshittalk
    [link] [comments]

    My first language: Java or Python?

    Posted: 09 May 2018 02:34 PM PDT

    I have tons of questions, but if you guys have already learned one of this languages, would you like to tell me which one is better? Take into account this will be the FIRST language I'll ever learn.

    submitted by /u/bigotegamer
    [link] [comments]

    Project Euler Problem 17 attempt - C#

    Posted: 09 May 2018 11:11 PM PDT

    https://pastebin.com/1iGcBCjA

    Here's my attempt at a solution to:

    www.projecteuler.net/problem=17

    I'm VERY close. The length of my final string is wrong and I'm not sure why. I've no spaces, I've spelled all the numbers correctly, I've added "ands" where necessary (I think -- is it proper to say "one hundred and five" ?)

    I'm not sure what I'm doing wrong here, spent an hour looking for my mistake and I need some help.

    submitted by /u/Galvnayr
    [link] [comments]

    Fastest way to get a solid understanding of basics.

    Posted: 09 May 2018 10:28 AM PDT

    I am a degree student that is doing a major in Software Engineering. During my Diploma days, I did not do the part of coding that much as it has been always a group work so we split the work for every subject. I did more on networking and databases like Microsoft Access. Now in my degree I can actually feel that I am not catching up in terms of standard, and sometimes I feel like my basics are challenged as I can confuse between constructors and parameters.

    Now I am willing to put everything into it to learn everything as soon as possible and start to code independently without needing to look at someone else's code every time I need to do a class activity. Are there any books or guides that may be really helpful ? Thank you.

    *Just a uni student that likes programming but can't get the hang of it fast enough.

    submitted by /u/Cjy21
    [link] [comments]

    How did Dijkstra think students should learn CS?

    Posted: 09 May 2018 10:38 PM PDT

    I am reading Simply Scheme's Preface and they mentioned Dijkstra didn't even think CS students should get access to a computer at first. What was Dijkstra's philosophy around learning CS?

    submitted by /u/RomanBasileus
    [link] [comments]

    I'm more a coder than a programmer. Should I do a hackathon?

    Posted: 09 May 2018 04:25 PM PDT

    I'm a chemical engineer with focus on process simulation and control. I know programming mostly to implement numerical methods and to do visualization. I know enough about programming to do that stuff. There will be a Hackathon in my city focusing on Oil and Gas and Data Science, which are areas I'm interested in, and is welcoming engineers. Should I participate on it? I don't want to be a drag for my teammates but I think my knowledge may be useful depending on the challenge.

    submitted by /u/FellowOfHorses
    [link] [comments]

    What to do when you're not coding?

    Posted: 09 May 2018 12:35 PM PDT

    A quick back story here: I left University some years ago with a CompSci degree (bachelors) and sort of fell into jobs that weren't very tech focused. There were the minor site fixes, some design changes of course. There was a little db managing, Linux server use, and debugging for a software company. Then I've always tooled around on my own when I have free time.

    Presently I am being pushed out of a company I thought I had a future with. There is a whole story there that I won't get into and overall it sucks. So I've been diving back into coding, mostly font-end but I'm playing around with a lot to see if anything really grabs me. I'd like to make a career shift, and honestly the one I probably should've started in but was too young and eager for a paycheck to say no to an opportunity I wasn't totally into.

    I have decent foundations, and I'm doing a lot of the same early steps like freecodecamp's projects, reading a ton, and being a huge lurker here. I try to code a lot and go through challenges as often as possible. As with anything else, it's all about study and practice right? So I code, a lot, even past infuriating frustration sometimes. But sometimes I also need to take a step back, whether because of frustration or because I'm "not feeling it" that day or whatever the case, a step back is taken.

    I want to continue to progress and I'm really determined to make this career change, for many reasons, so I don't want to be stagnant if I could be making progress. So this has been my long winded way of asking all you wonderful code monkies out there, what do you do when you're not coding to continue progressing/learning/getting better?

    submitted by /u/ZeroDay13
    [link] [comments]

    Need help with wordpress website please

    Posted: 09 May 2018 10:16 PM PDT

    I just have a few bugs on my site. I dont really know how to code but would appreciate some help.

    submitted by /u/sodato
    [link] [comments]

    Semi-Abstract Question About Design Decisions

    Posted: 09 May 2018 12:15 PM PDT

    Quick background: I have about 4 months of pretty good focus on Java. I've got a reasonable understanding of classes, inheritance, data types -- all what I suppose you'd call the basics. Something in my reading I keep seeing are references like "this would be an important design decision" when discussing how to implement X, Y or Z.

    I think I'm looking at a decision like that right now. Purely for fun, I'm putting together a text adventure game. But I don't know if my idea for how to structure the code at a really fundamental level is reasonable.

    Here's my idea in a nutshell:

    • Abstract class for every character attribute/method that will be in common.

    • Specific classes then for each character type.

    • An inventory class

    • Each character object also instantiates an inventory object.

    • Each inventory object instantiates objects for major types of inventory.

    I think you see where I'm going. Does any of that make sense? Would an actual game be structured in such a way? Or am I still so new to this that the "unknown unknowns" are just to many.

    I will likely go ahead with this anyway, for sheer practice.

    submitted by /u/NotRickDeckard
    [link] [comments]

    Starting with C#, tips?

    Posted: 09 May 2018 03:47 PM PDT

    What should I be looking at to learn C#? I looked at the FAQ but see no links with C# help.

    submitted by /u/bakednarc
    [link] [comments]

    Does anybody else feel like this?

    Posted: 09 May 2018 03:43 PM PDT

    I am a CS student and I have a solid foundation in the basics of programming. I am very comfortable with OOP, classes, inheritance, etc. However, I find it hard to progress from here.

    I've researched a lot of projects online and went through a lot of tutorials but I find it REALLY hard to progress from being a novice programmer.

    I am in a very awkward situation since most of the materials that I find online are either way too easy for me or way too complex. Whenever I try to dabble in something more difficult I find it more complex than I can handle (e.g. algorithms, advanced APIs).

    I just feel like I'm stuck on this level and I struggle to continue further. Has anyone else experienced this? If so I would love to get some advice on how to develop my skillset from here on. Perhaps some tutorials on relevant projects I can do to improve would help.

    Any help at all would be appreciated.

    submitted by /u/holyness95
    [link] [comments]

    Tips and sugestions about a programming problem

    Posted: 09 May 2018 09:30 PM PDT

    Hi, i have to solve a programming problem and in the instructions says i MUST to ask in forums on the internet to recieve tips, suggestion and whatever feedback, so here i am. How would you solve this problem? I dont want code but ideas to face this problem:

    "Every day, Danny buys one sweet from the candy store and eats it. The store has m types of sweets, numbered from 1 to m. Danny knows that a balanced diet is important and is applying this concept to his sweet purchasing. To each sweet type i, he has assigned a target fraction , which is a real number fi (0 < fi1). He wants the fraction of sweets of type i among all sweets he has eaten to be roughly equal to fi . To be more precise, let si denote the number of sweets of type i that Danny has eaten, and let n = summation of si. We say the set of sweets is balanced if for every i we have nfi − 1 < si < nfi + 1. Danny has been buying and eating sweets for a while and during this entire time the set of sweets has been balanced. He is now wondering how many more sweets he can buy while still fulfilling this condition. Given the target fractions fi and the sequence of sweets he has eaten so far, determine how many more sweets he can buy and eat so that at any time the set of sweets is balanced.

    Input The input consists of three lines. The first line contains two integers m (1 ≤ m ≤ 105 ), which is thenumber of types of sweets, and k (0 ≤ k ≤ 105 ), which is the number of sweets Danny has already eaten. The second line contains m positive integers a1, . . . , am . These numbers are proportional to f1, . . . , fm , that is, fi =ai/(summation of of ai). It is guaranteed that the sum of all ai is no larger than 105 . The third line contains k integers b1, . . . , bk (1 ≤ bi ≤ m), where each bi denotes the type of sweet Danny bought and ate on the ith day. It is guaranteed that every prefix of this sequence (including the whole sequence) is balanced.

    Output Display the maximum number of additional sweets that Danny can buy and eat while keeping his diet continuously balanced. If there is no upper limit on the number of sweets, display the word forever.

    Sample Input 1:

    6 5

    2 1 6 3 5 3

    1 2 5 3 5

    Sample Output 1:

    1

    Sample Input 2:

    6 4

    2 1 6 3 5 3

    1 2 5 3

    Sample Output 2:

    forever"

    Any advice, tip or suggestion to solve this problem? any idea? Any feedback will be discussed in our final work, so we appreciate any insight about this problem. Thanks in advance.

    submitted by /u/PsycoViridans
    [link] [comments]

    Programming ethics?

    Posted: 09 May 2018 09:26 PM PDT

    I'm kind of new to programming and I saw this popularity contest on my Facebook feed. The winner who gets the most votes gets a small prize. To vote, you simply select the picture you like and vote. I created a script to upvote mine ten times a minute. What are the ethics/legals of doing something like this? Frowned upon?

    submitted by /u/Thirstygiraffe1379
    [link] [comments]

    Swift?

    Posted: 09 May 2018 09:21 PM PDT

    I want to make a idle game to put on the apples App Store. But is swift really the best programming language for it?

    submitted by /u/Noobson113
    [link] [comments]

    (Python)Giving program to someone else

    Posted: 09 May 2018 09:05 PM PDT

    I have created a couple of simple programs, such as a pig latin generator and a number guessing game, and I'd like to share it with friends. Will my friends have to download Python to their PCs in order to run these games?

    submitted by /u/theSparkyJB
    [link] [comments]

    Need some direction for my goal

    Posted: 09 May 2018 04:34 PM PDT

    My goal is to become either a C++ or C# developer.

    I have tinkered around with some C# and have watched some various videos here and there but I would say I don't really know what I am doing. I've been able to follow tutorials to make discord bots in C# and from those I've been able to make my own minor tweaks but would not have been able to do it from scratch myself.

    I am wanting to know if I should learn C++ then C# or if that even matters and also what would be the correct learning path I should go to actually understand and be able to write my own programs. Also should mention I am more interested in creating GUI based programs.

    I have access to Lynda and Pluralsight but there is a lot to weed through.

    I should mention for the most part I do understand basic C# syntax.

    submitted by /u/VeticaTech
    [link] [comments]

    Using C# for side projects while working in Java for school...

    Posted: 09 May 2018 08:17 PM PDT

    If my Computer Science program works with Java (and data structures with Python), do you think it's still efficient for me to make my personal projects in C# due to the similarity to Java syntax?

    C# is more prevalent with companies in my region. As a bonus, I think developing a small game will make for a good side project that will maintain my interest, and I hear that C# is likely the best option of these three languages. My time for a project outside of school would be limited to a few hours per week on average, peppered with some marathons here and there.

    submitted by /u/DirtySlingDinger
    [link] [comments]

    No comments:

    Post a Comment