Wordsmith

Wordsmith

Tags
Coding
Group
Personal Projects

Coding

May 2021

This was a weekend coding project I came up with after discovering (and becoming briefly addicted to) a game called BombParty. It had been a little while since I had done any programming, so I really enjoyed learning some new tricks in Python and browser automation via Selenium.

The Problem

I really came to enjoy the game BombParty but was frustrated by the inability to practice the game solo. Relying on public rooms to play meant that I often had to wait a few minutes between each turn and wasn’t always being challenged at the right level to improve.

So, I set out to create an unbeatable bot that would host a private game for me to join.

During the process, I was eager to try out new skills in Python and added features to further humanise the bot, with the ultimate goal of releasing it into a public room to compete against real players.

Features

  • Humanised vocabulary: WordSmith tends to choose more frequently-used words
  • FatFingers: WordSmith will sometimes make typos and, if given enough time, correct them
  • Variable typing speed: WordSmith will type at a pace between 100-120 wpm
  • Help: When another player types ‘IDK’, Wordsmith will send a word suggestion in chat
image