Company
Date Published
Author
Lesley Cordero
Word count
1750
Language
English
Hacker News points
None

Summary

This tutorial guides the reader in building a Slack bot game using Python. The author draws inspiration from a Facebook group called "DogSpotting," where users share pictures of dogs they see, and creates a similar game for a college student organization. The game involves posting pictures and keeping track of points for each player, with the top scorer being announced at the end. The tutorial covers setting up a Python environment, installing necessary packages, creating a Slack app, and implementing the game logic using a class-based approach. The reader is then guided through connecting the game to Slack's API, parsing incoming messages, and deploying the bot to run in their local environment. The author concludes by encouraging readers to add features to their bot and share their experiences.