{"id":13640874,"url":"https://github.com/srush/gptworld","last_synced_at":"2025-08-16T15:16:47.097Z","repository":{"id":155761287,"uuid":"632722180","full_name":"srush/GPTWorld","owner":"srush","description":"A puzzle to learn about prompting","archived":false,"fork":false,"pushed_at":"2023-05-12T03:12:47.000Z","size":204,"stargazers_count":126,"open_issues_count":2,"forks_count":6,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-04-12T15:12:30.813Z","etag":null,"topics":["puzzles"],"latest_commit_sha":null,"homepage":"https://colab.research.google.com/github/srush/GPTWorld-Challenge/blob/main/GPT4_game.ipynb","language":"Jupyter Notebook","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/srush.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2023-04-26T02:02:57.000Z","updated_at":"2025-04-10T12:40:21.000Z","dependencies_parsed_at":"2023-07-17T07:31:09.960Z","dependency_job_id":null,"html_url":"https://github.com/srush/GPTWorld","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/srush%2FGPTWorld","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/srush%2FGPTWorld/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/srush%2FGPTWorld/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/srush%2FGPTWorld/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/srush","download_url":"https://codeload.github.com/srush/GPTWorld/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248586245,"owners_count":21128998,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["puzzles"],"created_at":"2024-08-02T01:01:15.252Z","updated_at":"2025-04-12T15:12:35.630Z","avatar_url":"https://github.com/srush.png","language":"Jupyter Notebook","funding_links":[],"categories":["Prompts"],"sub_categories":[],"readme":"---\ntitle: GPTWorld\nemoji:  🌎\ncolorFrom: blue\ncolorTo: green\nsdk: gradio\napp_file: app.py\npinned: false\n---\n\n# GPTWorld - Prompt Golf\n\n\u003cp align=\"center\"\u003e\n\u003ca href=\"https://colab.research.google.com/github/srush/GPTWorld-Challenge/blob/main/GPT4_game.ipynb\" target=\"_parent\"\u003e\u003cimg src=\"https://colab.research.google.com/assets/colab-badge.svg\" alt=\"Open In Colab\\\"/\u003e\u003c/a\u003e\n\u003c/p\u003e\n\nGPTWorld is an educational environment to learn about Prompting.\nIt consists of a grid-world environment to test the ability of language models to follow instructions in a grounded environment. \nYou instruct the model to generate code to play the game. \n\n\u003cp align=\"center\"\u003e\n\u003cimg src=\"https://user-images.githubusercontent.com/35882/234447369-6a4ca94d-5bb8-4c8e-a34d-a1ff0614bf7d.gif\" /\u003e\n\u003c/p\u003e\n\n## Goal\n\nThe goal of the puzzle is to construct a prompt that can get GPT-4 to solve a complex game. You can watch in real-time as GPT plays the game. \n\nUse this link to get started: \n\n\u003cp align=\"center\"\u003e\n\u003ca href=\"https://colab.research.google.com/github/srush/GPTWorld-Challenge/blob/main/GPT4_game.ipynb\" target=\"_parent\"\u003e\u003cimg src=\"https://colab.research.google.com/assets/colab-badge.svg\" alt=\"Open In Colab\\\"/\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n\u003cimg width=500px src=\"https://user-images.githubusercontent.com/35882/234614176-789fd6a8-bc7c-4f42-889b-81b3879cca36.png\"/\u003e\n\n## Leaderboard\n\nI was able to solve the big puzzle using roughly 2000 tokens (input/output). Can you do better? I'll post the best ones here.\n\n## Other Puzzles\n\nIf you find this fun also check out.\n\n* https://github.com/srush/GPU-Puzzles\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsrush%2Fgptworld","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsrush%2Fgptworld","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsrush%2Fgptworld/lists"}