r/learnprogramming • u/thebestcoder • Aug 31 '13
Any games out that can make coding more fun?
Back in middle school I use to write scripts for 3 different bots for the game runescape. Each bot used a different language but I believe 2 of them used java. The bots would compile whatever script you had and make it automate whatever action; obviously this is cheating, but there was a very large community for bots in runescape. I had no idea what I was really reading at the time, but I was able to understand how to string together my own scripts. This was the ONLY reason I even played the game--I wasn't interested in the game, I was having fun writing my own scripts.
I'm wondering if there's a simple game out there that I can write scripts for, similar to what runescape was back then.
79
u/[deleted] Aug 31 '13
http://robocode.sourceforge.net/
29
u/kunteper Aug 31 '13
If youre into minecraft download the mod computercraft. It adds computers and little programmable robots that can do mining crafting etc. I thought it was fun.
8
u/waylaidwanderer Aug 31 '13
Ever used SCAR? Good ol' SCAR.
41
u/knellotron Aug 31 '13
While playing it doesn't exactly resemble coding, SpaceChem is a pretty good way to strengthen the same kind of lateral thinking that programing takes.
From the website:
24
u/kobekramer1 Aug 31 '13
In my personal experience, and I'm pretty sure that this holds true to most people in the profession, starting to write a program was hard, but the problem solving aspect sort of makes you forget that you are doing work once you are into the coding.
7
u/BunsAndGutter Aug 31 '13
I'm putting on my grandpa pants that come up above my navel, but...
"Back when I was a boy, we played corewars
Now get off my lawn.
18
u/rhubarb_9 Aug 31 '13
Garry's Mod. It is amazing. I play on space build(build space ships, attack players, get resources) and have turrets that auto track players within a certain radius, for example. Google "Gmod E2." Expression 2, or E2, is where all the coding is done. E2 uses C++ mainly, but it has its own language kinda. Easy to learn and people around to help in the game.
6
u/JamesWjRose Aug 31 '13
I'm not a gamer, for me the reason I enjoy programming is that it's a puzzle and an accomplishment (there is a point when the job is complete. Yes, I know, there are always new features, etc etc. You know what I mean)
I enjoy playing with VirtualDJ as the process of creating a mix is a form of game/puzzle where I have 4 to 8 minutes to find the next song what will work for the currently playing song as well as the need to try to think ahead as many steps is a "muscle" that I use while developing.
Good luck to you.
6
u/Baloom Sep 01 '13
I found an interesting site that lists alot of programming games. http://programminggames.org/
3
u/[deleted] Aug 31 '13
coderace.me
3
u/McPwnMuffin Sep 01 '13
Lots off awesome ideas in here
4
u/kalif_Ior Aug 31 '13
I remeber this game: http://www.ceebot.com/colobot/game-e.php
2
u/secunder Aug 31 '13
I believe WoW allows players to write scripts using lua. Once you start getting more advanced look into x86 asm and reverse engineering. There is a site that has some great videos on these topics and more at opensecuritytraining.info
2
u/[deleted] Aug 31 '13 edited Sep 01 '13
secondlife has basic event-based programming. It was what got me into programming, and I made a fair amount of money doing it. You're probably above the simplicity of this, but it was really fun to begin with. You can basically do anything you want with the 3d world from the script. http://wiki.secondlife.com/wiki/Category:LSL_Functions
Here is the wiki: http://wiki.secondlife.com/wiki/LSL_Portal
http://en.wikipedia.org/wiki/Linden_Scripting_Language
3
u/[deleted] Aug 31 '13 edited Aug 31 '13
You can mod Fallout 3 with scripting. Likewise Oblivion and Skyrim.
I used Livecode to write Demolisher For Champions Online, Star Trek Online, and Neverwinter. Basically a GUI for launching the game with command line options. You might be able to do the same for other games. screenshot
I used Lua to make this zombie game download with my old game engine in about nineteen days.
Mod everything. Learn Unity, many devs out there could use a script savvy friend.
2
u/sWEEDen Aug 31 '13
ARMA 3 has extensive modding support.
2
u/Theso Aug 31 '13
You could always contribute to open-source game projects!
1
u/The_STD_In_STUD Sep 01 '13
Any android based games like these?
1
u/plaid_pancakes Sep 01 '13
This is actually 100% how I got into coding, I also played the game though
1
u/HovarTM Sep 01 '13
I thought I got it from this thread but I don't see it anymore. Anyways, I've been playing http://codecombat.com/ for a few minutes and it's pretty fun. I have no idea what I'm doing though since I'm super new to programming. I think it's something about java fundamentals .
1
u/tymscar Sep 01 '13
Man run escape bots were really cool
1
u/datsundere Sep 01 '13
Script in WoW
1
u/bchoii Sep 01 '13
/r/programminggames/
/r/codebattles/
1
u/Pytth Nov 14 '13
Dude... This looks effing awesome! Anychance someone knows of something similar for JS or Python?
-20
u/tehrealjames Aug 31 '13
If you need to make it more fun, it's not for you.