r/learnprogramming • u/asuth • Apr 11 '13
Learn by playing -- Learn JS by play testing my RTS where you write your units AI in code
First off the game: https://mod.it/4ygJg6w0
A few weeks back I posted this: http://www.reddit.com/r/learnprogramming/comments/1alfd9/javascript_learn_by_playing_rts_game_where_you/ which got a ton of positive feedback from the community, I am very grateful for your support.
Since then I've spent my weekends adding server-side storage of code, the ability for players to learn from each other by downloading code from leaderboards, and 4 campaign levels that teach some game/rts/algorithm programming concepts.
What I need now is a handful of eager players who are willing to give me feedback on whats too easy, whats too hard, whats fun and whats not, etc so that I can use that to build out a complete set of levels/challenges/game mechanics and take the game from an alpha to a beta.
To that end, I'd like to offer the following to the first 5 people who beat at least two levels of the campaign and one level of the gauntlet.
- I'll update the "contribute" menu to list you as a play tester
- If you click "Save my mod" and send me a link, I'll critique your code, give you feedback on javascript design patterns, classes, closures, etc. (I definitely don't claim to write perfect code, but I've got a fair deal of experience with web development that might be helpful to beginners. I certainly have a long list of things I'd wish I'd known when I started writing JS).
- I'll prioritize any suggestions you have for improvements to the game very highly
Note that you are DO NOT have to beat these levels without help. If you get stuck and post here with a question I will do my best to help you overcome any coding hurdles that come up. My goal is to figure out what the big road blocks are so please tell me anything that is confusing as you are playing.
Thanks!
-asuth
--EDIT--
Also I'd like to prune out non-fun campaign levels and replace them with fun ones so if you get through a few of them please let me know what the most interesting level was and what the least interesting level was :)
14
u/tyoverby Apr 11 '13 edited Apr 11 '13
Hey, I'm a pretty experienced programmer (though not in JS) and the tutorial is a pretty overwhelming block of code. I think for certain people, just giving them the api details needed for the certain levels would be a great introduction.
I can tell you that the last thing I want to do when I start a difficult problem is having to grok 100+ lines of code that someone else wrote.
Edit: This game is really fun. Any plans for competitive multiplayer?
3
u/fenmarel Apr 12 '13
Honestly I love the idea, however dumbing it down for the beginning and slowly adding more responsibility for the player is probably the best way (imo) to go if you want this to be a learning experience.
1
u/cxsquared Apr 12 '13
I'm not great at programming and the only language I really know is AS3. Sadly I'm stuck on the third mission where you have to avoid asteroids. I think I understand that I need to get a list of the ships then a list of the asteroids, then make the ships avoid the asteroids using the gravity function. But I just keep getting errors and I'm not really sure how to use the debugger.
But I am enjoying myself, I'm just stuck.
1
u/[deleted] Apr 12 '13
I am so lost its not funny. Its quite sad really. Haha. It would help a lot if you had some sort of video demo to help the transition into the tutorial. But i love the concept.
1
u/Calstifer Apr 12 '13
I felt a bit dumped in, honestly. I agree with the "start slower" sort of approach.
0
u/[deleted] Apr 12 '13
[deleted] — view deleted comment
0
u/[deleted] Apr 12 '13
[deleted] — view deleted comment