Giter VIP home page Giter VIP logo

cryptid-bot's Introduction

Cryptid Bot

Cryptid Bot is a bot that can be used to play the deduction based board game Cryptid against other human players while receiving input about updates of the game from other players. Learn more about the game here: https://boardgamegeek.com/boardgame/246784/cryptid

Installing

Download latest version of Python 3: https://www.python.org/downloads/ Run CMD and input command pip3 install -r requirements.txt

Usage

The bot plays alongside human players on a set up game board by receiving input about game events and updating the players with its actions on its turn.

Setting up

  • Start the main program with python runner.py
  • Input the order of game pieces in column major order
  • Input the locations of the structures

Gameplay

  • Enter locations of game events and follow the instructions for each player's turn
  • The bot will say the location of its turn

Game Storage

  • Records of the user inputs to a game will automatically be stored in lastGameWrite.txt as the program is run
  • After the game, a copy of this will be stored in the 'Game Records' directory
  • At the beginning of the game, user will be given the option to load the previous game which will load the contents of lastGameWrite.txt

Loading a Previous Game

  • If you are loading the last run game, your contents should be in lastGameWrite.txt and you are ready to go
  • Otherwise copy the file contents of the game to load into lastGameWrite before running the program
  • Run the game and select the proper option

Example

Below is an example game playthrough demonstrating usage of the bot.

Game Details

The demo below is a 4-player game played in normal mode. The players are:

  • Bot (Teal)
  • Jake (Orange)
  • Amy (Purple)
  • Charles (Red)

Program Runthrough Full Board Demo

Video links:

Below are links to the video demos:

Contributing:

If you have a change or improvement you'd like to see, please open an issue detailing the behavior and we can proceed from there.

cryptid-bot's People

Contributors

cj1067 avatar

Stargazers

Andrew Boyley avatar Chanida-B avatar  avatar pyrrhull avatar Anthony Stahura avatar

Watchers

Jason Schoeters avatar  avatar

cryptid-bot's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.