🎯 I built Bulls & Cows inside WhatsApp using Rust + whatsapp-business-rs

Hey folks! :waving_hand:

I wanted to share a small but fun side project I recently finished — a Bulls & Cows game that runs entirely on WhatsApp, powered by my Rust crate whatsapp-business-rs
.

The idea came from wanting to test the interactivity and message flow of the crate in a real-world setting. So instead of another “send message / get reply” demo, I thought — why not make something playful?

Using whatsapp-business-rs, I wired up:

Message handling for player guesses :brain:

Dynamic responses with hints (Bulls :ox: = correct digit & position, Cows :cow: = correct digit, wrong position)

A simple game state tracker per user (stored in memory for now)

A few emojis and delays to make it feel conversational :grinning_face_with_smiling_eyes:

Here’s what a game session looks like :down_arrow:


It was surprisingly fun to build and a great way to stress-test interactive message logic, buttons, and delivery events.

If you’re into Rust, WhatsApp bots, or just want to see Rust do something a bit unexpected, check out the repo here:
:backhand_index_pointing_right: GitHub - veecore/whatsapp-business-rs: Rust SDK for the WhatsApp Business API — bulk messaging, batching, and multi-tenant support.

Happy to answer questions about the crate, game flow, or how the WhatsApp Business API fits in.