Learning objectives. By the end of this lesson you should be able to install Ollama and a coding model; ask it for Python code from the terminal and paste your own code into a prompt; choose a sensible temperature for code; and create your own coding assistant with a system prompt saved in a Modelfile. This assistant is the tool you will use to write every line of your game. If you prefer an online assistant such as Claude or ChatGPT, section 6 shows how to set it up the same way.
Your local AI coding assistant
In this lesson
- 1. What you need
- 2. Install Ollama and download the model
- 3. Temperature for code
- 4. The coding loop
- 5. Your own coding assistant
- 6. Another option: an online assistant
- Practice
- Revision checklist