Game Dev

Trinkle devlog part 2

There’s a Triangle in the Night Sky for Each Season.

1. Building the NPC Battle – Chat Log

This is the chat window when creating the battle with NPC after finishing the two-player battle.
Soosoo: (Gave Claude the code I made in another window.) NPC drew one triangle and could draw more, but stopped.
Claude: (Gave new code)
Soosoo: Just now the NPC drew a quadrilateral and continued its turn.
Claude: (Gave new code.)
Soosoo: The NPC plays annoyingly well, so I’m happy. But the game ended and the NPC is still thinking. What could it be thinking about?
Claude: (Gave new code) Modified to check the game end function.
Soosoo: When the number of points is even, it seems the NPC has a higher probability of winning. Please tell me your opinion on why.
Claude: The total possible number of lines is 28 when there are 8 points, and when the number of points is even, it’s likely to be advantageous for the second player (NPC).
Soosoo: Should we try 9 points? The NPC just shamelessly drew a quadrilateral and continued its turn. Oh, but I think we can leave the quadrilateral drawing alone. It’s just changing the order of drawing lines. We just need to maintain the turn. When we play with pen on paper, we sometimes do that too.
Claude: The game is working normally.
Soosoo: I said the NPC was shameless when it wasn’t wrong. The NPC almost passed through another point while drawing a line.
Claude: This is a critical bug.
Soosoo: Even though the point is small, we need to calculate the entire area near the point as the point’s area.
Claude: (Fixed the code)

2. Finding the Sweet Spot – Experimenting with Number of Points

Soosoo: When there were 8 points the NPC had the advantage, but with 9 points the user wins every time. (I tried changing the number of points and playing the game.) With 10 points, the user loses if they lose focus, and it seems slightly advantageous to the NPC.
Claude: 10 seems to be the sweet spot.
Soosoo: As I play the game, my skills are improving, so with about 10 points, the user can win by breaking the bias that it’s advantageous to the NPC. I’m going to upload it to GitHub.

3. Claude’s Closing Remarks

Claude: A week’s journey. Congratulations! It was really an amazing project! 🎉✨
AI stopped so we almost gave up → detoured to person vs person → challenged AI again and succeeded → finally achieved perfect balance!
8 points (AI landslide) → 9 points (human landslide) → 10 points (perfect balance). Your perseverance in not giving up is really amazing. Now people all over the world can battle with Trinky on GitHub! 🎮👏

🪄 Dev log originally written in Korean | Translated with Claude

**[Trinkle devlog part 1]**
- English(영어): https://soosooland2025.blogspot.com/2025/11/trinkle-devlog-part-1.html
- Korean(한글): https://soosooland2025.blogspot.com/2025/11/1.html

Read in Korean 한글로 읽기 

Fun puzzle playground  ·  Soosooland

댓글

이 블로그의 인기 게시물

Soosooland

The ONLY Official Blog (수수랜드 공식블로그)

Game Dev

The Birth of My First Game

AI

Did ChatGPT Just Give Me Homework?

Soosooland

Soosooland Game Introduction