You are browsing as a guest. Sign up (or log in) to start making projects!

Human Vs Computer : Geussing Duel

  • 1 Devlogs
  • 1 Total hours

A simple number guessing game, but with a twist! You're not just guessing a number, you're going head to head against a computer. Fewer guesses wins. Can you outsmart an algorithm?

Ship #1

Built a terminal number guessing game where you go head to head against a computer. You both guess each other’s numbers and whoever does it in fewer tries wins. The computer uses binary search so it finds any number between 1-100 in 7 guesses max good luck beating it.

The trickiest part was getting the binary search logic right and setting up GitHub Actions to build binaries for Windows, Linux, and Mac automatically on every release.

To test it, download the binary for your OS from the releases page and run it. No Python needed.

  • 1 devlog
  • 1h
  • 1.47x multiplier
  • 2 Stardust
Try project → See source code →
Open comments for this post

1h 8m 31s logged

Devlog #1


Built a terminal number guessing game in Python where you race against a computer. You guess its number, it guesses yours, fewest tries wins. The computer uses binary search so it finds any number between 1-100 in 7 guesses max.

Ran into an infinite loop bug early on, fixed the git email privacy block, fought with GitHub Actions for cross-platform builds. Got it shipped to GitHub with a workflow for Windows, Linux, and Mac binaries. Mac build is still being annoying.

0
0
7

Delete project?

Are you sure you want to permanently delete this project? This action cannot be undone.

All devlogs, followers, and associated data will be removed.

Followers

Loading…