From b2da1b6a5ca6909c0f4ae45b263db8dcd0b7a81a Mon Sep 17 00:00:00 2001 From: jdmedlock Date: Tue, 26 Mar 2019 21:35:04 -0500 Subject: [PATCH] Feature: Add Battle Bot app specification Add Battle Bot pp specification Resolves: N/a See also: N/a --- Projects/Battleship-Bot.md | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 Projects/Battleship-Bot.md diff --git a/Projects/Battleship-Bot.md b/Projects/Battleship-Bot.md new file mode 100644 index 00000000..a3c53149 --- /dev/null +++ b/Projects/Battleship-Bot.md @@ -0,0 +1,30 @@ +# Battleship Bot + +**Tier:** 3-Advanced + +Battleship Bot is takes the [Battleship Game Engine](./Battleship-Game-Engine.md) +to the next level. This challenge uses your Battleship Game Engine to create a +presentation layer using Discord's bot API to allow you to play the game +via a Discord chat. + +## User Stories + +- [ ] User can start a game by entering `bb start` into the chat +- [ ] User can target a cell by enteering `bb shoot r,c` into the chat window, where `r` and `c` are the row and column coordinates of the cell to be targeted. +- [ ] User can see the game board showing hits and misses displayed by the bot after each shot is taken +- [ ] User can see an congratulations message after the shot that sinks the last remaining ship. + +## Bonus features + +- [ ] User can display game rules by entering `bb help` into the chat window. +- [ ] User can see a card containing a graphical representation of the hits and misses rather than a simple 2D table of characters. + +## Useful links and resources + +- [Battleship Game Engine](./Battleship-Game-Engine.md) +- [How to Create a Discord Bot Under 15 Minutes](https://medium.freecodecamp.org/how-to-create-a-discord-bot-under-15-minutes-fb2fd0083844) +- [Discord Developer Portal](https://discordapp.com/developers/docs/intro) + +## Example projects + +- [Gamebot(Battleship)](https://repl.it/talk/challenge/GameBot-Battleship/8813)