Comments

You must log in or register to comment.

Sashinii t1_j27b73a wrote

Next year. Those games won't be great, but give AI a few years, and they'll be incredible.

9

MattDaMannnn t1_j276ul4 wrote

Your estimate is probably accurate for AAA games, but I think within next year we could get some games generated with only AI. They definitely wouldn’t be perfect, or really even fun, but it would bring game dev to much, much more people for a fraction of the cost and effort.

8

Joeskithejoe OP t1_j27bbpw wrote

Even a very basic game created by AI would be a huge milestone. I don’t think it’s going to happen within the next year, but after learning Text-to-Video AI will be made available to the public soon, who knows?

3

SplitRings t1_j27x27t wrote

Why wait a year?

My Prompt: Create a simple text based game in c++

ChatGPT: Sure! Here is a simple text-based game in C++ that allows the player to explore a small, imaginary world and collect treasures:

(Copy pasting to Reddit ruined indentation but whatever)

#include <iostream> #include <string> using namespace std; int main() { // Declare variables string location; int treasureCount = 0; // Welcome message cout << "Welcome to the treasure hunt game!" << endl; cout << "In this game, you will explore a small, imaginary world and collect treasures." << endl; // Main game loop while (true) { cout << "You are currently in: " << location << endl; cout << "Treasure count: " << treasureCount << endl; cout << "What do you want to do?" << endl; cout << "1. Go north" << endl; cout << "2. Go east" << endl; cout << "3. Go south" << endl; cout << "4. Go west" << endl; cout << "5. Pick up treasure" << endl; cout << "6. Quit game" << endl; int choice; cin >> choice; if (choice == 1) { location = "north"; } else if (choice == 2) { location = "east"; } else if (choice == 3) { location = "south"; } else if (choice == 4) { location = "west"; } else if (choice == 5) { cout << "You have picked up a treasure!" << endl; treasureCount++; } else if (choice == 6) { cout << "Thanks for playing!" << endl; break; } else { cout << "Invalid choice, please try again." << endl; } } return 0; }

This game will present the player with a menu of options, and allow them to choose which direction to move or pick up a treasure. The player can also quit the game at any time. The game keeps track of the player's location and treasure count, and prints this information to the screen each time the menu is displayed.

I hope this helps! Let me know if you have any questions or if you'd like to see any other examples.

(It's not fun but it's a game)

3

Joeskithejoe OP t1_j2bjf9a wrote

That’s really cool, so where would you input that code in order to get a playable game?

1

h20ohno t1_j27di3b wrote

What's going to be even more potent IMO, at least until AGI hits the scene, is a hybrid approach: AI generates content, fixes bugs and does optimization, while a smaller team of developers does the overall design, asset curation, story, etc.

After AGI, I could see games being made in a sort of questionnaire format, you'd go through an extensive list that covers basically everything until you're satisfied and the AGI gets to work making the game based on your unique parameters.

3

Effective-Dig8734 t1_j27fwio wrote

If we are talking about like “make me a game that includes a leveling up system, set in a world with dragons and wizards…” then I think we’re still a while away, but it really depends on your definition of a game. It might be able to code a very basic app that could be put on the AppStore as soon as next year, but this would most likely require quite a bit of human help.

2

KhaleesiDog t1_j27s45i wrote

First comes in-game AIPCs (Artificially Intelligent Player Characters) that provide a truly incredible custom interaction experience..

2

CypherLH t1_j2b1pgq wrote

I'd argue we're there already. chatGPT was able to create me a very basic javascript clone of Atari Breakout that worked right off the first prompt. VERY basic but it had the complete game loop, including score keeping and end game conditions, etc. I just had to copy the javascript text into an html doc and it just worked. Based on this it feels like getting to AI making more advanced games isn't that far off. (multi-modal version of chatGPT running on top of GPT-4?)

2

FakeVoiceOfReason t1_j27mlej wrote

I mean, how good do you want the games to be? I could probably whip up an "AI Creating Video Games!!!!" in a few hours, it just wouldn't be very good, and it would only be able to create tiny, simplistic games with a very similar scope that mostly rely on a base engine. If you mean like, "Okay ChatGPT, write a Unity video game that's like finite Minecraft but with constant zombie hoards that you have to survive as long as you can," then that'll probably take a lot longer.

1

boredapril t1_j27tqmi wrote

I’m making one right now so hopefully not in the next 3 years lmao

1

Akimbo333 t1_j27ucue wrote

Yeah, that'll be interesting!

1

TheLastMaroon t1_j27v2wn wrote

Probably not anytime soon? Most video games aren’t open source so what would be the reference material?

0