Perhaps you should try a few of the beginner tutorials before getting too deep into things.
There are a few telltale things you haven't thought about such as "50 frames of animation", and "several thousand lines of code".
That's not going to work on any platform.
You can't just pile things on and hope for the best.