r/AskComputerScience • • Oct 30 '19

Okay but seriously, how does a passionate computer addict turn code into a legitimate program?

This is so difficult for me, I code something in any language and it stays in the console. How do I get my game idea out of a console and test it on my phone? I’m beginning to think I’m missing out on an entire category of software development, and that I have a learning disability.

31 Upvotes

16 comments sorted by

8

u/rhubarb_9 Oct 30 '19

Want to make an android app? Download android studio.

Want to make a game? Download Unity.

These are standards in the industry and the stuff you've learned in your console apps + these engines = a product.

3

u/[deleted] Oct 30 '19

I’ll download it now. I guess I was missing game engines and UI’s.

20

u/[deleted] Oct 30 '19

Had the same problem you had. Ask yourself this: What do I want to make? Do you want to make a computer application? Look up tools and frameworks that allow you to do it and research it. Do you want to build a phone application? Download android studio or XCode and look up tutorials. How about a game? Look up Unity and how to make a phone app.

You want to use preexisting tools to help you build these kinds of things. These applications were made in order to make development a million times easier.

3

u/[deleted] Oct 30 '19

[removed] — view removed comment

5

u/[deleted] Oct 30 '19

I wanted to make a game engine so I’ve been looking up information about what a game engine consists of, what libraries/APIs I should use, and following some tutorials on youtube. Im still developing it but it’s tons of fun tbh

4

u/real_mark Oct 30 '19

You need a game engine. https://en.m.wikipedia.org/wiki/Game_engine

Start with something small and not too complicated and then build your bigger game idea piece by piece.

9

u/financepadawan Oct 30 '19 edited Oct 30 '19

# I’m beginning to think I’m missing out on an entire category of software development

yes

# and that I have a learning disability

probably not

are you pushing it to production at any point? do you have a UI? are you hosting it on google play, App Store ?

3

u/NeoMarxismIsEvil Oct 30 '19

The thing to do is learn the frameworks needed for doing these things.

You want to make a phone app? How about an app that you could cross compile for both iOS and Android?

https://www.nativescript.org/

I recommend vue.js and typescript https://www.nativescript.org/vue

Even if you don’t want to use that, the first things to do are the same: 1) identify a framework that will allow you to do what you want and 2) learn the framework by building a “toy” app before trying to make the real app.

2

u/EatItLoser Oct 30 '19

https://developer.mozilla.org/en-US/docs/Games/Tutorials/2D_Breakout_game_pure_JavaScript

This is a great starting point. The only things you need are a text editor and a browser.

2

u/Bottled_Void Oct 30 '19

Sounds like you need some simple GUI API. Once you've got some inputs and a way to display an output, things just move along so much quicker.

2

u/tehrealDOA Oct 30 '19

If you are making a game for a phone I would recommend using a game engine, this way you can make changes in the editor and hit play and see the progress directly on your phone while you develop.

2

u/THE_IRONHEART Oct 30 '19

Plan things. Create milestones, plan tasks what will get you to each milestone, then treat it like a todo list.

I sometimes find that when im too engaged in the middle of programming to effectively manage the overall planning.

1

u/relative_absolute Oct 30 '19

Learn to plan things! Pure coding should still be a significant portion of your time on a project, but it shouldn’t be 100%. Find a workflow that works for you (the github/gitlab workflow of create milestones -> determine tech requirements as part of milestones -> plan feature/bug fix in issues at an appropriate granularity relative to your tech requirements -> create merge request and branch to implement -> code review -> merge works for me and I think is a pretty good one, but it doesn’t have to be that way). As long as you do something more than just working on what you feel like (which you can basically still do this way, it just provides more structure and helps you head towards completion), you’ll have much more progress. Don’t worry too much about the fact that you don’t know this stuff yet, do some research in ways that it’s done elsewhere and try stuff out

-2

u/frenchy641 Oct 30 '19

LEARN BACK END PROGRAMMING. look up putty/ssh to set up a linux server. The incredible thing you can do with a back end is unlimited and guess what you can either connect it to your app on a website or both. Using a server you can access the command line and files anywhere. Some might say that start with a Virtual machine however I prefer to use putty instead

3

u/[deleted] Oct 30 '19

Oh don't do that to him. He's interested in writing a game to jump in to programming.