Phive, a Gomoku-like game to play with friends or solo
Details
- External ID
- 48340891
- Source
- HN
- Company
- —
- Product
- Phive, a Gomoku-like game to play with friends or solo
- Website domain
- phive.app
- Launched
- May 30, 2026
- Cohort
- —
- Upvotes
- 19
- Upvotes percentile
- 0.7326332794830371
- Tags
- —
- Fetched at
- Sept. 7, 2026, 9:26 p.m.
- Updated at
- Sept. 7, 2026, 9:26 p.m.
Description
In 2025, my family and I had a long streak of playing a Gomoku / Go Bang / five-in-a-row based game called OK Play. I built a web version so that we could play any time we wanted (i.e. on our phones after kiddos went to sleep).The first player to get five-in-a-row (horizontally, vertically, or diagonally) wins. In the first phase of play, players take turns placing their pieces next to existing pieces (always edge-to-edge; you can't place a piece with only a corner-to-corner connection). After players exhaust their pieces, play moves into the movement phase: you pick up an existing piece you own and place it according to the previous placement rules. During the movement phase, you cannot move a piece that would leave other pieces disconnected. Play continues in player order until someone wins.I wrote the app using Elixir's Phoenix framework with Daisy UI / Tailwind CSS for styling. The app is deployed on Gigalixir via its generous free plan. I am by no means a frontend developer / designer, so there's for sure better ways to implement things than what I have here. I mostly focused on making it mobile friendly and getting it to support light and dark mode. There likely exists browser / device specific bugs, since we've only tested it out on our phones (iPhone 13 Pro, Safari / Chrome) and my computer (MacBook Pro, Safari). Happy to hear any suggestions, frontend or otherwise, if you have them!Developing this has been a real journey. Highlights have included learning about Gomoku and its variants, articulation points (and Trajan's algorithm for strongly connected components), and the Monte Carlo tree search algorithm (for the intermediate level "AI" mode I've recently added for single-player use). Lowlights have all been CSS related.I'd love to add a "matchmaking" mode in the future. I haven't really looked too much into the mechanics for how that's usually done though - it'll be a great learning opportunity!
Enrichment
- Theme
- interactive simulations and creative experiments
- Vertical
- Media & entertainment
- Function
- —
- Audience
- B2C
- AI stance
- Not AI
- Project type
- Hobby / open-source project
- Normalized one-liner
- gomoku-like multiplayer game
- Manually corrected
- False
Could you build this?
Yes A Gomoku / OK Play web game consists of simple 2D grid rendering, turn-based win-condition validation logic, and optional basic matchmaking or local hotseat play.
Discussion
9 comments analyzed.
Competitors mentioned: Opus Magnum by Zachtronics
Concerns raised: AI too easy even on advanced difficulty, loses before endgame to novice players, AI goes completely off rails during endgame, AI moves too fast, hard to follow what's happening, New Game button too prominent, accidentally clicked
Feature requests: Highlight or slow down move placement to see where moves are placed, Add animations to clarify what's happening, Display spare pieces visually on screen instead of just text count, Add puzzle mode with pre-existing board states to solve, Add storyline and background music
Competitors
Other products that read as similar to this one — 180 launches clear the similarity bar, closest 8 shown.
Attention rank: #50 of 181 (itself plus its competitors, highest first — normalized so YC and Product Hunt are compared fairly).
Launched 211 days after the earliest competitor.
- Jev Plays Pokémon Red · hn · 2026-09-25 · 280 upvotes · similarity 0.51
- Linex · hn · 2026-02-24 · 82 upvotes · similarity 0.49
- Shoot-em-up Deck Building game · hn · 2026-01-06 · 5 upvotes · similarity 0.49
- I made a retro falling block puzzle, with a twist ;) · hn · 2026-09-06 · 6 upvotes · similarity 0.48
- Gametje · hn · 2025-11-11 · 112 upvotes · similarity 0.48
- Gaming Couch · hn · 2025-12-21 · 437 upvotes · similarity 0.47
- Radioactive Pooping Knights · hn · 2025-12-06 · 27 upvotes · similarity 0.45
- A short walking sim based on 3DGS that runs in the browser · hn · 2026-07-06 · 5 upvotes · similarity 0.44
Other launches for this product
- No other launches for this product.