{
"$type": "site.standard.document",
"bskyPostRef": {
"cid": "bafyreifq6fmi3s73qbseebjc4n3b6665472fppamqms4qrhuicijel27gi",
"uri": "at://did:plc:pgryn3ephfd2xgft23qokfzt/app.bsky.feed.post/3mjpnxquamwa2"
},
"path": "/t/ai-to-help-make-rpg-game/166949#post_5",
"publishedAt": "2026-04-17T19:29:55.000Z",
"site": "https://discuss.huggingface.co",
"tags": [
"Codex Desktop App",
"nodejs.org",
"@openai",
"@anthropic-ai",
"@google"
],
"textContent": "To build on the excellent points made by **John6666** , I would suggest a structured approach for those just starting their journey into AI-assisted development.\n\nA first step is securing a professional subscription to either **Google Gemini** , **OpenAI** , or **Claude Code** all of which are around the **$20 monthly** mark. After subscribing, install the respective CLI clients for your system to bridge the gap between the AI and your local environment.\n\nSet up a **GitHub account** , if not already done. Create a **fine-grained API key** within the account settings to provide to the agent. This enables the AI to handle GitHub pushes and commits directly, which can make the workflow easier and more automated.\n\nFor a first build, start with **Python and Pygame**. Have the CLI agent guide through a simple project, such as a _Pong_ remake or a _bullet hell scroller_. The goal is to fully flesh out that simple project.\n\nIn coding projects, remember the **90/90 rule** : when you think you are 90% done, you still have 90% to go.\n\n* * *\n\n## **Quick Start: Installing AI Agent Tools (Windows)** <-assumption\n\nThe most current way to use these models on Windows is through their official desktop applications or CLI tools. Modern tools like **Codex** and **Claude Code** now favor browser-based **OAuth** , which means no more searching for API keys.\n\n## **1. OpenAI Codex (Desktop App & CLI)**\n\nOpenAI has shifted toward the Codex Desktop App as the primary command center for Windows. It includes a built-in terminal and better visual diffing than a standard CLI. [1, 2, 3]\n\n * **Install App:** Download directly from the Microsoft Store.\n\n * **Install CLI (Optional):** If the terminal is preferred, run `npm install -g @openai/codex` in PowerShell.\n\n * **Authenticate:** Open the app or run `codex login` in the terminal. The browser will open to sign in via the ChatGPT account.\n\n *\n\n\n## **2. Claude (Anthropic) CLI**\n\nClaude Code is a high-speed agent that lives in the terminal.\n\n * **Install:** Open PowerShell and run:\n\n npm install -g @anthropic-ai/claude-code\n\n\n\n * **Authenticate:** Type `claude` and press Enter. It will provide a link to authenticate via the browser.\n\n\n\n\n## **3. Google Gemini CLI**\n\nGoogle provides a dedicated CLI for interacting with the Gemini 1.5 Pro and Flash models.\n\n * **Install:** Run the following command:\n\n npm install -g @google/gemini-cli\n\n\n\n * **Authenticate:** Run `gemini login` to sign in through a Google account in the browser.\n\n\n\n\n* * *\n\n**Pro Tip:** If any of these `npm` commands fail, ensure the latest **LTS version of Node.js** is installed from nodejs.org.\n\nTo make your life easier, you’ll want to **give your agent a**Fine-Grained Personal Access Token (PAT)****. This is more secure than old-school tokens because you can limit the agent’s access to _only_ the specific projects it needs to work on.\n\n* * *\n\n## **Step-by-Step: Creating a GitHub Fine-Grained Token**\n\n 1. **Go to Settings:** Log in to GitHub, click your profile picture in the top right, and select **Settings**.\n\n 2. **Developer Settings:** On the left sidebar, scroll all the way to the bottom and click **Developer settings**.\n\n 3. **Personal Access Tokens:** Click **Personal access tokens** > **Fine-grained tokens**.\n\n 4. **Generate New Token:** Click **Generate new token**. You may be asked to confirm your password.\n\n 5. **Configure the Basics:**\n\n * **Token name:** Give it a name like `AI-Agent-CLI`.\n\n * **Expiration:** Set this to 90 days (or whatever you’re comfortable with).\n\n * **Description:** “Token for AI CLI agent to manage pushes and commits.”\n\n 6. **Repository Access:**\n\n * Select **Only select repositories**.\n\n * Pick the specific repository you are using for your game (e.g., your _Pong_ or _Bullet Hell_ repo). This ensures the AI can’t touch your other projects.\n\n 7. **Permissions:** Click the **Permissions** dropdown and set the following under **Repository permissions** :\n\n * **Contents:** Set to **Read and write** (This allows the agent to commit and push code).\n\n * **Metadata:** Set to **Read-only** (Usually set by default).\n\n * **Workflows:** Set to **Read and write** (Optional—only if you want the AI to manage GitHub Actions).\n\n 8. **Generate:** Scroll to the bottom and click **Generate token**.\n\n\n\n\n**Important:** Copy that token immediately and save it in a secure place (like a password manager). **GitHub will never show it to you again.**\n\n* * *\n\n## Happy Coding",
"title": "Ai to help make rpg game"
}