Othello
← Back to HomeProject Description
This is a board game I like to play with my 7 year old son. I wondered if I could prompt AI how to play by itself in one sentence. Yeah, it worked!
Initial Prompt
I want to code a program for p5js. It needs to run inside the editor at https://editor.p5js.org/ I want it to be a customized game of Otello, the board game with black and white discs. Let's start by: - set up the main core classes, the board, the discs and the players - visualize the board. It needs to be a 100x100 board - set up and visualize the initial state, with the first 4 discs on the board - Later we are going to add a gameplay. I later change the size of the board to 16x16
Lessons Learned
- What worked: AI is really good at board games. I didn't have to explain the rules, the board style and colors.. everything worked.
- What needed help: I only tweak the speed of the animation, everything else was good.
Project Card
Dev environment: Google AI Studio
Model: Gemini (2.5 (preview))
Dev time: 1 hour
My Rating:
Submitted: May 29, 2025
Author
Roberto
About Me
When I don't code for work, I code for fun! On CO-DERS I like to post some of the results of my vibe coding sessions, as I learn how to build with AI.
I'm rediscovering the origins of my passion for coding: creating something new, visually appealing, with surprising behaviors and functions.
Stuff I do
- I come up with project ideas all the times
- I'm writing a book
- I love my family
Keywords
- Android
- Italy
- Solo
Explore Other Projects
Have a Project to Share?
We're always looking for exciting new solo projects to showcase. If you've built something cool, we'd love to hear about it!
Start Your Project