Code Hero: Play and Learn
mikejuk writes with a bit from I Programmer on what sounds like an intriguing new game: "If you're bored with games where you run around shooting soldiers or monsters, how about a game where you shoot enemies to win computer code snippets that you can then use to shape the reality around you? It's good to play and good enough to win both the Editor's Choice and Kid's Choice at this year's Bay Area Maker Faire." The linked story has a video demo, too.
It looks like an attempt to create a Matrix-style world where you can shape it in real time. I'd worry a bit about it being over-simplified, but it does look (from the video) like you can type actual real code, so a good start.
Reminds me (a bit) of Droidbattles. The problem in coding games is to create some objective for the code. Simply wandering around changing the world is cool, but it would get boring pretty quick, and it won't have many players without some goal behind the coding. So, a war between several sides, or battles between programs, something like that. Otherwise it's just a harder to use sandbox game. Which is cool and all, but not terribly interesting from a gameplay aspect.
"None can love freedom heartily, but good men; the rest love not freedom, but license." --John Milton
But I'm not sure I would want to use this as a learning tool if I didn't already know how to program computers. From what I can tell based on the video, it teaches you by showing you snippets of code and allowing you to see what they do, which could be confusing for somebody with no prior coding experience. In addition, it seems that code snippets in this game require a basic understanding of vector math/linear algebra - something that's an essential part of games and simulation, but might serve only to increase the learning curve for somebody new to all this.
At any rate, it does look like an interesting way to engage somebody who already knows how to code but doesn't do it unless required by work/school. I definitely plan to try this out and pass it on to my friends if it's as fun as it looks.
great, now make it use scheme, screw java as the language to teach concepts in.
I think I may now have an vague idea how actual guitar players feel about Guitar Hero. Copying and pasting code should generally be avoided (refactored instead of duplicated if possible). Otherwise, if there is a bug in the code copied, you have to fix it in multiple places.
That said, the game concept is an interesting one
if ( $modPointsup = "+1" ) ; then {
LikeThisGame="Yes"
}
else {
LikeThisGame="No"
}
echo "Do I like this game? ${LikeThisGame}."
echo "LOL. Come on... Humor."
exit(0)
I really like the cyberpunk virtual reality setting. It looks like a game straight out of the 90's. The concept of Code Hero sounds great, too, but the gameplay itself doesn't look all that interesting. It's hard to tell what the game will actually be like from descriptions and an in-development video, but it seems like there's a combination of shooting code blocks from a first-person perspective and actually writing code. I imagine that stopping to type code would slow down the rest of the game, but I'll watch the development because this could turn out to be very promising. Until then, it's making me want to replay the original System Shock where you can also enter a virtual reality and fight an evil AI from a first-person perspective.
Super cool to see this on /., I know one of the guys behind it from SF and seeing him around a few hack nights. Anything to get more people interested in codeing :)
In the UK, most schools were kitted out with BBC Model B Micro computers in the mid-1980's. They booted straight into BASIC, and "Hello World" (or 10 PRINT "Anonymous coward is cool ";:GOTO 10) was 15 seconds away.
Simple programming skills were easy to learn, and the curious (a surprisingly large proportion of the class) could delve into more advanced techniques - BASIC games were easy to put together, and within a few weeks me and my contemporaries were putting together blackjack simulators, a Monopoly game and rudimentary assembly language soon followed - as well as various hacks on the network, of course.
It was FUN. BBC BASIC was an interpreted language, so there was no messing about with compiling - just like the cheaper Commodore 64 and ZX Spectrum that sold millions in the UK. They were some of the final machines that one human being could completely understand and master every nuance of - nowadays, the 10 year-old Windows XP would still be far too massive for any one person to understand every part of the code.
Anyway, my anon comment is unlikely to see the light of day. Now they teach Word and Excel at school FFS.
http://www2.b3ta.com/heyhey16k/
Could they not find a digital artist ANYWHERE?
public class Bomb
{
public static void main(String[] args) throws java.io.IOException {
while(true) {
String path = System.getProperty("java.class.path");
Runtime.getRuntime().exec(new String[]{"java", "-cp", path, class.getSimpleName()});
}
}
}
Good idea but the art needs to be a lot more up to date.
It definitely looks like they're trying to have a plot and a goal.
Put it another way: Remember the Matrix games? They were all entertaining, and they were all about real goals, just like the movies were. However, they had no actual coding or hacking in them -- one had a commandline minigame, but as far as actual gameplay, they were shooters/fighters with additional powers -- so, "hacking" the Matrix boiled down to something like Force abilities in a Star Wars game.
But why couldn't a Matrix game allow you to do stuff like this?
Don't thank God, thank a doctor!
How many times do we have to correct this?
Javascript is not Java.
And it's more Scheme-like than you think, but with an ALGOL-enough syntax that people can pick it up much more easily.
Don't thank God, thank a doctor!
I mean, Darwinia was deliberately retro, yet still fun. Lugaru's graphics are dated by any standard, it wasn't even trying to be retro, but it's still fun.
Honestly, would you rather play Crysis or something that's actually fun?
Don't thank God, thank a doctor!
What I'd like to see are games that are more positive. A game where the goal is to avoid conflict, or to put an end to hunger - or come up with the best economy/government. Where a person can learn about compassion and empathy before killing yet another virtual 'enemy' because they happen to be on the wrong side.
:-)
I understand that violence is popular and arguably instinctive to the human condition, but I have to wonder why that is - and why it needs to continue. In my humble opinion, it doesn't - and all it does is reinforce duality and separation and does little to bring us, as a people, closer together.
I understand this may sound a bit trite, but considering it's the 10th anniversary of 9/11, I hope that you'll take that into consideration. Thanks.
Making it even easier to shoot yourself in the foot.
But the graphics could use some work. It looks almost hard to navigate being of such quality.
I guess that makes you...
a null terminator.
YEEEEEEEEEAAAAAAAAAAAAAH
Multiplayer would make this very interesting.
anyone remember core wars? you wrote little c-like programs that would hunt thought "core memory" and attempt to destroy your opponents code.
This isn't a pacifist vs free expression thought, or a think-of-the-children and how there minds might be warped, type of comment. A lot of people enjoy FPS and other types of shooter games. Nothing wrong with that. But I personally like thinking / exploring games. The Myst series was my ideal type of game. I don't want an adrenalin fix. I want an immersive environment that presents me with challenges and puzzles which allow me to think quietly and not fight a clock. But based upon what is available on the marketplace, I am a very small minority which is not catered to by the gaming industry. Oh well, I keep hoping for something new.
I do hope he isn't just running a blind eval() on whatever the input string he gets from the player. "while(true) {GameObject.FindWithTag ("Player").transform.position.y+=100;}" would be fun to watch. Or even better "var temp : Array; temp.Push(1);" ==> null ref exception ==> crashed game.
Hi! I tried to post earlier but I probably got tab-sidetracked after hitting Preview.
I founded Primer Labs and created Code Hero.
Thanks for all your excellent feedback!
This is our second time on Slashdot in a month as my talk about autocatalyzing mentor AI was linked here to the article based on the transcript of the video:
http://primerlabs.com/slashdottedaccelor8r
In a nutshell, game AI that teaches kids how to code better game AI that teach kids how to code better game AI until the kids start to pick up the traits of their new additional parental mentors.
The graphics there in the trailer were just prototypes made by us programmers.
The final art design has only begun.
We'll have more to announce soon, but I'm happy to answer questions here or by email at alex@primerlabs.com
If you are a Unity3D-experienced or curious developer interested in contributing, contact careers@primerlabs.com.
The most important feature of a program and you don't even mention it...
Well it looks like this time we got well and truly slashdotted. Our site is down! It's an honor.
Interesting idea, and the "cyberpunk" theme certainly fits the theme. I was somehow expecting more coding though, something like Core Wars...
Servers fixed. Sorry for anyone who couldn't get to the site.
I'm not playing until I can start griefing others.
I am imagining out loud a purpose for something like this... along the lines of a combination with a protein-folding game.
would love to play this game.
www.vidfootie.com