|
Title: Programming as a Game idea Post by: lithander on November 05, 2011, 12:35:58 PM Here's an idea I've been toying with: I'd like to create a simulation with a plugin system for the AI. Your goal as a "player" is to write an AI that is able to score as high as possible within the simulations parameters. You can compare your score with others, exchange code and ideas and try to engage "harder" levels of the simulation, which basically comes down to a more complex world in which your AI has to function efficiently.
It takes an interesting part of game programming (AI) and allows to engage in it without all the boilerplate work of a *real* game project. The whole idea can start very small but evolve into a mixture of game, coding challenge, and programming-tutorial. When I started to research that idea I found that I wasn't the first to think into that direction: http://robocode.sourceforge.net/ or http://antme.codeplex.com/ Do you know other projects with a similar approach? What do you think of a "programming-game"? Would you "play" it? Title: Re: Programming as a Game idea Post by: rivon on November 05, 2011, 12:46:06 PM http://aichallenge.org/
Title: Re: Programming as a Game idea Post by: C.D Buckmaster on November 05, 2011, 03:17:49 PM You could possibly implement it with a system similar to Conway's Game of Life.
Title: Re: Programming as a Game idea Post by: Dacke on November 05, 2011, 03:46:26 PM This kind of stuff is lots and lots of fun!
There are some great graphically driven programming games that may be worth checking out. The ones I have seen are focused on engineering and fixed tasks, rather than AI programming. But I think some good ideas could be taken from them. Zachtronics Industries are the masters of small engineering/programming games: http://www.zachtronicsindustries.com/ Lightbot, a neat game where you program a small robot: http://www.newgrounds.com/portal/view/539621 Then there's always Core War. Create programs in the assembly language Redcode, put two competing programs a "core" and watch them eliminate each other. Not really AI, more like competitive dynamic assembly programming. We were running a small competition here on Tigsource in 2009: http://forums.tigsource.com/index.php?topic=9432.0 Title: Re: Programming as a Game idea Post by: Core Xii on November 06, 2011, 08:52:18 PM Then there's always Core War. This is the definitive game in the genre. I'm also working on a programming game myself. Title: Re: Programming as a Game idea Post by: C.A. Silbereisen on November 07, 2011, 01:37:31 AM One interesting idea might be making a programming game that appeals to non-programming nerds. I tried one of them (some robot battle thing with minimal graphics) a while ago and didn't find it very fun because I don't find programming very fun.
Title: Re: Programming as a Game idea Post by: Liosan on November 07, 2011, 01:49:04 AM MindRover is worth noting - it allows quite complex programming of robots (through a network of states, nodes, components like radars...) while still remaining accessible. There where racing and combat competitions for the robots, and some other as well. I remember the GUI was fun and simple.
Liosan Title: Re: Programming as a Game idea Post by: lithander on November 07, 2011, 06:25:14 AM Thanks for all the tips! Looks like I got a bit to play before I start developing something on my own. ;)
The Ant-simulations are closest to the game ieas I've had in mind: Simple agents working together - some interesting challenges here especially regarding communication and specialization. The pheromones in AntMe are a nice approach to that... I had a quick look ad Core Wars. Interesting concept but a little hard to get into. I understand most of the basic warriors I looked at but I can't imagine coming up with a new or interesting variation let alone make it work. Sounds like work. LightBot 2.0 is pretty amazing. And I have SpaceChem somewhere on my Steam account, I just never got around playing it so far! @C.A.Sinclair: You should give those a try! They are pretty much addressing all audiences and all "programming" happens in a visual way. Title: Re: Programming as a Game idea Post by: stevesan on November 08, 2011, 12:35:17 AM Here's a twist: How about a game about debugging? I'm imagining a tower defense game where you can scrub through the whole level, instead of waiting for the monster waves to come. So you set some actions, then see the outcome almost instantly. Then you can scrub through and see what happened at any given time and tweak your strategy (ie. build order) accordingly.
Title: Re: Programming as a Game idea Post by: Core Xii on November 08, 2011, 10:04:07 PM I have SpaceChem somewhere on my Steam account, I just never got around playing it so far! That's a criminal offense. It's one of the best games ever made. Title: Re: Programming as a Game idea Post by: I_smell on November 09, 2011, 02:28:57 PM You could set your team's AI in Final Fantasy 12.
To cure allies if their health's below 40%, to use spells on enemies who're weak to it, when to use Ethers n so on. Title: Re: Programming as a Game idea Post by: C.A. Silbereisen on November 09, 2011, 02:32:16 PM You could set your team's AI in Final Fantasy 12. Dragon Age Origins too, and one other RPG whose name escapes me ATM.Title: Re: Programming as a Game idea Post by: jeffrobot on November 09, 2011, 02:43:09 PM I, too, had this idea... this is further reinforcement of the fact that most of my cool ideas are probably being had by many other people all over the place.
I like the idea of being able to program my own spells or weapons. But, I have a kind of useless obsession with novelty, and so the idea of being able to constantly create some new weapon or spell is appealing to me. I'm sort of trying to get over that. Title: Re: Programming as a Game idea Post by: rivon on November 09, 2011, 02:57:14 PM You could set your team's AI in Final Fantasy 12. Well, that's not really a game about programming. To cure allies if their health's below 40%, to use spells on enemies who're weak to it, when to use Ethers n so on. Title: Re: Programming as a Game idea Post by: lithander on November 15, 2011, 08:15:54 AM I've thought a bit of a promising scenario for a programming game. A checklist of features I'd like to have:
- Agents will take part in a simulation, their success is rated. Achieving a high rating is the goal of the game. - The player programs an agent 'class' that will drive the behavior of his agents. - Agents can reproduce. Agent instances that have means to cooperate and communicate. - The simulation is complex but deterministic. The agents have a limitted view. To succeed they have to establish and improve a model of the world they inhabit. An interesting (but maybe too ambitious) scenario that I'm currently considering is naval trading. The agent's would be ships. They have to explore the gameworld, discover ports and trade goods. The earned money could be reinvested in new ships or upgrades. It can be challenging on a micro-level (navigating the ship) and on an intermediate level (trading) and on a higher level (fleet structure). Rating is done on the fleet's accumulated wealth after a certain time has passed. The world could be procedurally generated. Weather and price development could be simulated too. So each playthrough would be different. Agents that adapt and find working strategies fast will succeed. How does that sound? Title: Re: Programming as a Game idea Post by: Liosan on November 15, 2011, 09:51:34 AM - Agents will take part in a simulation, their success is rated. Achieving a high rating is the goal of the game. Sounds like BattleCode :) Except the last part; in BattleCode it's "to succeed they have to shoot the other team". Agent classes are coded in Java.- The player programs an agent 'class' that will drive the behavior of his agents. - Agents can reproduce. Agent instances that have means to cooperate and communicate. - The simulation is complex but deterministic. The agents have a limitted view. To succeed they have to establish and improve a model of the world they inhabit. Liosan Title: Re: Programming as a Game idea Post by: Headless Man on November 16, 2011, 03:28:00 AM tv tropes has a good list (sorry for linking tv tropes):
http://tvtropes.org/pmwiki/pmwiki.php/Main/ProgrammingGame There was a PS1 mecha fighting game thing that I don't see on that list or mentioned in this thread, but I can't remember the name. Title: Re: Programming as a Game idea Post by: Core Xii on November 16, 2011, 04:47:44 AM Sounds good to me. An economic programming game. I'd play it.
Title: Re: Programming as a Game idea Post by: Player Ʒ on November 16, 2011, 11:53:52 AM Another example for inspiration is a little MMO called Almasy Tactics. You can program the AI for your army individually using Lua right in your browser. Just trying to help with the possibilities.
|